[openssl-dev] [openssl.org #4008] Building statically OpenSSL 1.0.1p with MSVC2015 fails

Jan Ehrhardt phpdev at ehrhardt.nl
Sat Aug 15 20:50:07 UTC 2015


stathis via RT in gmane.comp.encryption.openssl.devel (Sat, 15 Aug 2015
14:56:13 +0000):
>     link /nologo /subsystem:console /opt:ref /debug /out:out32\constant_time_test.exe 
>@C:\Users\admin\AppData\Local\Temp\nm1C3B.tmp
>constant_time_test.obj : error LNK2019: unresolved external symbol __iob_func referenced in function 
>main
>out32\constant_time_test.exe : fatal error LNK1120: 1 unresolved externals
>NMAKE : fatal error U1077: 'D:\dev\vs2015\VC\BIN\amd64\link.EXE' : return code '0x460'
>Stop.

https://github.com/openssl/openssl/blob/OpenSSL_1_0_1-stable/e_os.h#L318
should be equal to
https://github.com/openssl/openssl/blob/master/e_os.h#L272
to make OpenSSL 1.0.1 compile with VS2015 aka VC14.

Jan



More information about the openssl-dev mailing list