Dear, I previously wrote:
> Building openssl-0.9.7-beta3 on Win32 (MSVC+NASM), I get the following > unresolved external while linking SSLEAY32.DLL : > <...> > link /nologo /subsystem:console /machine:I386 /opt:ref /dll > /out:out32dll\ssleay32.dll /def:ms/SSLEAY32.def > @C:\DOCUME~1\Olivier\LOCALS~1\Temp\nmb04036. > > Creating library out32dll\ssleay32.lib and object out32dll\ssleay32.exp > s3_clnt.obj : error LNK2001: unresolved external symbol _OpenSSLDie > ssl_sess.obj : error LNK2001: unresolved external symbol _OpenSSLDie > ssl_asn1.obj : error LNK2001: unresolved external symbol _OpenSSLDie > s2_srvr.obj : error LNK2001: unresolved external symbol _OpenSSLDie > s2_clnt.obj : error LNK2001: unresolved external symbol _OpenSSLDie > s2_lib.obj : error LNK2001: unresolved external symbol _OpenSSLDie > s3_srvr.obj : error LNK2001: unresolved external symbol _OpenSSLDie > out32dll\ssleay32.dll : fatal error LNK1120: 1 unresolved externals > NMAKE : fatal error U1077: 'link' : return code '0x460' > Stop. I fixed this by updating the following (near the end of ms\ntdll.mak) : $(O_SSL): $(SSLOBJ) $(LINK) $(MLFLAGS) /out:$(O_SSL) /def:ms/SSLEAY32.def @<< $(SHLIB_EX_OBJ) $(SSLOBJ) $(CRYPTOOBJ) $(L_CRYPTO) wsock32.lib gdi32.lib advapi32.lib << ^^^^^^^^^^^^ I added the $(CRYPTOOBJ) above (see ^^^^). This single fix allowed the build to succeed. And the ms\test all pass. I would appreciate whoever is in charge of the win32 build maintenance to double-check this for me and update the build procedure before next beta or release. Thank you very much, -- Olivier Mascia <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]