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 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)
具体如下图所示:


浙公网安备 33010602011771号