v4l2_buffer is defined in /usr/include/linux/videodev2.h this header is included in /usr/include/linux/videodev.h here: #ifndef __LINUX_VIDEODEV_H #define __LINUX_VIDEODEV_H #include <linux/types.h> #include <linux/version.h> #define HAVE_V4L2 1 #include <linux/videodev2.h> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #ifdef __KERNEL__ two cases 1) HAVE_V4L2 is not defined (make/configure error?) 2) you have a different videodev.h (old kernel?) BTW I'm on 2.6.8 and it works. On Wed, 03 Nov 2004 14:21:44 +0200 Iason Antipariotis <iason antipariotis gr> wrote: IA> Hi IA> IA> when I try to compile pwlib with --enable-v4l2 in SuSE9.0 I get this error: IA> IA> + make optshared IA> ../../ptclib/dtmf.cxx: In member function `void IA> PDTMFEncoder::AddTone(char, unsigned int)': IA> ../../ptclib/dtmf.cxx:290: warning: array subscript has type `char' IA> ../../ptclib/dtmf.cxx:290: warning: array subscript has type `char' IA> ../common/getdate.y: warning: 8 shift/reduce conflicts and 18 IA> reduce/reduce conflicts IA> ../common/osutils.cxx: In function `static std::ostream& IA> PTrace::End(std::ostream&)': IA> ../common/osutils.cxx:1013: warning: unused variable `std::streambuf&rb' I -- Ciao, Nigu ------------------------------------------------------------------ * Nicola Orru' - 49, Rocky Lane - L6 4BA Anfield, Liverpool - UK * ------------------------------------------------------------------
Attachment:
pgpbTMxEmigC1.pgp
Description: PGP signature