ubuntu下无法运行make menuconfig

来源:互联网 发布:淘宝上买药 编辑:程序博客网 时间:2024/06/05 08:17

无法运行make menuconfig
刚安装完后的ubuntu系统,执行sudo make menuconfig时会有以下提示:
……                ……
make[1]: Entering direc×y `/HHARM2410-R3/kernel/scripts/lxdialog’
/usr/bin/ld: crt1.o: No such file: No such file or direc×y
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]: Leaving direc×y `/HHARM2410-R3/kernel/scripts/lxdialog’
make: *** [menuconfig] 错误 2
一看即知,上面缺少Ncurses库,使用sudo apt-get install libncurses5-dbg安装,或者使用“新立德软件包管理器”安装libncurses5-dbg和libncurses5-dev即可

原创粉丝点击