红联Linux门户
Linux帮助

Ubuntu 12.04编译kernel,make menuconfig错误

发布时间:2015-10-05 09:55:16来源:linux网站作者:拿破仑的海阔天空

执行make menuconfig的时候报如下错误:

root@aaron-vbox:/work/samba/xinda/kernel-2.6.32-rc2-davinci1# make menuconfig
HOSTCC  scripts/basic/fixdep
HOSTCC  scripts/basic/docproc
HOSTCC  scripts/basic/hash
HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_sym’:
scripts/kconfig/conf.c:159:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:231:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
scripts/kconfig/conf.c:307:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC  scripts/kconfig/kxgettext.o
*** 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


解决方法:

sudo apt-get install libncurses5  libncurses5-dev


Ubuntu下:make menuconfig Error:http://www.linuxdiyf.com/linux/11197.html

Fedora软件问题make menuconfig问题:http://www.linuxdiyf.com/linux/8985.html

Linux进行make menuconfig时候报错的解决办法:http://www.linuxdiyf.com/linux/7907.html

Ubuntu在配置内核时执行make menuconfig有错误发生时的解决办法:http://www.linuxdiyf.com/linux/7738.html

Ubuntu下make menuconfig出错问题解决:http://www.linuxdiyf.com/linux/1705.html