[FFmpeg-devel] Error during configure process
Mon May 21 11:49:33 CEST 2007
Michel Bardiaux wrote:
>> /usr/include/linux/videodev2.h:438: error: syntax error before '*' token
>> /usr/include/linux/videodev2.h:439: error: syntax error before '}' token
>> /usr/include/linux/videodev2.h:810: error: field `win' has incomplete type
>> make: *** [v4l2.o] Error 1
>> make: Leaving directory `/usr/local/src/ffmpeg/libavformat'
>> make: *** [lib] Error 2
>> My fault or a bug?
> ISTR you could try adding
> #include <linux/compiler.h>
> #include <linux/videodev2.h>
> in v4l2.c. If that works, submit a patch.
Are you sure including linux/compiler.h is ok for user-space
applications? Isn't it a "private" kernel header, which should not be
included from user space?
I think some distributions do not even install it in /usr/include...
I suspect the problem here is that the /usr/include/linux/videodev2.h
header is not properly "sanitized".
More information about the ffmpeg-devel