CentOS 6.02 64位操作系统中的OpenSSL构建错误 [英] OpenSSL building errors in CentOS 6.02 64 bit OS

查看:201
本文介绍了CentOS 6.02 64位操作系统中的OpenSSL构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am facing some problems in building openssl in CentOS 6.02 64 bit OS. Whenever I try to build it I face the errors followings:-

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.

推荐答案

汇编代码中的地址存在问题. (32位与64位寻址.)有一个 bug 为此提交.

It's a problem with the addressing in the assembly code. (32 bit vs 64 bit addressing.) There was a bug filed for this.

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

For a quick fix try recompiling with the no-asm option.

cd <openssl-source-directory>
./config no-asm
make && make install

要解决由于没有-fPIC标志而导致的错误:请执行make clean,将./config no-asm的行更改为./config no-asm -fPIC,然后运行make && make install.

To resolve the errors caused by not having the -fPIC flag: do a make clean, change the line for ./config no-asm to ./config no-asm -fPIC, and run make && make install.

这篇关于CentOS 6.02 64位操作系统中的OpenSSL构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆