鸿 网 互 联 www.68idc.cn

当前位置 : 服务器租用 > 手机系统开发 > J2ME > >

浅析ubuntu 8.10编译mplayer源码

来源:互联网 作者:佚名 时间:2015-09-25 05:49
浅析 ubuntu 8.10 编译 mplayer源码 下载源码 MPlayer-1.0rc2.tar.bz2 all-20071007.tar.bz2 luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ ./configure --enable-gui --disable-ivtv luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ make -j4 将all-200
浅析ubuntu 8.10编译mplayer源码

下载源码
MPlayer-1.0rc2.tar.bz2
all-20071007.tar.bz2

luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ ./configure --enable-gui --disable-ivtv
luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ make -j4
将all-20071007.tar.bz2解压后all-20071007/目录下的所有文件释放到/usr/lib/codecs目录下,这样mplayer就ok了

禁用--disable-ivtv,否则编译将提示
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/vobs/mplayer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] Error 2
make: *** Waiting for unfinished jobs....
网友评论
<