LinuxSir.cn,穿越时空的Linuxsir!

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

mk10默认开发包编译mplayer出错

[复制链接]
发表于 2004-8-18 13:48:19 | 显示全部楼层 |阅读模式
mplayer最新的cvs snapshot.
在编译到libavcodec/ffvl.c 48x行,
gcc internal error。
这个在redhat版本中可没碰到过。有谁试过编译mplayer的。
 楼主| 发表于 2004-8-18 14:49:41 | 显示全部楼层
i solved it myself.
use root to autoconfig and compile,that's ok.
发表于 2004-8-18 16:47:43 | 显示全部楼层
u dont need to be root to compile it.

the problem comes from gcc, the code optimization level is too high "-O4"

manual compile that file with flag "-O2"  will solve the problem.

This is an open bug of gcc 3 and you can find the answer from google.
 楼主| 发表于 2004-8-18 21:16:57 | 显示全部楼层
3xs for the answer,maybe config head file changed from xwindows  to console? so i can succede in compiling them?
发表于 2004-8-19 11:02:11 | 显示全部楼层
not sure how u succeed in compiling it.

maybe gcc check for root user, and set code opt level low.
 楼主| 发表于 2004-8-19 18:08:22 | 显示全部楼层
i don't think gcc do that.
anyway,problem is solved.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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