I meant to send this to the group last week and accidentally sent it only to Richard. It looks like all these problems still exist in the latest development snapshot so I figured I resend to the group in case it got lost.
The first error I see with the latest developement snapshot when compiling for Windows is: cl /Fotmp32.dbg\ech_ossl.obj -Iinc32 -Itmp32.dbg /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_KRB5 -c .\crypto\ecdh\ech_ossl.c ech_ossl.c .\crypto\ecdh\ech_ossl.c(176) : error C2220: warning treated as error - no object file generated .\crypto\ecdh\ech_ossl.c(176) : warning C4018: '!=' : signed/unsigned mismatch NMAKE : fatal error U1077: 'cl' : return code '0x2' I addressed that by casting the results from BN_bn2bin() to a size_t and then proceeded until I saw the following: cl /Fotmp32.dbg\eng_dyn.obj -Iinc32 -Itmp32.dbg /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_KRB5 -c .\crypto\engine\eng_dyn.c eng_dyn.c .\crypto\engine\eng_dyn.c(281) : error C2220: warning treated as error - no object file generated .\crypto\engine\eng_dyn.c(281) : warning C4028: formal parameter 5 different from declaration .\crypto\engine\eng_dyn.c(281) : warning C4024: 'ENGINE_set_ctrl_function' : different types for formal and actual parameter 2 NMAKE : fatal error U1077: 'cl' : return code '0x2' I solved this by changing the definition of "dynamic_ctrl" from: static int dynamic_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)()); to: static int dynamic_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void)); I then proceeded until I ran into: cl /Fotmp32.dbg\ectest.obj -Iinc32 -Itmp32.dbg /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_KRB5 -c .\crypto\ec\ectest.c ectest.c .\crypto\ec\ectest.c(193) : error C2220: warning treated as error - no object file generated .\crypto\ec\ectest.c(193) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(199) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(201) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(202) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(203) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(207) : warning C4098: 'prime_field_tests' : 'void' function returning a value .\crypto\ec\ectest.c(209) : warning C4098: 'prime_field_tests' : 'void' function returning a value and on and on and on because the macro "ABORT" does an "EXIT(1)". Since "ABORT" is only used inside of void functions, I simply commented the "EXIT(1)" out to get around this. I then proceeded until: cl /Fotmp32.dbg\evp_test.obj -Iinc32 -Itmp32.dbg /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_KRB5 -c .\crypto\evp\evp_test.c evp_test.c link /nologo /subsystem:console /machine:I386 /opt:ref /debug /out:out32.dbg\evp_test.exe @c:\temp\nme02284. libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_ubsec libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_sureware libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_nuron libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_chil libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_cswift libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_atalla libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_aep libeay32.lib(eng_all.obj) : error LNK2001: unresolved external symbol _ENGINE_load_4758cca out32.dbg\evp_test.exe : fatal error LNK1120: 8 unresolved externals NMAKE : fatal error U1077: 'link' : return code '0x460' I fixed this by defining "OPENSSL_NO_STATIC_ENGINE" inside of "ms\32all.bat" which I use when building windows. I then seemed in really good shape until finally I got: link /debug /nologo /subsystem:console /machine:I386 /opt:ref /debug /dll /out:out32dll.dbg\libeay32.dll /def:ms/LIBEAY32.def @c:\temp\nma01556. LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_4758cca LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_aep LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_atalla LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_chil LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_cswift LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_gmp LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_nuron LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_sureware LIBEAY32.def : error LNK2001: unresolved external symbol ENGINE_load_ubsec LIBEAY32.def : error LNK2001: unresolved external symbol STORE_Directory LIBEAY32.def : error LNK2001: unresolved external symbol STORE_File LIBEAY32.def : error LNK2001: unresolved external symbol STORE_ctrl LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_get_cleanup_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_get_initialise_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_get_modify_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_set_cleanup_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_set_initialise_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_method_set_modify_function LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_arbitrary LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_certificate LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_crl LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_number LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_private_key LIBEAY32.def : error LNK2001: unresolved external symbol STORE_modify_public_key out32dll.dbg\libeay32.lib : fatal error LNK1120: 24 unresolved externals LINK : fatal error LNK1141: failure during build of exports file NMAKE : fatal error U1077: 'link' : return code '0x475' so I finally quit. (I did have Windows static libraries at this point which pass the test suite.) The Windows build obviously isn't quite ready for prime time. :-) BTW, I also see the warning: Warning: STORE_ATTR_INFO_in_range does not have a number assigned when configuring the make files. Verdon >>> Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> 6/11/2003 4:45:24 PM >>> In message <[EMAIL PROTECTED]> on Wed, 11 Jun 2003 10:43:03 -0600, "Verdon Walker" <[EMAIL PROTECTED]> said: VWalker> I have also applied the patch to the latest 0.9.8 development VWalker> snapshot. It applies (with the exception of changes to VWalker> "hw_aep.c" which does not exist in the 0.9.8 tree), crypto/engine/hw_aep.c has been moved and is called engines/e_aep.c in 0.9.8-dev. VWalker> but I have not been able to build and test 0.9.8 yet because VWalker> the underlying snapshot will not build for Windows even VWalker> without the patch applied. (I did fix the problem with the VWalker> "store.h" header file, but I still am not building.) Please send me a log and I'll see what I can do. -- Richard Levitte \ Tunnlandsvägen 3 \ [EMAIL PROTECTED] [EMAIL PROTECTED] \ S-168 36 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]