types.h

Simon Ennis s.ennis@surrey.ac.uk
Tue Jan 30 11:08:00 GMT 2007


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



More information about the Libc-alpha mailing list