当前位置:  首页  >  服务器技术  >  Linux/unix  >  Linux系统

Ubuntu10.04下:makemenuconfigError2('makemenuco

Ubuntu10.04下:makemenuconfigError2('makemenucokjqin@ubuntu:/study/linux-2.6.33.3$sudomakemenuconfigHOSTCCscripts/basic/fixdepHOSTCCscripts/basic/docprocHOSTCCscripts/bas

Ubuntu 10.04下:make menuconfig Error 2('make menuco

kjqin@ubuntu:/study/linux-2.6.33.3$ sudo 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_askvalue’:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_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] 错误 1
make: *** [menuconfig] 错误 2

解决办法: sudo apt-get install libncurses5-dev 或者:sudo apt-get install ncurses-dev

吐了个 "CAO" !
扫码关注 PHP1 官方微信号
PHP1.CN | 中国最专业的PHP中文社区 | 凯发国际娱乐 | 凯发国际娱乐下载 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | PHP问答
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved PHP1.CN 第一PHP社区 版权所有