[FFmpeg-cvslog] r14769 - trunk/configure
Måns Rullgård
mans
Mon Aug 18 22:08:35 CEST 2008
Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> On date Friday 2008-08-15 01:38:09 +0200, michael wrote:
>> Author: michael
>> Date: Fri Aug 15 01:38:09 2008
>> New Revision: 14769
>>
>> Log:
>> Add -fasm and -std=c99 when supported.
>>
>>
>> Modified:
>> trunk/configure
>>
>> Modified: trunk/configure
>> ==============================================================================
>> --- trunk/configure (original)
>> +++ trunk/configure Fri Aug 15 01:38:09 2008
>> @@ -1125,6 +1125,9 @@ TMPO="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$
>> TMPS="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.S"
>> TMPSH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.sh"
>>
>> +check_cflags -fasm
>> +check_cflags -std=c99
>> +
>
> 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?
Your Linux kernel headers are old, just like you'd expect from
debian. Get a newer set somewhere.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list