On Wed, Jun 11, 2014, Zhang, Ping (Unisphere) wrote:

> Added the command line used and the error.
> 
> perl Configure VC-WIN32 no-asm fips no-ec 
> --with-fipslibdir=C:\openssl_build\openssl-fips-1.2.4\out32dll
> 
> cl /Fotmp32dll\fips_premain.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 /WX 
> /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN 
> -DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE 
> -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED 
> -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE 
> -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_KRB5 -DOPENSSL_NO_EC -DOPENSSL_NO_ECDSA 
> -DOPENSSL_NO_ECDH -DOPENSSL_FIPS -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -c 
> C:\openssl_build\openssl-fips-1.2.4\out32dll/fips_premain.c
> fips_premain.c
> link /nologo /subsystem:console /opt:ref /dll /fixed /map /base:0xFB00000 
> /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def 
> @C:\DOCUME~1\zhangp\LOCALS~1\Temp\1\nm8B4.tmp
> LIBEAY32.def : error LNK2001: unresolved external symbol BN_consttime_swap
> 

Workaroud for that is to delete the BN_consttime_swap line from libeay32.def.
It's better to just apply the correct patch for this issue:

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=0a9b8dd1b4cb15

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to