Hello,
I tried to build openssl-0.9.3a without the RSA, RC2, RC4, RC5 and IDEA
algorithm. I ran into problems with unresolved symbols in the link
phase.
This is what I did:
perl Configure VC-WIN32
perl util\mk1mf.pl dll no-asm no-rsa no-rc2 no-rc4 no-rc5 no-idea
VC-WIN32 >ms\ntdll.mak
perl util\mkdef.pl 32 libeay no-rsa no-rc2 no-rc4 no-rc5 no-idea >
ms\libeay32.def
perl util\mkdef.pl 32 ssleay no-rsa no-rc2 no-rc4 no-rc5 no-idea >
ms\ssleay32.def
nmake -f ms\ntdll.mak
And this is what I got:
link /nologo /subsystem:console /machine:I386 /opt:ref /dll
/out:out32dll\libeay32.dll /def: ms/LIBEAY32.def @C:\TEMP\nma00518.
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_OpenFinal
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_OpenInit
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_SealFinal
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_SealInit
LIBEAY32.def : error LNK2001: unresolved external symbol PEM_SealFinal
LIBEAY32.def : error LNK2001: unresolved external symbol PEM_SealInit
LIBEAY32.def : error LNK2001: unresolved external symbol PEM_SealUpdate
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_read_RSAPrivateKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_read_RSAPublicKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_read_bio_RSAPrivateKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_read_bio_RSAPublicKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_RSAPrivateKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_RSAPublicKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_bio_RSAPrivateKey
LIBEAY32.def : error LNK2001: unresolved external symbol
PEM_write_bio_RSAPublicKey
LIBEAY32.def : error LNK2001: unresolved external symbol
RSAPrivateKey_asn1_meth
LIBEAY32.def : error LNK2001: unresolved external symbol
RSAPrivateKey_dup
LIBEAY32.def : error LNK2001: unresolved external symbol
RSAPublicKey_dup
LIBEAY32.def : error LNK2001: unresolved external symbol
d2i_RSAPrivateKey_bio
LIBEAY32.def : error LNK2001: unresolved external symbol
d2i_RSAPrivateKey_fp
LIBEAY32.def : error LNK2001: unresolved external symbol
d2i_RSAPublicKey_bio
LIBEAY32.def : error LNK2001: unresolved external symbol
d2i_RSAPublicKey_fp
LIBEAY32.def : error LNK2001: unresolved external symbol
i2d_RSAPrivateKey_bio
LIBEAY32.def : error LNK2001: unresolved external symbol
i2d_RSAPrivateKey_fp
LIBEAY32.def : error LNK2001: unresolved external symbol
i2d_RSAPublicKey_bio
LIBEAY32.def : error LNK2001: unresolved external symbol
i2d_RSAPublicKey_fp
out32dll\libeay32.lib : fatal error LNK1120: 26 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x25'
Stop.
bash-2.02$
Have I missed something, or is this a bug in the build machinery?
--
Roger
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]