解决unrecognized relocation (0x2a) in section .text 问题: /usr/bin/ld: …/deps/zw/lib/libdmsdk.a(http.o): unrecognized relocation (0x2a) in section ...
这个问题困扰了我好长时间,网上查了好长时间,这个问题的解决方法,就是将binultils升级到 . 。 造成这个问题的原因是gcc和binultils版本不匹配,gcc对应的版本较高,gcc编译后,ld 由binultils决定 进行链接,结果由于binultils版本较低, 无法识别。 解决方法: .从https: pkgs.org download binutils . 下载对应的版本, wg ...
2019-03-11 19:49 0 2938 推荐指数:
解决unrecognized relocation (0x2a) in section .text 问题: /usr/bin/ld: …/deps/zw/lib/libdmsdk.a(http.o): unrecognized relocation (0x2a) in section ...
解决方案: 查看ld 版本 ,使用命令:ld -v,得知当前版本为:GNU ld version 2.25.1-22.base.el7,通过网上搜素可知,是ld版本过低,因此使用更高版本。 ...
原因是因为gcc版本过低,yum安装的gcc是4.8.5的。因此需要升级gcc,升级过程如下: yum -y install centos-release-scl yum -y install de ...
由于GFW的原因,无法下载gcimporter源码和types源码,其实该源码在git上也有,只要下载下来,然后再GOPATH中写上相应的路径就可以通过编译,具体步骤如下 :1. clone git上的代码到本地,比如clone到$GOPATH/src/golang.org/x/tools目录 ...
转载请注明出处: http://www.cnblogs.com/darkknightzh/p/6950263.html 自从使用anaconda后,方便是方便了,也遇到了很多蛋疼的问题。 这次使 ...
Nginx在make时报错[objs/Makefile:469: objs/src/core/ngx_murmurhash.o] Error 在安装目录下执行 把Makefile文件的-Werror去掉 重新执行 ...
原因:目前Redis官网下载的版本为 6.0版本 make安装 会报错是因为gcc版本过低,yum安装的gcc是4.8.5的。因此需要升级gcc,升级过程如下: yum -y install centos-release-scl yum -y install ...
具体报错信息如下: 经排查发现是opencv在编译的时候,用到了libswscale.a、libavcodec.a文件,这两个文件应该是可选的,如果电脑中有这两个文件,说明之前装过ffmpeg或者用ffmpeg相关库的软件,这是在装ffmpeg时安装的,报上述错误可能是 ...