[FFmpeg-cvslog] r14769 - trunk/configure

Luca Abeni lucabe72
Tue Aug 19 00:43:49 CEST 2008


Hi Stefano,

Stefano Sabatini wrote:
[...]
> The -std=c99 part breaks v4l2 compilation here:
> 
> gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/home/stefano/src/ffmpeg" -I/home/stefano/include/ -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3 -g3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -fno-math-errno -c -o libavdevice/v4l2.o libavdevice/v4l2.c
> In file included from libavdevice/v4l2.c:38:
> /usr/include/linux/videodev2.h:600: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?v4l2_std_id?
[...]

v4l2.c seems to compile well here, on debian 4.0. Which version of 
debian are you using? I suspect the kernel headers are broken; can you 
send me your version of /usr/include/linux/videodev2.h?

I'll try to test some older version of debian later...


				Luca




More information about the ffmpeg-cvslog mailing list