This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
types.h
- From: Simon Ennis <s dot ennis at surrey dot ac dot uk>
- To: libc-alpha at sourceware dot org
- Date: Tue, 30 Jan 2007 11:07:55 +0000
- Subject: types.h
Hello,
I am compiling some code on Fedore core 6 kernel version 2.6.19 that
uses video4linux. I seem to be getting the following error upon
compilation.
/usr/include/linux/videodev2.h:537: error: â__u64â does not name a type
/usr/include/linux/videodev2.h:620: error: âv4l2_std_idâ does not name a
type
/usr/include/linux/videodev2.h:637: error: âv4l2_std_idâ does not name a
type
/usr/include/linux/videodev2.h:675: error: âv4l2_std_idâ does not name a
type
/usr/include/linux/videodev2.h:698: error: â__s64â does not name a type
The problem seems to stem from /usr/include/linux/types.h where the
following is defined.
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __u64 uint64_t;
typedef __u64 u_int64_t;
typedef __s64 int64_t;
#endif
Now I'm sure i don't use STRICT_ANSI as a gcc flag so I'm not sure why
this is not working but my gcc version 4.1.1 doesn't seem to be picking
it up.
If anyone can help it would be appreciated.
Thanks
Simon