Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] video-buf.c:495: error: `V4L2_BUF_FLAG_INPUT' undeclared



I'm running fedora with 2.4.22 kernel and are trying to build the linuxtv-dvb-1.1.1 drivers for my hauppauge nexus-s card(saa7146). When I try build the driver I get the following error:
 ...
video-buf.c:495: error: `V4L2_BUF_FLAG_INPUT' undeclared (first use in this function)
video-buf.c:495: error: (Each undeclared identifier is reported only once
video-buf.c:495: error: for each function it appears in.)
video-buf.c:496: error: structure has no member named `input'
video-buf.c: In function `videobuf_qbuf':
video-buf.c:582: error: `V4L2_BUF_FLAG_INPUT' undeclared (first use in this function)
video-buf.c:583: error: structure has no member named `input'
video-buf.c:585: error: structure has no member named `input'
make[2]: *** [video-buf.o] Error 1

I think it is related to the text in the readme file:
"Since kernel 2.4.19, the Video4Linux module "videodev.o" allows you to
register devices with a new mechanism. Due to this, the necessary
Video4Linux-2 modules can be compiled external and loaded as modules at a
later time. These modules are:
- v4l1-compat.o : helper module to translate v4l1 to v4l2
- v4l2-common.o : common functions for all v4l2 drivers
- video-buf.o   : common functions for capturing
So it's necessary that you compile "Video4Linux" support (in the character
devices section) either as a module or statically into the kernel."

I dont understand what I should do? how and where to set the V4L2_BUF_FLAG_INPUT

I've not compiled any video4linux packages from www.bytesex.org because they only support bttv, saa7134, cx88. Where can I find any drivers for my 7146? or do I really need video4linux?

How do I "compile "Video4Linux" support (in the character
devices section) either as a module or statically into the kernel."?

Regards
Christian



Home | Main Index | Thread Index