>> Unable to find the Ncurses libraries.请教

内核编译和嵌入式产品的设计与开发
回复
μ 悟
帖子: 5
注册时间: 2008-10-31 9:49
送出感谢: 0
接收感谢: 0

>> Unable to find the Ncurses libraries.请教

#1

帖子 μ 悟 » 2009-01-15 17:42

在ubuntu8.10虚拟机中,在我的工作目录下 make menuconfig 错误,提示如下:

linjiang@linjiang-desktop:~/x5/uClinux-dist$ make menuconfig
config/mkconfig > config.in
make -C /home/linjiang/x5/uClinux-dist/config/scripts/lxdialog all
make[1]: 正在进入目录 `/home/linjiang/x5/uClinux-dist/config/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld 返回 1
-e
>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] 错误 1
make[1]:正在离开目录 `/home/linjiang/x5/uClinux-dist/config/scripts/lxdialog'
make: *** [menuconfig] 错误 2

已经安装了libncurse5,请教各位大侠。如何解决这个问题。
μ 悟
帖子: 5
注册时间: 2008-10-31 9:49
送出感谢: 0
接收感谢: 0

Re: >> Unable to find the Ncurses libraries.请教

#2

帖子 μ 悟 » 2009-01-16 17:42

:em06 问题解决。还需安装libncurses5-dev
回复

回到 “内核及嵌入式开发”