Re: [GnomeMeeting-devel-list] pwlib-v4l2 plugin compile error



Damien Sandras wrote:
Le jeudi 04 novembre 2004 à 00:38 +0200, Iason Antipariotis a écrit :

Nicola Orru' wrote:

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.


SuSE 9.0 has kernel 2.4.27, SuSE 9.1 has also 2.4.27 and compiles fine ;)



Have you checked if the headers were the same?


Right, uname -r gave me the kernel version of the host pc not the chroot's one .
So the right versions are:
SuSE 9.1 ----> 2.6.5
SuSE 9.0 ----> 2.4.21

No chance to compile the v4l2plugin on 2.4 kernels ?

greets
Iason



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