分类: LINUX
2009-09-16 15:31:18
今天在Ubuntu9.04上安装交叉编译器,编译内核时出现以下错误,解决了
编译内核时,make menucomfig 时,找不到“lncurses”。具体如下:
hxy@ubuntu:/usr/src/linux$ sudo make menuconfig
>> Unable to find the Ncurses libraries.
>>
>> You must install ncurses-devel in order
>> to use 'make menuconfig'
make[2]: *** [scripts/lxdialog/ncurses] ? 1
make[1]: *** [menuconfig] ? 2
make: *** [menuconfig] 2
解决方法
apt-get install libncurses5-dev