[FFmpeg-cvslog] r14769 - trunk/configure
The Wanderer
inverseparadox
Tue Aug 19 13:29:47 CEST 2008
M?ns Rullg?rd wrote:
> Stefano Sabatini wrote:
>> On date Tuesday 2008-08-19 00:43:49 +0200, Luca Abeni wrote:
>>> 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?
>>
>> stefano at geppetto ~/s/ffmpeg> cat /etc/debian_version
>> lenny/sid
>
> Means nothing to me.
Translates to "testing" (next-to-most-recent they provide) and
"unstable" (most recent they provide); I currently run much the same
mix.
>> linux headers:
>> 2.6.22-4
>
> .22 is fairly recent, but -4 means it's been patched.
Is this from the linux-libc-dev package, the libc6-dev package, or an
actual Linux source package?
For the purpose at hand, I believe you need one of the former two,
because of the "system headers should match the C library" issue (which
I've been peripherally aware of for years but only recently saw
explained for the first time).
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
Secrecy is the beginning of tyranny.
More information about the ffmpeg-cvslog
mailing list