-
[root@localhost utu-linux_for_s3c2440_dm9000_V1.5.8]# make menuconfig
-
HOSTLD scripts/kconfig/mconf
-
/usr/bin/ld: cannot find -lncurses
-
collect2: ld returned 1 exit status
-
-
>> Unable to find the Ncurses libraries.
-
>>
-
>> You must install ncurses-devel in order
-
>> to use 'make menuconfig'
-
-
make[2]: *** [scripts/lxdialog/ncurses] Error 1
-
make[1]: *** [menuconfig] Error 2
-
make: *** [menuconfig] Error 2
在使用menuconfig时需要ncurses库的支持,而该库包含ncurses和ncurses-devel,大部分情况ncurses包会跟随系统安装好,而ncurses-devel包根据安装系统时你的选择。可以使用命令查看他们有没有安装:
#rpm -q ncurses
#rpm -q ncurses-devel
如果安装好了会显示类似如下:
ncurses-5.5-24.20060715
如果没有安装则进行安装:
yum install ncurses-devel
或者
yum install ncurses
阅读(956) | 评论(0) | 转发(0) |