[openssl-dev] configure results in conflicting CRT switches for win DLL

Michel michel.sales at free.fr
Thu Mar 17 09:56:41 UTC 2016


Hello again Richard,

And thanks for your help and answers.
but as I said, I am not lucky at all :-(

Hope I am not again missing something, I would not be particularly proud to
win the trophy of the dumbest user on this list ;-) 

Doing :
PERL Configure no-rc2 no-rc5 no-md2 no-md4 no-ssl3 no-comp no-hw
no-heartbeats no-deprecated VC-WIN32 shared --prefix=c:\OpenSSL_DLL
nmake

I get :
perl util\mkdef.pl "crypto" 32 > libcrypto-1_1.def
perl -i.tmp -pe "s|^LIBRARY\s+crypto32|LIBRARY libcrypto-1_1|;"
libcrypto-1_1.def
DEL libcrypto-1_1.def.tmp
link /nologo /debug /dll  /implib:libcrypto.lib /out:libcrypto-1_1.dll
/def:libcrypto-1_1.def @C:\Users\Papou\AppData\Local\Temp\nm4B1D.tmp
libcrypto-1_1.def : error LNK2001: unresolved external symbol COMP_CTX_free
libcrypto-1_1.def : error LNK2001: unresolved external symbol
COMP_CTX_get_method
libcrypto-1_1.def : error LNK2001: unresolved external symbol
COMP_CTX_get_type
libcrypto-1_1.def : error LNK2001: unresolved external symbol COMP_CTX_new
libcrypto-1_1.def : error LNK2001: unresolved external symbol
COMP_compress_block
libcrypto-1_1.def : error LNK2001: unresolved external symbol
COMP_expand_block
libcrypto-1_1.def : error LNK2001: unresolved external symbol COMP_get_name
libcrypto-1_1.def : error LNK2001: unresolved external symbol COMP_get_type
libcrypto-1_1.def : error LNK2001: unresolved external symbol COMP_zlib
libcrypto-1_1.def : error LNK2001: unresolved external symbol
COMP_zlib_cleanup
libcrypto-1_1.def : error LNK2001: unresolved external symbol
ERR_load_COMP_strings
libcrypto.lib : fatal error LNK1120: 11 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\BIN\link.EXE"' : return code '0x460'
Stop. 

And removing no-comp, I get (after nmake clean) :

link /nologo /debug /dll /out:engines\padlock.dll
/def:C:\Users\Papou\AppData\Local\Temp\nm5FB9.tmp
@C:\Users\Papou\AppData\Local\Temp\nm5FBA.tmp
nm5FB9.tmp : error LNK2001: unresolved external symbol bind_engine
nm5FB9.tmp : error LNK2001: unresolved external symbol v_check
engines\padlock.lib : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
12.0
\VC\BIN\link.EXE"' : return code '0x460'
Stop.





More information about the openssl-dev mailing list