[openssl.org #1112] 0.9.8 beta 5 build issue on windows

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[openssl.org #1112] 0.9.8 beta 5 build issue on windows

Rich Salz via RT

The following build issue exists:

        cl /Fotmp32dll\c_zlib.obj  -Iinc32 -Itmp32dll -DZLIB_SHARED
-DZLIB -DKRB5_MIT  /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo
-I/usr/kerberos/include -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c
crypto\comp\c_zlib.c(76) : error C2220: warning treated as error - no
object file generated
crypto\comp\c_zlib.c(76) : warning C4005: 'ZLIB_SHARED' : macro redefinition
        command-line arguments :  see previous definition of 'ZLIB_SHARED'

This can be corrected by wrapping the #define ZLIB_SHARED in an #ifndef
... #endif block.

OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]