Re: Windows build fail of openssl-SNAP-20061114
On 2006.11.15 at 15:47:40 +1000, Simon McMahon wrote:
> Using MSVC++ 6.0
> I followed all the instructions in install.w32 including:[color=green]
> > perl util\mkdef.pl crypto ssl update[/color]
> to get the "things not having numbers assigned" error to go away. Then:[color=green]
> > ms\do_ms[/color]
> worked ok. Then:[color=green]
> > nmake -f ms\ntdll.mak[/color]
> built the .c files but failed on the link:
> rc /fo"tmp32dll\libeay32.res" /d CRYPTO ms\version32.rc
> link /nologo /subsystem:console /opt:ref /dll
> /def:ms/LIBEAY32.def @C:\DOCUME~1\simonm\LOCALS~1\Temp\nma02892.
> LIBEAY32.def : error LNK2001: unresolved external symbol
> out32dll\libeay32.lib : fatal error LNK1120: 1 unresolved externals
> LINK : fatal error LNK1141: failure during build of exports file
> NMAKE : fatal error U1077: 'link' : return code '0x475'
> I went back to openssl-0.9.8d and it built OK for me.
> Any suggestions?[/color]
Manually edit libeay.num file after running
mkdef.pl crypto ssl update and just remove line containing
It is not a function, it is a macro, but for some reason I've not found
time to investigate, mkdef consider it a function.
It is not a problem for those who wish just build OpenSSL. It is problem
for people who wish to add new functions and make mkdef.pl see them.
Really, someone who have deep understanding of mkdef.pl work should
check header files, find out what's wrong with IMPLEMENT_ASN1_SET_OF
macro - why mkdef consider it a function, but handles other such macros
(there are lot of them) appropriately, and fix either header or mkdef.pl
> OpenSSL Project [url]http://www.openssl.org[/url]
> Development Mailing List [email]email@example.com[/email]
> Automated List Manager [email]firstname.lastname@example.org[/email]
OpenSSL Project [url]http://www.openssl.org[/url]
Development Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]