arm-linux-gcc 移植u-boot2015.04時(shí)make menuconfig 錯(cuò)誤
HOSTCC scripts/kconfig/mconf.o
In file included from scripts/kconfig/mconf.c:23:0:
scripts/kconfig/lxdialog/dialog.h:38:20: 致命錯(cuò)誤: curses.h:沒有那個(gè)文件或目錄
編譯中斷。
make[1]: *** [scripts/kconfig/mconf.o] 錯(cuò)誤 1
make: *** [menuconfig] 錯(cuò)誤 2
解決:安裝libncurses5-dev
sudo apt-get update
sudo apt-get install libncurses5-dev
評(píng)論