请教在装mplayer的时候遇到的错误

Totem,mplayer,sopcast,realplayer,bmp
回复
vcing
帖子: 1
注册时间: 2009-05-25 21:48

请教在装mplayer的时候遇到的错误

#1

帖子 vcing » 2009-05-30 16:50

系统是ubuntu,装在VM上的,
在configure的时候,查了一下log,好像有很奇怪的error:
cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -o /tmp/mplayer-conf--5927 /tmp/mplayer-conf--5927.c
/tmp/mplayer-conf--5927.c:2:22: error: sys/fbio.h: No such file or directory
/tmp/mplayer-conf--5927.c:3:27: error: sys/visual_io.h: No such file or directory
/tmp/mplayer-conf--5927.c: In function 'main':
/tmp/mplayer-conf--5927.c:5: error: storage size of 'ident' isn't known
/tmp/mplayer-conf--5927.c:6: error: storage size of 'attr' isn't known
/tmp/mplayer-conf--5927.c:8: warning: implicit declaration of function 'ioctl'
/tmp/mplayer-conf--5927.c:8: error: 'VIS_GETIDENTIFIER' undeclared (first use in this function)
/tmp/mplayer-conf--5927.c:8: error: (Each undeclared identifier is reported only once
/tmp/mplayer-conf--5927.c:8: error: for each function it appears in.)

没有管这个error,直接make,就会出现如下的错误:
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 `/usr/share/mplayer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] 错误 2

请问这个是什么原因?谢谢!
Kder
帖子: 2
注册时间: 2009-06-04 20:29

Re: 请教在装mplayer的时候遇到的错误

#2

帖子 Kder » 2009-06-27 16:16

./configure 后面加上 --disable-ivtv
即可
回复