Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15357390
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: LINUX

2009-07-08 10:57:49

浅析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....
阅读(1157) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~