主题 : 执行“make menuconfig”,但没有出现配置内核界面 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 32329
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2010-11-14
最后登录: 2012-03-31
楼主  发表于: 2010-11-27 03:26

 执行“make menuconfig”,但没有出现配置内核界面

我用的是Fedora 9:
执行以下命令来使用缺省配置文件夹 config_t35

# cp config_mini2440_t35 .config
然后执行“make menuconfig”,但没有出现配置内核界面。

提示如下:

[root@tom linux-2.6.32.2]# cp config_mini2440_t35 .config

cp: overwrite `.config'? y

[root@tom linux-2.6.32.2]# make menuconfig
scripts/kconfig/mconf arch/arm/Kconfig
drivers/Kconfig:11: can't open file "drivers/of/Kconfig"
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
[root@tom linux-2.6.32.2]#
[ 此帖被wzjcheng在2010-11-27 13:53重新编辑 ]
级别: 新手上路
UID: 24483
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-07-08
最后登录: 2018-02-08
1楼  发表于: 2011-01-04 22:30
我也出现了这个问题 请问楼主解决了么?
每天进步一点点。
级别: 新手上路
UID: 34245
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2010-12-13
最后登录: 2012-02-25
2楼  发表于: 2011-01-07 19:47
我用的ubuntu10.10,也出现问题,问题如下:
  HOSTCC scripts/basic/fixdep
/bin/sh: gcc:not found
make[1]:*** [scripts/basic/fixdep] Error 127
make:*** [scripts_basic] Error 2
不知怎么解决,求高手指点。
级别: 新手上路
UID: 25007
精华: 0
发帖: 26
金钱: 130 两
威望: 26 点
综合积分: 52 分
注册时间: 2010-07-17
最后登录: 2013-06-11
3楼  发表于: 2011-06-25 19:43
我也出现同样的问题

[root@localhost linux-2.6.32.2]# make menuconfig
*** 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
[root@localhost linux-2.6.32.2]# make menuconfig
*** 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

怎么解决啊???都是按MINI2440手册上一步一步来操作的
级别: 新手上路
UID: 25007
精华: 0
发帖: 26
金钱: 130 两
威望: 26 点
综合积分: 52 分
注册时间: 2010-07-17
最后登录: 2013-06-11
4楼  发表于: 2011-06-25 20:06
用V=1打印出来的信息,如位帮帮忙

[root@localhost linux-2.6.32.2]# make menuconfig V=1
make -f scripts/Makefile.build obj=scripts/basic
mkdir -p include/linux include/config
make -f scripts/Makefile.build obj=scripts/kconfig menuconfig
/bin/sh /opt/FriendlyARM/mini2440/linux-2.6.32.2/scripts/kconfig/lxdialog/check-lxdialog.sh -check gcc -DCURSES_LOC="<curses.h>" -DLOCALE  
*** 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
级别: 新手上路
UID: 50331
精华: 0
发帖: 20
金钱: 100 两
威望: 20 点
综合积分: 40 分
注册时间: 2011-06-21
最后登录: 2012-11-05
5楼  发表于: 2011-06-25 23:41
我以前也遇到类似问题,是make没有安装,我当时装的是Fedora10,后来用友善的Fedora9的ISO重新安装,并且选择软件开发,就可以自动装上gcc和make了