[sane-devel] error in linux/videodev.h

Thomas Soumarmon soumarmt@nerim.net
Sat, 7 Jun 2003 17:43:45 +0200


Hi, 

I have a problem compiling v4l because of the linux/videodev.h.
Has anybody already had this problem with this file ?

Follows the errors :

In file included from /usr/include/linux/videodev.h:14,
                 from v4l.c:76:
/usr/include/linux/videodev2.h:432: parse error before "v4l2_std_id"
/usr/include/linux/videodev2.h:432: ISO C forbids data definition with no type 
or storage class
/usr/include/linux/videodev2.h:500: parse error before "v4l2_std_id"
/usr/include/linux/videodev2.h:505: parse error before '}' token
/usr/include/linux/videodev2.h:518: parse error before "v4l2_std_id"
/usr/include/linux/videodev2.h:521: parse error before '}' token
/usr/include/linux/videodev2.h:555: parse error before "v4l2_std_id"
/usr/include/linux/videodev2.h:557: parse error before '}' token
v4l.c: In function `sane_v4l_exit':


Thank you for any help,


Thomas.