代码: 全选
luo@luo-desktop:~/arm/fs2410_2.6.8$ make menuconfig
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: 错误: 对‘current_menu’的静态声明出现在非静态声明之后
scripts/kconfig/lkc.h:63: 错误: ‘current_menu’的上一个声明在此
scripts/kconfig/mconf.c: 在函数‘exec_conf’中:
scripts/kconfig/mconf.c:223: 警告: 忽略声明有 warn_unused_result 属性的‘pipe’的返回值
scripts/kconfig/mconf.c: 在函数‘show_textbox’中:
scripts/kconfig/mconf.c:551: 警告: 忽略声明有 warn_unused_result 属性的‘write’的返回值
make[1]: *** [scripts/kconfig/mconf.o] 错误 1
make: *** [menuconfig] 错误 2
代码: 全选
luo@luo-desktop:~/Down/linux-headers-2.6.27-13$ make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: 在函数‘conf_askvalue’中:
scripts/kconfig/conf.c:104: 警告: 忽略声明有 warn_unused_result 属性的‘fgets’的返回值
scripts/kconfig/conf.c: 在函数‘conf_choice’中:
scripts/kconfig/conf.c:306: 警告: 忽略声明有 warn_unused_result 属性的‘fgets’的返回值
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