On Wed October 1 2008, Alex Chen wrote: > I am updating OpenSSL from 0.9.7e to 0.9.8i. There are some new files > and some files are moved. Most noticeably, there is a new 'engines' > directory that seems to host > some files previously was under crypto/engine, or their equivalent. > > I first followed the instruction in INSTALL.WIN32 and run > > perl Configure VC-WIN32 > ms\do_ms > nmake -f ms\ntdll.mak > > > This seems to build fine. > But we use Visual Studio to do the official build, therefore I include > the same *.def files and the same C source files in Visual Studio to > build the library and I get the following errors: > > 1>------ Build started: Project: libcrypto, Configuration: Debug Win32 > ------ > 1>Linking... > 1>e_4758cca.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_4758cca.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_aep.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_aep.obj : error LNK2005: _bind_engine already defined in eng_padlock.obj > 1>e_atalla.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_atalla.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_chil.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_chil.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_cswift.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_cswift.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_gmp.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_gmp.obj : error LNK2005: _bind_engine already defined in eng_padlock.obj > 1>e_nuron.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_nuron.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_sureware.obj : error LNK2005: _v_check already defined in > eng_padlock.obj > 1>e_sureware.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>e_ubsec.obj : error LNK2005: _v_check already defined in eng_padlock.obj > 1>e_ubsec.obj : error LNK2005: _bind_engine already defined in > eng_padlock.obj > 1>libeay32.def : error LNK2001: unresolved external symbol > ENGINE_load_4758cca > 1>libeay32.def : error LNK2001: unresolved external symbol ENGINE_load_aep > 1>libeay32.def : error LNK2001: unresolved external symbol > ENGINE_load_atalla > 1>libeay32.def : error LNK2001: unresolved external symbol ENGINE_load_chil > 1>libeay32.def : error LNK2001: unresolved external symbol > ENGINE_load_cswift > 1>libeay32.def : error LNK2001: unresolved external symbol ENGINE_load_nuron > 1>libeay32.def : error LNK2001: unresolved external symbol > ENGINE_load_sureware > 1>libeay32.def : error LNK2001: unresolved external symbol ENGINE_load_ubsec > 1>C:\Projects\Mammoth\Shared\OpenSSL\0.9.8i\ms\Debug\libeay32.lib : > fatal error LNK1120: 8 unresolved externals > > I believe the LNK2001 errors are the result of the LNK2005 errors. But > I do not know the reason of the LNK2005. The ntdll.mk does build all > the files in 'engines' as well as eng_padlock. > > Can anyone shed some light? >
Not on the cause of the messages - but unless you are running on VIA C3 or C7 CPUs, you don't need the padlock engine (it is grown on the cpu silicon). Mike > Alex > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]