学习Linux内核编译的时候,再尝试menuconfig时发生错误如下:
- littlemo@littlemo-T400:~/iData/LinuxKernel/linux-2.6.34.14$ 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
转载于:https://blog.51cto.com/littlemo/1133801