找回密码
 注册
查看: 802|回复: 6

我的gcc,帮忙看看!(急)

[复制链接]
发表于 2005-4-14 20:33:11 | 显示全部楼层 |阅读模式
[root@redhat9 xine-lib-1-rc6a]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
不管编译确认什么,都是提示error: C compiler cannot create executables错误,我用gcc -v查看结果是:[root@redhat9 xine-lib-1-rc6a]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
系统是redhat 9的,照理说rh9的gcc应该是3.2.2-5的,到底问题在哪里,本来想装个新的gcc,可以编译确认的时候报错,现在是装什么程序都失败,懂的人帮忙看看,问题在哪里,谢谢。
 楼主| 发表于 2005-4-15 15:40:00 | 显示全部楼层
怎么没有懂的人帮忙看看的。。。。郁闷中。。。。。
回复

使用道具 举报

发表于 2005-4-15 18:25:10 | 显示全部楼层
rpm -qa "*gcc*"

看看输出
回复

使用道具 举报

 楼主| 发表于 2005-4-17 21:04:22 | 显示全部楼层
[hlf@redhat9 yule]$ rpm -qa|grep gcc
gcc-g77-3.2.2-5
libgcc-3.2.2-5
gcc-java-3.2.2-5
gcc-3.2.2-5
gcc-c++-3.2.2-5
gcc-gnat-3.2.2-5
回复

使用道具 举报

发表于 2005-4-18 11:06:09 | 显示全部楼层
发错地方了吧~~~
回复

使用道具 举报

 楼主| 发表于 2005-4-24 09:34:53 | 显示全部楼层
呵呵,我的问题自己已经解决了,是由于之前安装oracle的时候把一些程序保存到别的目录了,现在重新导入后就正常了.. :D
回复

使用道具 举报

发表于 2005-4-24 12:48:02 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-8-3 06:39 , Processed in 0.036178 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表