Hi all,
I'm having a problem getting openssl to build on Win32. Here are the steps
I've gone through:
> perl Configure VC-WIN32
> ms\do_masm
Changes to ms\ntdll.mak, add these pieces
CFLAG= /I"c:\program files\microsoft visual studio\vc98\include"
LFLAGS= /LIBPATH:"c:\program files\microsoft visual studio\vc98\lib"
MKLIB= /LIBPATH:"d:\masm32\lib"
MLFLAGS= /LIBPATH:"c:\program files\microsoft visual studio\vc98\lib"
I had to make the above modifications because the scripts were having
trouble finding things like wsock32.lib and advapi32.lib
> nmake -f ms\ntdll.mak
This builds just fine and all tests are passed.
So I blew away the build directory and started from scratch, changing the
first line above to
> perl Configure no-rc5 no-idea VC-WIN32
and now the build crashes...
cl /Fotmp32dll\c_rle.obj -Iinc32 -Itmp32dll /I"c:\program
files\microsoft visual studio\vc9
8\include" /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy
/nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIA
N -DDSO_WIN32 /Fdout32dll -DNO_IDEA -DNO_RC5 /GD -D_WINDLL -D_DLL -c
.\crypto\comp\c_rle.c
c_rle.c
cl /Fotmp32dll\c_zlib.obj -Iinc32 -Itmp32dll /I"c:\program
files\microsoft visual studio\vc
98\include" /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy
/nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI
AN -DDSO_WIN32 /Fdout32dll -DNO_IDEA -DNO_RC5 /GD -D_WINDLL -D_DLL -c
.\crypto\comp\c_zlib.c
c_zlib.c
link /LIBPATH:"c:\program files\microsoft visual studio\vc98\lib"
/nologo /subsystem:console
/machine:I386 /opt:ref /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\TEMP\nma01243.
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_idea_cbc
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_idea_cfb
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_idea_ecb
LIBEAY32.def : error LNK2001: unresolved external symbol EVP_idea_ofb
LIBEAY32.def : error LNK2001: unresolved external symbol
EVP_rc5_32_12_16_cbc
LIBEAY32.def : error LNK2001: unresolved external symbol
EVP_rc5_32_12_16_cfb
LIBEAY32.def : error LNK2001: unresolved external symbol
EVP_rc5_32_12_16_ecb
LIBEAY32.def : error LNK2001: unresolved external symbol
EVP_rc5_32_12_16_ofb
out32dll\libeay32.lib : fatal error LNK1120: 8 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.
I've poked around in the make files, but I can't get it to stop referencing
these symbols. Is it safe to just open ms/LIBEAY32.def and remove these
references? Any other ideas?
Thanks
Jeff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]