[MPlayer-dev-eng] CVS v4l2 broken ?
Salatiel Filho
salatiel.filho at gmail.com
Sat Apr 15 15:54:43 CEST 2006
On 4/15/06, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
>
> 2006/4/15, Salatiel Filho <salatiel.filho at gmail.com>:
> > Mplayer cvs doesn't detect v4l2 interface. MPlayer v1.0pre7try2detects
> > OK.
> >
> > on cvs i got ,
> > Checking for Video 4 Linux 2 TV interface ... no
> > if i force detection using ./configure --enable-tv-v4l2 when i try
> compile
> > i get:
> >
> > tvi_v4l2.c:44:29: linux/videodev2.h: No such file or directory
> > tvi_v4l2.c:60: error: field `buf' has incomplete type
> > tvi_v4l2.c:73: error: field `capability' has incomplete type
> > tvi_v4l2.c:74: error: field `input' has incomplete type
> > tvi_v4l2.c:75: error: field `format' has incomplete type
> > tvi_v4l2.c:76: error: field `standard' has incomplete type
> > tvi_v4l2.c:77: error: field `tuner' has incomplete type
> > tvi_v4l2.c: In function `fcc_mp2vl':
> > ...
> > tvi_v4l2.c:1425: error: `VIDIOC_QBUF' undeclared (first use in this
> > function)
> > make[1]: *** [tvi_v4l2.o] Error 1
> > make[1]: Leaving directory `/tmp/mplayer_cvs/main/libmpdemux'
> > make: *** [libmpdemux/libmpdemux.a] Error 2
> >
> > I'm using :
> > Linux 2.6.16.2 #5 PREEMPT Mon Apr 10 20:49:39 BRT 2006 i686 athlon-4
> i386
> > GNU/Linux
> >
> >
> > any help ?
>
> It seems like you are missing kernel headers.
> By some standard there is rule that programs must compile with the
> kernel headers used for building the glibc. This is why they are
> usually included into /usr/include and not pointing to /usr/src/linux.
> However for people who know what they are doing, trust that kernel
> won't remove anything the glibc uses and want to use the newest kernel
> includes could just make 2 links to the linux source tree.
>
> cd /usr/include
> ln -s /usr/src/linux/include/linux
> ln -s /usr/src/linux/include/asm
> (some old & wierd linux kernels also needed to compile their support
> programs
> ln -s /usr/src/linux/include/asm-generic
> ln -s /usr/src/linux/include/asm-i386
> )
>
> Don't forget to update the /usr/src/linux symlink to point to your
> newest kernel.
> cd /usr/src/
> ln -s linux-2.6.16.5 linux
>
> It is also possible that you have 2.4 kernel includes, while using 2.6
> (could happen with slackware.) Be sure to remove them before making
> the symlinks above.
> Also be very careful with --enable, Usually all stuff is enabled if
> test passes, so --enable will force it.
>
> Oh nearly forgot, this is not bugreport maillist.
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
it worked. thanks. but i still didn't understand why MPlayer
v1.0pre7try2works without this changes.
--
[]'s
Salatiel
"O maior prazer do inteligente é bancar o idiota
diante de um idiota que banca o inteligente".
More information about the MPlayer-dev-eng
mailing list