Re: 0.9.7-beta3 : build problem on Win32 (FIXED ?)

2002-08-04 Thread Olivier Mascia

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]



Re: 0.9.7-beta3 : build problem on Win32 (FIXED ?)

2002-08-04 Thread Jeffrey Altman


This has been properly fixed in the current snapshots by removing the
OpenSSLDie() function entirely from the distribution.

> 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,


 Jeffrey Altman * Sr.Software Designer Kermit 95 2.0 GUI available now!!!
 The Kermit Project @ Columbia University  SSH, Secure Telnet, Secure FTP, HTTP
 http://www.kermit-project.org/Secured with MIT Kerberos, SRP, and 
 [EMAIL PROTECTED]   OpenSSL.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]