[openssl-users] Openssl Build Error- module unsafe for SAFESEH image/Unable to generate SAFESEH image

sakdev best.sakthi3 at gmail.com
Thu Oct 18 12:34:38 UTC 2018


Thanks for reply Michael. 

I am sure i gave 32-bit build only. "BuildWinLibs.bat vs2015 x32d clean"
This is the comment i gave for build. Here "x32r" means 32-bit release
build.

Here is the error code(text).


        rc /fo"tmp32dll/MSVC14.0\libeay32.res" /d CRYPTO ms\version32.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.

        link /nologo /subsystem:console /opt:ref /safeseh /debug /dll
/out:out32
dll/MSVC14.0\libeay32.dll /def:ms/LIBEAY32.def
@C:\Users\SAKTHI~1\AppData\Local\
Temp\nm973D.tmp
x86cpuid.obj : error LNK2026: module unsafe for SAFESEH image.
md5-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha1-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha256-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha512-586.obj : error LNK2026: module unsafe for SAFESEH image.
rmd-586.obj : error LNK2026: module unsafe for SAFESEH image.
bf-586.obj : error LNK2026: module unsafe for SAFESEH image.
cast-586.obj : error LNK2026: module unsafe for SAFESEH image.
aes-586.obj : error LNK2026: module unsafe for SAFESEH image.
vpaes-x86.obj : error LNK2026: module unsafe for SAFESEH image.
aesni-x86.obj : error LNK2026: module unsafe for SAFESEH image.
cmll-x86.obj : error LNK2026: module unsafe for SAFESEH image.
ghash-x86.obj : error LNK2026: module unsafe for SAFESEH image.
bn-586.obj : error LNK2026: module unsafe for SAFESEH image.
co-586.obj : error LNK2026: module unsafe for SAFESEH image.
x86-mont.obj : error LNK2026: module unsafe for SAFESEH image.
x86-gf2m.obj : error LNK2026: module unsafe for SAFESEH image.
wp-mmx.obj : error LNK2026: module unsafe for SAFESEH image.
   Creating library out32dll/MSVC14.0\libeay32.lib and object
out32dll/MSVC14.0\
libeay32.exp
out32dll/MSVC14.0\libeay32.dll : fatal error LNK1281: Unable to generate
SAFESEH
 image.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0
\VC\BIN\link.EXE"' : return code '0x501'
Stop.

"nmake -f .\ms\ntdll_WIN32_REL.mak install"

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        perl .\util\copy-if-different.pl ".\crypto\opensslconf.h"
"inc32\openssl
\opensslconf.h"
NOT copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
        link /nologo /subsystem:console /opt:ref /safeseh /debug /dll
/out:out32
dll/MSVC14.0\libeay32.dll /def:ms/LIBEAY32.def
@C:\Users\SAKTHI~1\AppData\Local\
Temp\nmA0DE.tmp
x86cpuid.obj : error LNK2026: module unsafe for SAFESEH image.
md5-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha1-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha256-586.obj : error LNK2026: module unsafe for SAFESEH image.
sha512-586.obj : error LNK2026: module unsafe for SAFESEH image.
rmd-586.obj : error LNK2026: module unsafe for SAFESEH image.
bf-586.obj : error LNK2026: module unsafe for SAFESEH image.
cast-586.obj : error LNK2026: module unsafe for SAFESEH image.
aes-586.obj : error LNK2026: module unsafe for SAFESEH image.
vpaes-x86.obj : error LNK2026: module unsafe for SAFESEH image.
aesni-x86.obj : error LNK2026: module unsafe for SAFESEH image.
cmll-x86.obj : error LNK2026: module unsafe for SAFESEH image.
ghash-x86.obj : error LNK2026: module unsafe for SAFESEH image.
bn-586.obj : error LNK2026: module unsafe for SAFESEH image.
co-586.obj : error LNK2026: module unsafe for SAFESEH image.
x86-mont.obj : error LNK2026: module unsafe for SAFESEH image.
x86-gf2m.obj : error LNK2026: module unsafe for SAFESEH image.
wp-mmx.obj : error LNK2026: module unsafe for SAFESEH image.
   Creating library out32dll/MSVC14.0\libeay32.lib and object
out32dll/MSVC14.0\
libeay32.exp
out32dll/MSVC14.0\libeay32.dll : fatal error LNK1281: Unable to generate
SAFESEH
 image.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0
\VC\BIN\link.EXE"' : return code '0x501'
Stop.


"COMPLETED."



Regards,
Sakthi.




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


More information about the openssl-users mailing list