Mplayer安装问题

Totem,mplayer,sopcast,realplayer,bmp
回复
Buffyla
帖子: 1
注册时间: 2009-04-25 19:08

Mplayer安装问题

#1

帖子 Buffyla » 2009-04-26 15:32

配置正常,但输入make&make install 时出现下面内容
buffyla@buffyla-laptop:~/文档/Mplayer/MPlayer-1.0rc2$ make && make install
make -C libvo libvo.a
make[1]: Entering directory `/home/buffyla/文档/Mplayer/MPlayer-1.0rc2/libvo'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -c -o vo_ivtv.o vo_ivtv.c
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 `/home/buffyla/文档/Mplayer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] 错误 2
buffyla@buffyla-laptop:~/文档/Mplayer/MPlayer-1.0rc2$
大家帮忙解决下
头像
libralibra
帖子: 401
注册时间: 2008-02-23 17:31
联系:

Re: Mplayer安装问题

#2

帖子 libralibra » 2009-04-26 15:58

为啥要make?
直接sudo apt-get install smplayer装算了,又不大

不过看错误全在vo_ivtv.c这个源文件里面,打开改错
好象错误出在

1,2个没有用的变量sd和sd1,把定义的语句注释掉再编译试试
2,未定义IVTV_STOP_FL_HIDE_FRAME, IVTV_IOC_STOP_DECODE, IVTV_IOC_START_DECODE
My Blog: matlab, ubuntu, python
http://goo.gl/GDIO
mech
帖子: 466
注册时间: 2007-09-06 16:07

Re: Mplayer安装问题

#3

帖子 mech » 2009-04-26 19:59

sudo apt-get build-dep mplayer
./configure ......
make
sudo make install
nngogogo
帖子: 19
注册时间: 2007-09-23 9:39

Re: Mplayer安装问题

#4

帖子 nngogogo » 2009-05-02 12:23

我的也是…… 砸自回事
回复