找回密码
 注册
查看: 750|回复: 8

又是一个MP的问题这次是关于gcc 的

[复制链接]
发表于 2005-7-14 21:00:28 | 显示全部楼层 |阅读模式
各位高手给看一下。
我的系统是FC4
MPlayer1.0pre7

*** 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.
[root@yu MPlayer-1.0pre7]# rpm -qav gcc
gcc-4.0.0-8
发表于 2005-7-14 22:01:30 | 显示全部楼层
记得有补丁………
你找找看。

不然就加参数 --disable-check-gcc (好像是这个),但不保证能用。
回复

使用道具 举报

 楼主| 发表于 2005-7-19 19:51:26 | 显示全部楼层
现已被证实,没用。

还有别的招吗?
回复

使用道具 举报

 楼主| 发表于 2005-7-19 19:53:27 | 显示全部楼层
补丁好像本网站没有呀。

给个网址好吗?谢了先!
回复

使用道具 举报

发表于 2005-7-19 20:09:55 | 显示全部楼层
CVS
回复

使用道具 举报

发表于 2005-7-19 20:40:22 | 显示全部楼层
好像 sunmoon1997 的 ML 服务器目录里有 patch
回复

使用道具 举报

 楼主| 发表于 2005-7-28 19:14:42 | 显示全部楼层
现在我想直截把GCC版本换成旧的,
用什么命令?
会对其它软件有影响吗?
回复

使用道具 举报

发表于 2005-7-28 19:28:16 | 显示全部楼层
[quote:3ba8526a8e="dzs"]现在我想直截把GCC版本换成旧的,
用什么命令?
会对其它软件有影响吗?[/quote]
rpm -e gcc**** (有许多 gcc 包,你可以 rpm -qa "gcc*" 查询)
之后下载新的 gcc ,rpm -Uvh gcc*

不建议换成旧的。
你可以找个可以共存的 gcc3 装上。
./configure 加相应的参数安装。(哪个参数忘了)
回复

使用道具 举报

发表于 2005-7-28 22:08:01 | 显示全部楼层
./configure 参数 CC=gcc32 CXX=g++32
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-5-16 01:46 , Processed in 0.036960 second(s), 16 queries .

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

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