|
不管是fedora core2 还是debian, mplayer1.0pre4还是pre5,每次都在同一个地方出错!!!!!
configure参数:
$./configure --enable-gui --with-codecsdir=/usr/local/lib/codecs/ --with-win32libdir=/usr/local/lib/codecs/ --with-reallibdir=/usr/local/lib/codecs/ --with-xanimlibdir=/usr/local/lib/codecs/ --enable-smb --language=zh_CN
gcc的参数(加到/etc/profile里了)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
CXXFLAGS="${CFLAGS}"
CC='gcc -s'
结果如下:
$make
...............
...............
...............
gcc -s -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:2540: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:2541: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:634: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make[1]: *** [i386/dsputil_mmx.o] 错误 1
make[1]: Leaving directory `/usr/local/src/media/MPlayer-1.0pre5/libavcodec'
make: *** [libavcodec/libavcodec.a] 错误 2
每次都是libavcodec出毛病!!!!!可是他是用来看mpeg的解码器啊!!!disable的话用mplayer就看不了divx和xvid编码的电影了,那装mplayer就没意义了!!!
另:disable了libavcodec后,编译安装一切都能成功,播放的时候(用的gmplayer),老是弹出对话框说alsa有问题,对话框不停的闪,很是烦人.从命令行的输出如下:
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
alsa-control: mixer attach /dev/mixer error: 没有那个文件或目录
ALSA lib control.c:654 snd_ctl_open_noupdate) Invalid CTL /dev/mixer
这个信息和窗口一样不停的刷新,搞得人烦死了!!!而且mplayer面板上的那个调音的旋钮也失去了作用..
我现在用的是alsa-1.05,没开esound服务,其他的应用程序完全正常,没任何问题,以前用oss驱动的时候就没这个问题.
大虾们都来帮帮忙啊.. |
|