[openssl-dev] OpenSSL 1.0.2f build issue - unresolved external symbol

Atul Thosar atulthosar at gmail.com
Sun Feb 28 18:45:56 UTC 2016


Hi All,
I am building OpenSSL v1.0.2f for Win32 platform, but compilation failed w/
following errors. I googled a bit, but could not locate the exact
cause. Appreciate if anyone could help. Thanks in Advance.

rc /fo"tmp32dll\libeay32.res" /d CRYPTO ms\version32.rc
link /nologo /subsystem:console /opt:ref /debug /dll
/out:out32dll\libeay32.dll /def:ms/LIBEAY32.def
@C:\Users\athosar\AppData\Local\Temp\nm43EB.tmp
Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp
cryptlib.obj : error LNK2001: unresolved external symbol _OPENSSL_ia32cap_P
cryptlib.obj : error LNK2019: unresolved external symbol
_OPENSSL_ia32_cpuid referenced in function _OPENSSL_cpuid_setup
md5_dgst.obj : error LNK2019: unresolved external symbol
_md5_block_asm_data_order referenced in function _MD5_Update
sha1dgst.obj : error LNK2019: unresolved external symbol
_sha1_block_data_order referenced in function _SHA1_Update
sha256.obj : error LNK2019: unresolved external symbol
_sha256_block_data_order referenced in function _SHA256_Update
sha512.obj : error LNK2019: unresolved external symbol
_sha512_block_data_order referenced in function _SHA512_Final

out32dll\libeay32.dll : fatal error LNK1120: 6 unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
8\VC\BIN\link.EXE"' : return code '0x460'
Stop.


Build machine configurations are -

OS: Windows 7, 64 bit
Compiler: Visual Studio 2005
Active Perl Version: v5.16.3

Initial commands given to configure OpenSSL are -

perl Configure VC-WIN32 no-asm --prefix=<Path to bin directory>
ms\do_ms
nmake -f ms\ntdll.mak


--
​BR,
Atul Thosar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160229/16da2686/attachment-0001.html>


More information about the openssl-dev mailing list