LinuxSir.cn,穿越时空的Linuxsir!

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

为什么安装mplayer提示gcc版本不对?

[复制链接]
发表于 2006-3-4 21:10:53 | 显示全部楼层 |阅读模式
安装提示如下,我用的是Mandriva 2006 powerplus版
,请问如何解决
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.1, bad
Checking for gcc version ... 4.0.1, bad
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 ... 4.0.1, 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/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed
发表于 2006-3-4 21:33:21 | 显示全部楼层
MPlayer 目前的版本不支持 gcc 4.x 编译。这在文档中说得很明白,应该不需要我再重复一次吧?

如果想用 gcc 4.x 编译,可以去 CVS 一个最新的版本。
回复 支持 反对

使用道具 举报

发表于 2006-3-4 21:40:03 | 显示全部楼层
mandriva 2006 使用了gcc 4 ,mplayer暂不支持。解决方法很多,最简单的就是用urpmi 安装编译好的rpm包。此外还可以给mplayer 打gcc4的patch ,或使用mplayer最新的cvs 源码包 。也可以 安装 gcc3(contrib源内有) 用gcc3编译mplayer。相关详细信息可以搜索论坛。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-4 22:57:07 | 显示全部楼层
sorry,i am a beginer,i am trying my best to study,thank for your help
回复 支持 反对

使用道具 举报

发表于 2006-3-4 23:54:10 | 显示全部楼层
不要编了,URPMI一个吧
回复 支持 反对

使用道具 举报

发表于 2006-3-5 00:02:42 | 显示全部楼层
1。楼上正解
2。如果要用gcc4编
需要cvs一个最新的代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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