提示:部分转载的内容排版太烂,实在看不下去我自己转载一下
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
在命令行中输入:
sudo apt-get install libncurses5-dev
make menuconfig
就可以了!