Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40551
  • 博文数量: 10
  • 博客积分: 1463
  • 博客等级: 上尉
  • 技术积分: 117
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-12 21:22
文章分类
文章存档

2010年(10)

分类: 嵌入式

2010-04-14 13:33:37

最近重新装了一下fedora 12 ,去掉一些缺省的安装项目,导致 make xconfig出错
* 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.
*
make[1]: *** 没有规则可以创建“scripts/kconfig/qconf.o”需要的目标“scripts/kconfig/.tmp_qtcheck”。 停止。
make: *** [xconfig] 错误 2
分析:缺少qt环境
解决:
yum install qt3
yum install qt3-devel
仍然有错误:
  CHECK   qt
/usr/lib/qt-3.3/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCXX scripts/kconfig/qconf.o
/bin/sh: g++: command not found
make[1]: *** [scripts/kconfig/qconf.o] 错误 127
make: *** [xconfig] 错误 2
分析:系统没有安装g++
解决:
yum install gcc-c++
仍然有错误:
HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
/usr/bin/ld: cannot find -lXi
collect2: ld 返回 1
make[1]: *** [scripts/kconfig/qconf] 错误 1
make: *** [xconfig] 错误 2
分析:缺少链接库Xi
解决:
yum install libXi
yum install libXi-devel
 
阅读(3712) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~