浅析ubuntu 8.10编译mplayer源码
下载源码
luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ ./configure --enable-gui --disable-ivtv
luther@gliethttp:/vobs/mplayer/MPlayer-1.0rc2$ make -j4
将解压后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....
阅读(370) | 评论(0) | 转发(0) |