Ubuntu10.10下不能make menuconfig问题解决
[复制链接]
在Ubuntu下交叉编译Linux2.6内核,输入make menuconfig发现有一些头文件找不到:
root@loong:/opt/linux-2.6.39# make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1 make: *** [menuconfig] 错误 2
应该是编译的一些东东没装哦,要安装一下东东;
sudo apt-get install build-essential
sudo apt-get install libncurses5-dev 或者 sudo apt-get install ncurses-dev
安装完毕后就可以编译了
|