No subject


Tue Aug 25 22:50:44 CEST 2009


============ Checking for V4L2 MPEG Decoder ============

#include <stdlib.h>
#include <inttypes.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <linux/version.h>
int main(void) {
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
#error kernel headers too old, need 2.6.22
#endif
   struct v4l2_ext_controls ctrls;
   ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
   return 0;
}

cc -Wstrict-prototypes -Wmissing-prototypes -Wundef 
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement 
-std=gnu99 -W -Wall -O2 -march=nocona -mtu
ne=nocona -pipe -g3  -I.  -D_REENTRANT       -lncurses -lsmbclient -lpng 
-lz -lmng -lz -ljpeg   -lXext -lX11 -lpthread -lXv -lXinerama -lGL -ldl 
-lSDL  -o /tmp/mplaye
r-conf-30533-31687 /tmp/mplayer-conf-30275-31687.c
/tmp/mplayer-conf-30275-31687.c:8:2: error: #error kernel headers too old, 
need 2.6.22


Result is: no




I get no V4L2 because mplayer is looking at the distro package headers
I am running 2.6.31
$ uname -a
Linux rray 2.6.31 #2 SMP Sun Sep 20 14:21:09 CDT 2009 x86_64 x86_64 x86_64 GNU/Linux
The source is in /work/linux-2.6.31


More information about the MPlayer-users mailing list