标签:ges 技术 expect expec rip dial 文件 包含 文件中
[root@CentOS linux-4.8.4]# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/mconf.o
在包含自 scripts/kconfig/mconf.c:23 的文件中:
scripts/kconfig/lxdialog/dialog.h:38:20: 错误:curses.h:没有那个文件或目录
In file included from scripts/kconfig/mconf.c:23:
scripts/kconfig/lxdialog/dialog.h:103: 错误:expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:200: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:221: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:223: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:224: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:225: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:226: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:228: 错误:expected ‘)’ before ‘*’ token
scripts/kconfig/mconf.c: 在函数‘conf’中:
scripts/kconfig/mconf.c:671: 错误:‘KEY_MAX’未声明(在此函数内第一次使用)
scripts/kconfig/mconf.c:671: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
scripts/kconfig/mconf.c:671: 错误:所在的函数内也只报告一次。)
scripts/kconfig/mconf.c: 在函数‘show_help’中:
scripts/kconfig/mconf.c:793: 警告:隐式声明函数‘getmaxx’
scripts/kconfig/mconf.c:793: 错误:‘stdscr’未声明(在此函数内第一次使用)
scripts/kconfig/mconf.c: 在函数‘conf_choice’中:
scripts/kconfig/mconf.c:855: 错误:‘KEY_MAX’未声明(在此函数内第一次使用)
make[1]: *** [scripts/kconfig/mconf.o] 错误 1
make: *** [menuconfig] 错误 2
遇到以上内核编译问题的解决方法: #yum -y install gcc*
#yum -y install ncurses-devel
然后在执行编译,即可进入编译
标签:ges 技术 expect expec rip dial 文件 包含 文件中
原文地址:http://www.cnblogs.com/xushiqi/p/6681913.html