Ubuntu下交叉编译make menuconfig时出错:Unable to find the ncurses libraries or the required header files.
程序员文章站
2022-03-11 22:52:31
...
一、问题描述:Ubuntu下交叉编译make menuconfig时出错:“Unable to find the ncurses libraries or the required header files.”,如下:
[email protected]:~/work/product/ok335xD/program/project/kernel/kernel/kernel-3.2$ 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]: *** [/home/ms/work/product/ok335xD/program/project/kernel/kernel/kernel-3.2/scripts/kconfig/Makefile:190: scripts/kconfig/dochecklxdialog] Error 1
make: *** [Makefile:493: menuconfig] Error 2
[email protected]:~/work/product/ok335xD/program/project/kernel/kernel/kernel-3.2$
二、问题分析:缺少依赖的库。
三、解决办法:安装依赖的包。
sudo apt-get install libncurses5-dev -y
上一篇: 如何关闭MacBook的键盘背光
下一篇: Python单例模式