Linux内核编译的问题总结

make menuconfig显示错误“Your display is too small to run Menuconfig!

如果在终端执行 make menuconfig ,显示错误:
Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
表示终端窗口太小。解决办法可以是把终端窗口适当的调大(或是直接最大化)就行了

 

cc1: error: unrecognised debug output level "dwarf2"

cc1: error: unrecognised debug output level "dwarf2"

make[1]: *** [usr/initramfs_data.o] 错误 1

make: *** [usr] 错误 2

解决办法:把Makefile中的段注释掉就行

ifdef CONFIG_DEBUG_INFO

CFLAGS += -g

AFLAGS += -gdwarf2

endif

 

make uImage出错

"mkimage" command not found - U-Boot images will not be built
安装sudo apt-get install uboot-mkimage就好 

如果还提示错误,尝试sudo apt-get update,提示无法下载,说明你没联网

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值