CentOS 6.02 64位操作系统中的OpenSSL构建错误

Nas*_*man 6 c++ linux openssl centos

我在CentOS 6.02 64位操作系统中构建openssl时遇到了一些问题.每当我尝试构建它时,我都面临以下错误: -

md5-x86_64.s:41: Error: 0xd76aa478 out range of signed 32bit displacement
md5-x86_64.s:50: Error: 0xe8c7b756 out range of signed 32bit displacement
md5-x86_64.s:68: Error: 0xc1bdceee out range of signed 32bit displacement
md5-x86_64.s:77: Error: 0xf57c0faf out range of signed 32bit displacement
md5-x86_64.s:95: Error: 0xa8304613 out range of signed 32bit displacement
Many more errors like this.
Run Code Online (Sandbox Code Playgroud)

小智 25

这是汇编代码中的寻址问题.(32位与64位寻址.)为此提交了一个错误.

要快速修复,请尝试使用该no-asm选项重新编译.

cd <openssl-source-directory>
./config no-asm
make && make install
Run Code Online (Sandbox Code Playgroud)

编辑:为了解决由于不具有-fPIC标志错误:做了make clean,改线./config no-asm./config no-asm -fPIC,并运行make && make install.