[prev in list] [next in list] [prev in thread] [next in thread]
List: openssl-users
Subject: Unresolved external symbol errors while building openssl-0.9.8za with FIPS 1.2
From: Pradeep AV <getpradeep.av () gmail ! com>
Date: 2014-06-30 18:53:45
Message-ID: CAOZ-MEas8MEjEZ8Y7pE1T80EhUV4F+pZvtF4c7PEMFD1ZtGYvA () mail ! gmail ! com
[Download RAW message or body]
Hi,
I am trying to compile a FIPS enabled openssl. I was able to build 64 bit
openssl dll successfully .
However when trying to build a 32 bit openssl dll with fips . I am facing
an issue .
Below are the commands used on Visual Studio 32 bit command line . OS :
windows 7
1) perl Configure VC-WIN64A no-asm fips
--with-fipslibdir="C:\Pradeep\Builds\openssl\1_2\out32dll"
Here C:\Pradeep\Builds\openssl\1_2\out32dll contains fipscanister.lib
2) ms\do_ms.bat
3) nmake -f ms\ntdll.mak
I get the following errors
Building OpenSSL
perl util/copy.pl ".\crypto\buildinf.h" "tmp32dll\buildinf.h"
Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
perl util/copy.pl ".\crypto\opensslconf.h"
"inc32\openssl\opensslconf.h"
Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
link /nologo /subsystem:console /opt:ref
/out:out32dll\fips_standalone_sha1.exe
@C:\Users\prviveka\AppData\Local\Temp\nm22DD.tmp
fips_standalone_sha1.obj : error LNK2019: unresolved external symbol
_SHA1_Final referenced in function _hmac_init
fips_standalone_sha1.obj : error LNK2019: unresolved external symbol
_SHA1_Update referenced in function _hmac_init
fips_standalone_sha1.obj : error LNK2019: unresolved external symbol
_SHA1_Init referenced in function _hmac_init
out32dll\fips_standalone_sha1.exe : fatal error LNK1120: 3 unresolved
externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
8\VC\BIN\link.EXE"' : return code '0x460'
Stop.
Please let me know where am I going wrong ?
Regards,
Pradeep
[Attachment #3 (text/html)]
<div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to compile a FIPS \
enabled openssl. I was able to build 64 bit openssl dll successfully \
.</div><div>However when trying to build a 32 bit openssl dll with fips . I am facing \
an issue .</div>
<div><br></div><div><br></div><div>Below are the commands used on Visual Studio 32 \
bit command line . OS : windows 7</div><div><br></div><div>1) perl Configure \
VC-WIN64A no-asm fips \
--with-fipslibdir="C:\Pradeep\Builds\openssl\1_2\out32dll"</div>
<div><br></div><div>Here C:\Pradeep\Builds\openssl\1_2\out32dll contains \
fipscanister.lib</div><div><br></div><div>2) ms\do_ms.bat</div><div><br></div><div>3) \
nmake -f ms\ntdll.mak</div><div><br></div><div>I get the following errors</div>
<div><br></div><div>Building OpenSSL</div><div> perl util/<a \
href="http://copy.pl">copy.pl</a> ".\crypto\buildinf.h" \
"tmp32dll\buildinf.h"</div><div>Copying: ./crypto/buildinf.h to \
tmp32dll/buildinf.h</div>
<div> perl util/<a href="http://copy.pl">copy.pl</a> \
".\crypto\opensslconf.h" \
"inc32\openssl\opensslconf.h"</div><div>Copying: ./crypto/opensslconf.h to \
inc32/openssl/opensslconf.h</div><div> link /nologo /subsystem:console \
/opt:ref /out:out32dll\fips_standalone_sha1.exe \
@C:\Users\prviveka\AppData\Local\Temp\nm22DD.tmp</div>
<div>fips_standalone_sha1.obj : error LNK2019: unresolved external symbol _SHA1_Final \
referenced in function _hmac_init</div><div>fips_standalone_sha1.obj : error LNK2019: \
unresolved external symbol _SHA1_Update referenced in function _hmac_init</div>
<div>fips_standalone_sha1.obj : error LNK2019: unresolved external symbol _SHA1_Init \
referenced in function _hmac_init</div><div>out32dll\fips_standalone_sha1.exe : fatal \
error LNK1120: 3 unresolved externals</div><div>NMAKE : fatal error U1077: \
'"C:\Program Files (x86)\Microsoft Visual Studio \
8\VC\BIN\link.EXE"' : return code '0x460'</div>
<div>Stop.</div><div><br></div><div>Please let me know where am I going wrong \
?</div><div><br></div><div>Regards,</div><div>Pradeep</div></div>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic