[Ekiga-devel-list] problems compiling v4l2
- From: Kilian Krause <kk verfaction de>
- To: ekiga-devel-list gnome org
- Subject: [Ekiga-devel-list] problems compiling v4l2
- Date: Sun, 26 Nov 2006 21:42:32 +0100
Hi guys,
as some of you may already have noticed, there are no really current
Ubuntu snapshots from CVS since some time (for all architectures). For
some reason the v4l2 test fails on Ubuntu due to the other headers that
are pulled in by autoconf. The result from configure (taken from
plugins/config.log on ppc dapper) is as follows:
-(snip)-
configure:3979: checking for linux/videodev2.h
configure:4000: gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:25:
/usr/include/linux/time.h:9: error: redefinition of 'struct timespec'
/usr/include/linux/time.h:15: error: redefinition of 'struct timeval'
In file included from /usr/include/linux/videodev2.h:16,
from conftest.c:29:
/usr/include/sys/time.h:57: error: redefinition of 'struct timezone'
/usr/include/sys/time.h:94: error: syntax error before numeric constant
/usr/include/sys/time.h:108: error: redefinition of 'struct itimerval'
configure:4006: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
|
| #ifdef __linux__
| #include <linux/types.h>
| #include <linux/time.h>
| #endif
|
|
| #include <linux/videodev2.h>
configure:4030: result: no
configure:4037: checking for V4L2 video support
configure:4045: result: no
-(snip)-
Someone got any idea how to cleanly fix this and can bring forth a proper patch
to apply upstream?
--
Best regards,
Kilian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]