解决u-boot 2016.11 ”ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed”
来源:互联网 发布:淘宝的软件靠谱么 编辑:程序博客网 时间:2024/06/02 06:10
在编译u-boot-2016.05时出现如下问题:
解决办法:
搜索 “u-boot contains unexpected relocations”,没有搜索到任何内容,那么我们再尝试搜索checkarmreloc:
lvxiaoliang@lvxiaoliang-virtual-machine:~/Ftp/tmp/u-boot-2016.05$ grep "checkarmreloc" * -nRarch/arm/config.mk:111:ALL-y += checkarmrelocMakefile:1384:checkarmreloc: u-boot
在顶层Makefile中有如下语句:
########################################################################## ARM relocations should all be R_ARM_RELATIVE (32-bit) or# R_AARCH64_RELATIVE (64-bit).checkarmreloc: u-boot @RELOC="`$(CROSS_COMPILE)readelf -r -W $< | cut -d ' ' -f 4 | \ grep R_A | sort -u`"; \ if test "$$RELOC" != "R_ARM_RELATIVE" -a \ "$$RELOC" != "R_AARCH64_RELATIVE"; then \ echo "$< contains unexpected relocations: $$RELOC"; \ false; \ fienv: scripts_basic $(Q)$(MAKE) $(build)=tools/$@tools-only: scripts_basic $(version_h) $(timestamp_h) $(Q)$(MAKE) $(build)=toolstools-all: export HOST_TOOLS_ALL=ytools-all: env tools ;cross_tools: export CROSS_BUILD_TOOLS=ycross_tools: tools ;.PHONY : CHANGELOGCHANGELOG: git log --no-merges U-Boot-1_1_5.. | \ unexpand -a | sed -e 's/\s\s*$$//' > $@#########################################################################
那么我们就别编译checkarmreloc了,所以我们注释掉arch/arm/config.mk的第111行:
#ALL-y += checkarmreloc
然后就能编译通过了阅读全文
0 0
- 解决u-boot 2016.11 ”ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed”
- ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed
- Makefile:944: recipe for target 'drivers' failed
- makefile:5: recipe for target ' ' failed
- opencv recipe for target 'all' failed解决
- Makefile:2203: recipe for target 's-attrtab' failed
- go-ethereum 1.6 Makefile:15: recipe for target 'geth' failed
- 【caffe install】recipe for target 'xxx' failed
- recipe for target 'doc/cpp.info' failed
- /opt/linux/linux-3.5/scripts/kconfig/Makefile:21: recipe for target 'menuconfig' failed错误
- 编译BusyBox时scripts/Makefile.build:197: recipe for target 'loginutils/passwd.o' failed
- Makefile:588: recipe for target '.build_release/cuda/src/caffe/layers/softmax_loss_layer.o' failed
- Makefile:134007: recipe for target '.obj/release-shared/qimage_neon.o' failed
- Makefile:160: recipe for target 'all' failed (Ubuntu 16.06 + Opencv3.2)解决办法
- 交叉编译openssh出现错误Makefile:548: recipe for target 'install_sw' failed
- 很感谢这篇文张【已解决】Makefile:xxx: recipe for target xxx failed +【顺带搞懂了】如何忽略makefile执行过程中的某些命令的错误而得以继续运行
- Apache2 安装错误 recipe for target 'all-recursive' failed
- Makefile:xxx: recipe for target xxx failed +【顺带搞懂了】如何忽略makefile执行过程中的某些命令的错误而得以继续运行
- 声学特征 PNCC
- output标签实现滑块输出值跟踪
- 编译caffe出错
- 《MySQL入门》
- 集合框架
- 解决u-boot 2016.11 ”ERROR: Makefile:1385: recipe for target 'checkarmreloc' failed”
- 如何用C++实现自己的Tensorflow
- javascript中call apply bind详解
- sigmoid和softmax总结
- SSH项目整合碰到异常及解决方法
- 简单三色塔(c/python略)
- ### net.sf.json.JSONException: There is a cycle in the hierarchy!
- Tensoflow+CNN实现简单的mnist手写数字识别
- 声学特征 ivector