未明确引用' _chkstk'在代码块下使用带有C的openssl库

时间:2017-06-05 08:45:08

标签: c windows openssl mingw codeblocks

我已经下载了openssl_(x86)_static 1.0.1g二进制文件,在" MinGW \ lib"下复制了lib contenant。和包含" MinGW \ include"。

下的包含文件的openssl文件夹

当我尝试编译项目时,在Windows 7 64位下使用code :: blocks 16.01 32bits, 我有这个错误消息

||=== Build: Debug in SFI_SMI_Check (compiler: GNU GCC Compiler) ===|
C:\Program Files (x86)\CodeBlocks\MinGW\lib\libeay32.lib(tmp32\rand_win.obj):(.text[_readtimer]+0x6)||undefined reference to `_chkstk'|
C:\Program Files (x86)\CodeBlocks\MinGW\lib\libeay32.lib(tmp32\rand_win.obj):(.text[_readtimer]+0x2f)||undefined reference to `_chkstk'|
C:\Program Files (x86)\CodeBlocks\MinGW\lib\libeay32.lib(tmp32\rand_win.obj):(.text[_readtimer]+0x4f)||undefined reference to `_chkstk'|
C:\Program Files (x86)\CodeBlocks\MinGW\lib\libeay32.lib(tmp32\rand_win.obj):(.text[_readscreen]+0xfffffebc)||undefined reference to `_chkstk'|
||error: ld returned 1 exit status|
||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

0 个答案:

没有答案