Buildning OpenSSL 0.9.6b on Windows 2000 with VC++ 6.0 SP5

Trying to build a libeay32.dll with some ciphersuites excluded (i.e. like
NO_DSA) fails with the following error:


cl /Fotmp32dll_MIN_DLL_MD\c_zlib.obj  -Iinc32_MIN_DLL_MD
-Itmp32dll_MIN_DLL_MD /MD /W3 /WX /G5 /Ox /O2
 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DNO_IDEA
-DNO_RC5 -DNO_MD2 -DNO_MD4 -DNO_MDC2 -DNO_BF -DNO_CAST -DNO_DSA -DNO_DH /GD
-D_WINDLL -D_DLL  -c .\crypto\comp\c_zlib.c
c_zlib.c
        link /nologo /subsystem:console /machine:I386 /opt:ref /dll
/out:out32dll_MIN_DLL_MD\libeay32.dll /def
:ms/LIBEAY32.def @C:\DOCUME~1\z5khe\LOCALS~1\Temp\nma01480.
LIBEAY32.def : error LNK2001: unresolved external symbol PEM_read_DSA_PUBKEY
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_read_bio_DSA_PUBKEY
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_DSA_PUBKEY
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_bio_DSA_PUBKEY
out32dll_MIN_DLL_MD\libeay32.lib : fatal error LNK1120: 4 unresolved
externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.


Apparently the DSA symbols are included in the libeay32.def file, which they
shouldn't be when NO_DSA is used.
The other NO_xxx defines seems to work fine.


Med venlig hilsen / Best regards

Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to