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,提示无法下载,说明你没联网