u-boot: Not enough room for program headers, try linking with -N
【摘要】
在编译u-boot的时候出现了以下错误:
arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linki...
在编译u-boot
的时候出现了以下错误:
arm-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N
arm-linux-gnueabi-ld.bfd: final link failed: Bad value
Makefile:1208: recipe for target 'u-boot' failed
解决方案可以参考这个patch;
或者在Makefile
中添加一条语句,修改链接参数
FLAGS_u-boot += $(call lmZ-option, --no-dynamic-linker)
具体如下图所示:
文章来源: great.blog.csdn.net,作者:小麦大叔,版权归原作者所有,如需转载,请联系作者。
原文链接:great.blog.csdn.net/article/details/94402146
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)