[MPlayer-users] [PATCH] v4l2 interface
Roger Miliker
roger_miliker at gmx.at
Fri Feb 14 23:46:37 CET 2003
On Wednesday 12 February 2003 09:41, Szabo Akos wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> On Wed, 12 Feb 2003, Roger Miliker wrote:
> > I'm either to stupid to patch or using the wrong tools/release/snapshot.
>
> I use it with cvs.
>
> > Could you give me some detailed instructions on how to apply this patch
> > and on
>
> cd mplayer_source_root ; cat patchfile | patch -p1
>
> > tvi_v4l2.c:904: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in
> > this
>
> This is a v4l2 define, sitting in
> kernel-source-path/include/linux/videodev2.h Do You have this file? If You
> have, maybe, You /usr/include/linux, and kernel include not the same /this
> is correct, because the first come from glibc, second from the kernel/. I
> think You can adjust configure with
> --with-extraincdir=kernel-source-path/include, if You apply the v4l2 kernel
> patch, if not, apply it :)
>
> I make own glibc by hand with the right include files some month ago, I
> can't test it.
Thanks for helping! I did as you said and included
--with-extraincdir='pathtopatchedkernelsource'/include and now I get a
different error ;-(
gcc -c -O4 -march=pentium2 -mcpu=pentium2 -pipe -ffast-math
-fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I../loader -I/home/roger/Desktop/Linux/linux/linux/include/ -o tv.o tv.c
tv.c: In function `tv_begin':
tv.c:529: `tv_param_adevice' undeclared (first use in this function)
tv.c:529: (Each undeclared identifier is reported only once
tv.c:529: for each function it appears in.)
tv.c:529: warning: return makes pointer from integer without a cast
make[1]: *** [tv.o] Error 1
make[1]: Leaving directory `/home/roger/MPlayer-0.90rc4/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
roger at linux MPlayer-0.90rc4 $
Some more tips'n'tricks?
Thank You
Roger
More information about the MPlayer-users
mailing list