LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1204|回复: 9

suse9.3的GCC有问题?编译老是说找不到有用的GCC

[复制链接]
发表于 2006-4-1 22:27:44 | 显示全部楼层 |阅读模式
下面是编译mplayer时的提示:
linux:/home/fansir/mplayer/MPlayer-1.0pre7try2 # ./configure --enable-gui --datadir=/usr/share/mplayer --libdir=/usr/local/lib/codecs --language=zh_CN
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... not found
Checking for gcc version ... not found
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... not found

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

    *** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.

我查了好像suse的GCC是3.23的,不知道怎么就用不了。。。。。。。。。郁闷
发表于 2006-4-1 22:30:18 | 显示全部楼层
我懷疑你沒有安裝gcc? = =
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-1 23:51:00 | 显示全部楼层
我刚查过啊,已经安装上了,好像是GCC3.23的。。。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2006-4-2 08:52:13 | 显示全部楼层
你確定?
有沒有跑一次#rpm -q gcc檢查一下?
回复 支持 反对

使用道具 举报

发表于 2006-4-2 09:12:58 | 显示全部楼层
gcc -v 的结果是?
回复 支持 反对

使用道具 举报

容易受伤的女人 该用户已被删除
发表于 2006-4-2 09:37:26 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-2 19:18:23 | 显示全部楼层
..........已经把suse9.3砍掉了,装了个suse10.0,普通用户的图形界面进不去。。。。。郁闷,难道非逼着我换redhat系列的?
回复 支持 反对

使用道具 举报

发表于 2006-4-2 22:37:05 | 显示全部楼层
我的也是 SUSE10 GCC装不了MPLAYER
etected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 4.0.2, bad
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.2, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use.  Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder).  If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

        GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

     *** For details please read DOCS/users_against_developers.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.
我的版本是gcc-4.0.2_20050901-3
哪个高手指点下拉
谢谢阿
回复 支持 反对

使用道具 举报

发表于 2006-4-3 09:52:47 | 显示全部楼层
错误信息已写得很清楚了,用 gcc-3.x 来编译吧!
回复 支持 反对

使用道具 举报

发表于 2006-4-3 09:54:46 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

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