Chinaunix首页 | 论坛 | 博客
  • 博客访问: 64715
  • 博文数量: 12
  • 博客积分: 331
  • 博客等级: 一等列兵
  • 技术积分: 196
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-16 10:40
文章分类
文章存档

2012年(12)

我的朋友

分类: LINUX

2012-03-12 21:13:55

GCC安装好后,再次make menuconfig出现了下面错误:
[root@localhost linux-2.6.32.2]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  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
 
下载ncurses5.7,分别执行下面命令
sh configure
make
sudo make install
ncurses安装成功。

再次执行make menuconfig,出现:
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/arm/Kconfig

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
 
阅读(2593) | 评论(0) | 转发(0) |
0

上一篇:RHEL5.1下安装GCC

下一篇:linux下u盘如何使用

给主人留下些什么吧!~~