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 Please note the 3 -D for NO_EC are in the compiler options. -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Wednesday, June 11, 2014 7:47 AM To: openssl-users@openssl.org Subject: Re: error building openssl-0.9.8za with FIPS On Wed, Jun 11, 2014, Saurabh Pandya wrote: > Adding further I already tried below to build openssl, I already built > fips libs with /tmp/_install path > > /config fips --prefix=/tmp/_install > --with-fipslibdir=/tmp/_install/lib > -DOPENSSL_NO_EC -DOPENSSL_NO_ECDSA -DOPENSSL_NO_ECDH > > It also gives below build error > ../../include/openssl/ec.h:78:2: error: #error EC is disabled. > make[2]: *** [ec_lib.o] Error 1 > I just tried it with no-ec here and it worked fine that is: ./config fips no-ec That's on Ubuntu 12.4.03, not tried it on Windows. 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 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org