sudo make xconfig OR sudo make menuconfig 出现的错误

内核编译和嵌入式产品的设计与开发
回复
18260
帖子: 157
注册时间: 2005-09-19 19:36
来自: CHINA
联系:

sudo make xconfig OR sudo make menuconfig 出现的错误

#1

帖子 18260 » 2009-07-05 19:14

代码: 全选

 HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  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

代码: 全选

  CHECK   qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
  HOSTCC  scripts/kconfig/kconfig_load.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
make[1]: *** 没有规则可以创建“scripts/kconfig/qconf.o”需要的目标“scripts/kconfig/.tmp_qtcheck”。 停止。
make: *** [xconfig] 错误 2
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: sudo make xconfig OR sudo make menuconfig 出现的错误

#2

帖子 HuntXu » 2009-07-05 19:18

你需要一本英文词典,或者使用google翻译...
另,在哪config要sudo了...
HUNT Unfortunately No Talent...
18260
帖子: 157
注册时间: 2005-09-19 19:36
来自: CHINA
联系:

Re: sudo make xconfig OR sudo make menuconfig 出现的错误

#3

帖子 18260 » 2009-07-07 0:02

HuntXu 写了:你需要一本英文词典,或者使用google翻译...
另,在哪config要sudo了...
问题是不加 SUDO一样的问题
头像
infinite180
帖子: 207
注册时间: 2007-05-31 20:17
来自: DUT
联系:

Re: sudo make xconfig OR sudo make menuconfig 出现的错误

#4

帖子 infinite180 » 2009-07-08 1:39

没有ncurses不能用menuconfig
I can do if I try!!!
回复