[openssl-users] OpenSSL 1.0.2n Build Failed on Windows 32bit Platform

Wang wangqun at alumni.nus.edu.sg
Tue Mar 13 09:13:56 UTC 2018


Hello,

When I build OpenSSL1.0.2n, I hit the following error on Windows 32bit
platform.

     [exec] o_init.c
     [exec] .\crypto\o_init.c(77) : error C2220: warning treated as error -
no 'object' file generated
     [exec] .\crypto\o_init.c(77) : warning C4013:
'FIPS_crypto_set_id_callback' undefined; assuming extern returning int
     [exec] NMAKE : fatal error U1077: '"D:\engapps\Microsoft Visual Studio
8\VC
\BIN\cl.EXE"' : return code '0x2'
     [exec] Stop.
     [exec] Result: 2

This failure only occurs on Windows 32bit. Building OpenSSL 1.0.2n on
Windows 64bit, Solaris 32/64bit, Linux 32/64bit and hpia 32/64bit is OK. In
addition, building OpenSSL1.0.2k on Windows 32bit is OK too.

I saw a link
(http://openssl.6102.n7.nabble.com/openssl-org-4685-PATCH-Add-missing-prototype-for-FIPS-callback-tt68511.html)
which suggested a possible fix to this issue, but it brings another build
failure below.
     [exec] o_init.c
     [exec] .\crypto\o_init.c(78) : error C2143: syntax error : missing ';'
befo
re 'type'
     [exec] .\crypto\o_init.c(79) : warning C4013:
'FIPS_crypto_set_id_callback'  undefined; assuming extern returning int
     [exec] NMAKE : fatal error U1077: '"D:\engapps\Microsoft Visual Studio
8\VC\BIN\cl.EXE"' : return code '0x2'
     [exec] Stop.
     [exec] Result: 2

Anyone knows how to fix this issue? Any help is appreciated.

Thank you in advance,
Wang





--
Sent from: http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html


More information about the openssl-users mailing list