您的位置:首页 > 其它

移植内核时make menuconfig 提示错误

2012-06-30 17:50 567 查看
终端输入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] Error 1
make: *** [menuconfig] Error 2

原来是ubuntu系统没有ncurses这个库。

解决方法:

sudo apt-get install ncurses-dev

那么ncurses这个库到底是什么东东,起什么作用呢?带着疑问百度了一下。

curses构成了一个工作在底层终端代码之上的封装,并向用户提供了一个灵活高效的API(Application Programming Interface 应用程序接口)。它提供了移动光标,建立窗口,产生颜色,处理鼠标操作等功能。使程序员编写应用程序不需要关心那些底层的终端操作。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: