在ubuntu 12.04下编译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
解决方法:
使用sudo apt-get install ncurses-dev 安装即可
Ubuntu 12.04 编译内核错误解决
本文介绍了在Ubuntu 12.04环境下编译Linux内核时遇到的一个常见错误:“无法找到ncurses库或所需头文件”。文中详细解释了错误原因,并提供了一个简单的解决方案:通过命令行使用sudo apt-get install ncurses-dev来安装所需的ncurses-dev包。
1844

被折叠的 条评论
为什么被折叠?



