LinuxSir.cn,穿越时空的Linuxsir!

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

media-video/mplayer-1.0_rc4_p20110322 failed (compile phase)是什么问题?【已解决

[复制链接]
发表于 2011-5-31 08:04:06 | 显示全部楼层 |阅读模式
googel搜索没搜索到什么有用内容。

下面是编译log中的一部分不知道是否对我编译有影响。

MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you,
but:

    *** ***  DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK!  *** ***

It is strongly recommended to let MPlayer choose the correct CFLAGS!
To do so, execute 'CFLAGS= ./configure <options>'


这里是log中的错误描诉

make[1]: Leaving directory `/home/MAKETMP/mytmp/portage/media-video/mplayer-1.0_rc4_p20110322/work/mplayer-1.0_rc4_p20110322/ffmpeg/libavcodec'
touch ffmpeg/libavcodec/libavcodec.a
i686-pc-linux-gnu-gcc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o $
i686-pc-linux-gnu-gcc -o mencoder mencoder.o parser-mecmd.o xvid_vbr.o libmpcodecs/ae.o libmpcodecs/ae_pcm.o libmpcodecs/ve.o libmpcodecs/ve_raw.o libmpdemux/muxer.o libmpdemux/mu$
codec-cfg.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [mplayer] 错误 1
make: *** 正在等待未完成的任务....
mencoder.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [mencoder] 错误 1
^[[31;01m*^[[0m ERROR: media-video/mplayer-1.0_rc4_p20110322 failed (compile phase):
^[[31;01m*^[[0m   emake failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =media-video/mplayer-1.0_rc4_p20110322',
^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =media-video/mplayer-1.0_rc4_p20110322'.
^[[31;01m*^[[0m The complete build log is located at '/home/MAKETMP/mytmp/portage/media-video/mplayer-1.0_rc4_p20110322/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/home/MAKETMP/mytmp/portage/media-video/mplayer-1.0_rc4_p20110322/temp/environment'.
^[[31;01m*^[[0m S: '/home/MAKETMP/mytmp/portage/media-video/mplayer-1.0_rc4_p20110322/work/mplayer-1.0_rc4_p20110322'

谁知道是什么问题怎么解决麻烦说下。
发表于 2011-5-31 08:40:17 | 显示全部楼层
以前很早前遇到过这种编译错误,我直接把mplayer抛弃了,用的mplayer-uau-9999,a.k.a. mplayer2

If you insist on dealing with this problem,I suggest you disable ccache and compile it again.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-31 08:46:28 | 显示全部楼层
Post by darrenlee;2141243
以前很早前遇到过这种编译错误,我直接把mplayer抛弃了,用的mplayer-uau-9999,a.k.a. mplayer2

If you insist on dealing with this problem,I suggest you disable ccache and compile it again.


确实是我刚刚也在网上看到是由于启用ccache导致的,暂时关闭ccache就可以了,编译成功了,谢谢你。
回复 支持 反对

使用道具 举报

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

本版积分规则

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