I have been having fun with camerauvc again today as well. the video for linux headers are hard to test for as they differ from platform to platform, I think we probably need to have a multi pronged test or something...

Toby

On 22/08/07, Brian Gerkey <brian@gerkey.org> wrote:
Save the "failed program" there to a file, add #include <sys/types.h>
before  <linux/types.h>, and try compiling it manually.  If that
works, I'll change the camerauvc test.

        brian.

On Jul 18, 2007, at 1:01 AM, Fabio DD wrote:

> Hi,
> I control config.log file, and I found this code interesting for my
> problem:
>
> ----------------------------------------------------------------------
> ----------------------------
> configure:23568: checking for linux/types.h
> configure:23585: gcc -c -g -O2  conftest.c >&5
> In file included from conftest.c:34:
> /usr/include/linux/time.h:14: error: expected specifier-qualifier-
> list before 'time_t'
> /usr/include/linux/time.h:20: error: expected specifier-qualifier-
> list before 'time_t'
> configure:23591: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "player"
> | #define PACKAGE_TARNAME "player"
> | #define PACKAGE_VERSION "2.0.4 "
> | #define PACKAGE_STRING "player 2.0.4"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "player"
> | #define VERSION "2.0.4"
> | #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
> | #define HAVE_DLFCN_H 1
> | #define PLAYERCLIENT_THREAD 1
> | #define INCLUDE_ACTS 1
> | #define INCLUDE_AMCL 1
> | #define INCLUDE_AMTECPOWERCUBE 1
> | #define INCLUDE_AODV 1
> | #define INCLUDE_BUMPERSAFE 1
> | #define INCLUDE_ND 1
> | #define INCLUDE_CAMERACOMPRESS 1
> | /* end confdefs.h.  */
> | #include <linux/types.h>
> | #include <linux/time.h>
> |
> | #include <linux/types.h>
> configure:23614: result: no
> configure:23568: checking for linux/time.h
> configure:23585: gcc -c -g -O2  conftest.c >&5
> In file included from conftest.c:34:
> /usr/include/linux/time.h:14: error: expected specifier-qualifier-
> list before 'time_t'
> /usr/include/linux/time.h:20: error: expected specifier-qualifier-
> list before 'time_t'
> configure:23591: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "player"
> | #define PACKAGE_TARNAME "player"
> | #define PACKAGE_VERSION "2.0.4"
> | #define PACKAGE_STRING "player 2.0.4"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "player"
> | #define VERSION "2.0.4"
> | #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
> | #define HAVE_DLFCN_H 1
> | #define PLAYERCLIENT_THREAD 1
> | #define INCLUDE_ACTS 1
> | #define INCLUDE_AMCL 1
> | #define INCLUDE_AMTECPOWERCUBE 1
> | #define INCLUDE_AODV 1
> | #define INCLUDE_BUMPERSAFE 1
> | #define INCLUDE_ND 1
> | #define INCLUDE_CAMERACOMPRESS 1
> | /* end confdefs.h.  */
> | #include <linux/types.h>
> | #include <linux/time.h>
> |
> | #include <linux/time.h>
> configure:23614: result: no
> configure:23568: checking for linux/videodev2.h
> configure:23585: gcc -c -g -O2  conftest.c >&5
> In file included from conftest.c:34:
> /usr/include/linux/time.h:14: error: expected specifier-qualifier-
> list before 'time_t'
> /usr/include/linux/time.h:20: error: expected specifier-qualifier-
> list before 'time_t'
> configure:23591: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "player"
> | #define PACKAGE_TARNAME "player"
> | #define PACKAGE_VERSION "2.0.4 "
> | #define PACKAGE_STRING "player 2.0.4"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "player"
> | #define VERSION " 2.0.4"
> | #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
> | #define HAVE_DLFCN_H 1
> | #define PLAYERCLIENT_THREAD 1
> | #define INCLUDE_ACTS 1
> | #define INCLUDE_AMCL 1
> | #define INCLUDE_AMTECPOWERCUBE 1
> | #define INCLUDE_AODV 1
> | #define INCLUDE_BUMPERSAFE 1
> | #define INCLUDE_ND 1
> | #define INCLUDE_CAMERACOMPRESS 1
> | /* end confdefs.h.  */
> | #include <linux/types.h>
> | #include <linux/time.h>
> |
> | #include <linux/videodev2.h>
> ----------------------------------------------------------------------
> ----------------------------
>
> I don't understand well where is the problem, but I can think it's
> on the time.h library. What do you think?Can you suggest some help
> to me?
> Thanks in advance.
> Fabio
>
> >Look in the file config.log. Search for those headers. You should
> >see the result of configure's attempt to compile against them. That
> >should give you a hint as to what's going wrong.
> >
> >brian.
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
This email is intended for the addressee only and may contain privileged and/or confidential information