昨天apt了mplayer,提示mp3lib错误什么的,用ffmpeg后没有错误提示,但是声音很差的说。
今天就从源码来编译,可是忘记--enable-alsa和--enable-xv了,以至于编译成功后,没有alsa和xv的支持。
编译出来的mplayer运行文件的时候老实提示ou错误等等
就想着重新编译,不料无法编译下去:(
sr/lib/glib-2.0/include -DMPG12PLAY -o x11_common.o x11_common.c
x11_common.c:47:31: error: X11/extensions/Xv.h: No such file or directory
x11_common.c:48:34: error: X11/extensions/Xvlib.h: No such file or directory
x11_common.c: In function 'vo_xv_set_eq':
x11_common.c:2122: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2122: error: (Each undeclared identifier is reported only once
x11_common.c:2122: error: for each function it appears in.)
x11_common.c:2122: error: 'attributes' undeclared (first use in this function)
x11_common.c:2123: warning: ISO C90 forbids mixed declarations and code
x11_common.c:2130: error: 'XvSettable' undeclared (first use in this function)
x11_common.c: In function 'vo_xv_get_eq':
x11_common.c:2193: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2193: error: 'attributes' undeclared (first use in this function)
x11_common.c:2194: warning: ISO C90 forbids mixed declarations and code
x11_common.c:2199: error: 'XvGettable' undeclared (first use in this function)
x11_common.c: In function 'xv_intern_atom_if_exists':
x11_common.c:2271: error: 'XvAttribute' undeclared (first use in this function)
x11_common.c:2271: error: 'attributes' undeclared (first use in this function)
x11_common.c:2272: warning: ISO C90 forbids mixed declarations and code
x11_common.c: In function 'vo_xv_get_max_img_dim':
x11_common.c:2317: error: 'XvEncodingInfo' undeclared (first use in this function)
x11_common.c:2317: error: 'encodings' undeclared (first use in this function)
x11_common.c:2319: warning: ISO C90 forbids mixed declarations and code
make[1]: *** [x11_common.o] Error 1
make[1]: Leaving directory `/home/vvlaw/tools/player/MPlayer-1.0rc1/libvo'
make: *** [libvo/libvo.a] Error 2
mplayer还是无法编译下去:(
-
- 帖子: 27
- 注册时间: 2005-11-05 14:00
-
- 帖子: 55
- 注册时间: 2006-02-16 9:42
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
没有装 xv 的支持包。
要编译的话请先 sudo apt-get build-dep mplayer
要编译的话请先 sudo apt-get build-dep mplayer
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
-
- 帖子: 27
- 注册时间: 2005-11-05 14:00
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 1187
- 注册时间: 2006-04-29 14:54
- 来自: 山东
- 联系:
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
很明显你的源不全,建议到 wiki 的快速设置指南上找个全一点的,同时也建议从源里面安装 mplayer.vvlaw 写了:$ sudo apt-get build-dep mplayerzhan 写了:没有装 xv 的支持包。
要编译的话请先 sudo apt-get build-dep mplayer
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libdv4-dev instead of libdv-dev
E: Build-dependencies for mplayer could not be satisfied.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系: