移植内核时make menuconfig 提示错误
移植内核时make menuconfig 提示错误
终端输入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 应用程序接口)。它提供了移动光标,建立窗口,产生颜色,处理鼠标操作等功能。使程序员编写应用程序不需要关心那些底层的终端操作。
评论暂时关闭