>

未曾特别文件或目录化解

- 编辑:www.bifa688.com -

未曾特别文件或目录化解

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’:

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

  GEN     findutils/Config.in

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

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

  GEN     libbb/Kbuild

HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc

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

scripts/kconfig/conf.c: 在函数‘conf_choice’中:

图片 1

图片 2

  GEN     include/applets.h

HOSTCC scripts/basic/hash

  GEN     coreutils/Config.in

scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result

  GEN     modutils/Config.in

化解办法: sudo apt-get install libncurses5-dev 恐怕:sudo apt-get install ncurses-dev

  GEN     util-linux/Kbuild

ubu@ubu-desktop:~/Documents/mini2440/linux-2.6.33$ make menuconfig

  GEN     e2fsprogs/old_e2fsprogs/blkid/Kbuild

Ubuntu10.04下:make menuconfig Error 2('make menuconfig' requires the ncurses libraries)

  GEN     e2fsprogs/old_e2fsprogs/e2p/Kbuild

  GEN     editors/Kbuild

 

  GEN     e2fsprogs/old_e2fsprogs/uuid/Kbuild

  GEN     miscutils/Config.in

  HOSTCC  scripts/kconfig/lxdialog/checklist.o

Ubuntu11.10安说大话usyBox:致命错误:curses.h:未有丰裕文件或目录消除

 

  GEN     networking/udhcp/Kbuild

make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1

问题:

scripts/basic/split-include.c:134:11: 警告: 忽略评释有 warn_unused_result 属性的‘fgets’的回来值 [-Wunused-result]

  HOSTLD  scripts/kconfig/mconf

  HOSTCC  scripts/kconfig/kxgettext.o

  GEN     printutils/Config.in

  GEN     networking/Kbuild

  GEN     e2fsprogs/old_e2fsprogs/Config.in

  SHIPPED scripts/kconfig/zconf.tab.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  GEN     sysklogd/Config.in

[email protected]:~/桌面/busybox-1.19.3# apt-get install libncurses5-dev

  GEN     archival/Kbuild

编写翻译中断。

In file included from scripts/kconfig/lxdialog/checklist.c:24:0:

  GEN     mailutils/Config.in

scripts/kconfig/conf.c:354:9: 警告: 忽略表明有 warn_unused_result 属性的‘fgets’的回到值 [-Wunused-result]

scripts/basic/split-include.c: 在函数‘main’中:

scripts/kconfig/lxdialog/dialog.h:31:20: 致命错误: curses.h:未有极其文件或目录

  GEN     networking/Config.in

scripts/kconfig/mconf.c:473:6: 警告: 忽略评释有 warn_unused_result 属性的‘pipe’的回来值 [-Wunused-result]

  GEN     scripts/Kbuild

  HOSTCC  scripts/basic/split-include

  SHIPPED scripts/kconfig/zconf.hash.c

  GEN     applets/Kbuild

  GEN     console-tools/Config.in

问题: [email protected]:~# cd /root/桌面/busybox-1.19.3 [email protected]:~/桌面/busybox-1.19.3# make m...

  GEN     e2fsprogs/Config.in

  GEN     archival/Config.in

  GEN     debianutils/Config.in

  GEN     selinux/Kbuild

scripts/kconfig/mconf.c: 在函数‘exec_conf’中:

scripts/kconfig/conf.c: 在函数‘conf_askvalue’中:

  HOSTCC  scripts/kconfig/conf.o

  GEN     include/usage.h

[email protected]:~/桌面/busybox-1.19.3#

  GEN     shell/Kbuild

  GEN     runit/Kbuild

 [email protected]:~# cd /root/桌面/busybox-1.19.3

  GEN     procps/Config.in

  GEN     miscutils/Kbuild

  GEN     procps/Kbuild

  GEN     coreutils/libcoreutils/Kbuild

  GEN     printutils/Kbuild

  GEN     init/Config.in

  GEN     e2fsprogs/old_e2fsprogs/Kbuild

scripts/kconfig/conf.c:106:8: 警告: 忽略注解有 warn_unused_result 属性的‘fgets’的归来值 [-Wunused-result]

  GEN     e2fsprogs/Kbuild

  HOSTCC  scripts/basic/docproc

  GEN     debianutils/Kbuild

  GEN     networking/udhcp/Config.in

scripts/kconfig/mconf.c:839:7: 警告: 忽略注明有 warn_unused_result 属性的‘write’的回到值 [-Wunused-result]

make[1]: *** [menuconfig] 错误 2

  GEN     shell/Config.in

  SHIPPED scripts/kconfig/lex.zconf.c

scripts/kconfig/mconf.c: 在函数‘show_textbox’中:

  GEN     e2fsprogs/old_e2fsprogs/ext2fs/Kbuild

  GEN     loginutils/Kbuild

  GEN     mailutils/Kbuild

  GEN     findutils/Kbuild

  GEN     libpwdgrp/Kbuild

  HOSTCC  scripts/basic/fixdep

消除办法:

Ubuntu系统中缺少八个套件 ncurses devel ,把此套件安装下就可以。

  GEN     selinux/Config.in

  GEN     loginutils/Config.in

  GEN     networking/libiproute/Kbuild

  GEN     init/Kbuild

  GEN     editors/Config.in

  GEN     util-linux/Config.in

  GEN     libbb/Config.in

make: *** [menuconfig] 错误 2

  GEN     modutils/Kbuild

原因:

  GEN     runit/Config.in

  GEN     sysklogd/Kbuild

  GEN     console-tools/Kbuild

  GEN     util-linux/volume_id/Kbuild

[email protected]:~/桌面/busybox-1.19.3# make menuconfig

  GEN     coreutils/Kbuild

  GEN     archival/libarchive/Kbuild

  HOSTCC  scripts/kconfig/mconf.o

本文由bifa688.com发布,转载请注明来源:未曾特别文件或目录化解