[openssl-users] Errors when linking test project with OpenSSl Libraries using Visual Studio 2015

Vladimir_Kharam4802 vlad.kharam48 at gmail.com
Sun Aug 2 16:03:53 UTC 2015


We Have the problems when linking test project with OpenSSl Libraries using
Visual Studio 2015 (RTM). 

OpenSSL Version is "1.0.1j 15 Oct 2014" 

The errors are following: 

------ Build started: Project: test, Configuration: Release Win32 ------ 

1>libeay32.lib(x86cpuid.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(des-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(rc4-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(aes-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(vpaes-x86.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(aesni-x86.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(cmll-x86.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(sha1-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(sha256-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(sha512-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(md5-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(bn-586.obj) : error LNK2026: module unsafe for SAFESEH image. 
1>libeay32.lib(co-586.obj) : error LNK2026: module unsafe for SAFESEH image. 
1>libeay32.lib(ghash-x86.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(x86-mont.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(bf-586.obj) : error LNK2026: module unsafe for SAFESEH image. 
1>libeay32.lib(cast-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(x86-gf2m.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(rmd-586.obj) : error LNK2026: module unsafe for SAFESEH
image. 
1>libeay32.lib(wp-mmx.obj) : error LNK2026: module unsafe for SAFESEH image. 

1>..\Win32\Bin\Release\test.exe : fatal error LNK1281: Unable to generate
SAFESEH image. 
  

The error can be resolved by disable (/SAFESEH:NO) in Link Option. 

If we are specifying "/SAFESEH:NO", our concern is that we may be ignoring
an issue here: 

https://msdn.microsoft.com/en-us/library/9a89h429.aspx
  

Thank in advance for any suggestions. 

Best Regards, 

Vladimir Kharam 






--
View this message in context: http://openssl.6102.n7.nabble.com/Errors-when-linking-test-project-with-OpenSSl-Libraries-using-Visual-Studio-2015-tp59507.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.


More information about the openssl-users mailing list