解决Ubuntu下make menuconfig错误
Ubuntu 下编译Linux内核时,在命令行输入:make menuconfig后,出现如下错误:
*** 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
上述错误是说,执行make menuconfig 命令需要安装ncurses-dev。
Ncurses是一个能提供功能键定义、屏幕绘制以及基于文本终端的图形互动功能的动态库。
解决方法:
在命令行中输入:
sudo apt-get install libncurses5-dev
make menuconfig
还没有评论,来说两句吧...