[FFmpeg-cvslog] r14769 - trunk/configure

Michael Niedermayer michaelni
Tue Aug 19 23:28:14 CEST 2008


On Mon, Aug 18, 2008 at 09:56:45PM +0200, Stefano Sabatini wrote:
> 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?
> /usr/include/linux/videodev2.h:692: error: expected specifier-qualifier-list before ?v4l2_std_id?
> /usr/include/linux/videodev2.h:709: error: expected specifier-qualifier-list before ?v4l2_std_id?
> /usr/include/linux/videodev2.h:747: error: expected specifier-qualifier-list before ?v4l2_std_id?
> /usr/include/linux/videodev2.h:770: error: expected specifier-qualifier-list before ?__s64?
> /usr/include/linux/videodev2.h:1145: error: expected specifier-qualifier-list before ?__u64?
> /usr/include/linux/videodev2.h:1306: error: expected specifier-qualifier-list before ?__u64?
> libavdevice/v4l2.c: In function ?first_field?:
> libavdevice/v4l2.c:191: error: ?v4l2_std_id? undeclared (first use in this function)
> libavdevice/v4l2.c:191: error: (Each undeclared identifier is reported only once
> libavdevice/v4l2.c:191: error: for each function it appears in.)
> libavdevice/v4l2.c:191: error: expected ?;? before ?std?
> libavdevice/v4l2.c:193: error: ?std? undeclared (first use in this function)
> libavdevice/v4l2.c:197: error: expected ?)? before numeric constant
> libavdevice/v4l2.c:197: error: expected ?)? before numeric constant
> libavdevice/v4l2.c:197: error: expected ?)? before numeric constant
> libavdevice/v4l2.c: In function ?v4l2_set_parameters?:
> libavdevice/v4l2.c:474: error: ?struct v4l2_standard? has no member named ?name?
> libavdevice/v4l2.c:480: error: ?struct v4l2_standard? has no member named ?id?
> libavdevice/v4l2.c:481: error: ?v4l2_std_id? undeclared (first use in this function)
> libavdevice/v4l2.c:481: error: ?struct v4l2_standard? has no member named ?id?
> make: *** [libavdevice/v4l2.o] Error 1

should be fixed i think

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080819/b0f648eb/attachment.pgp>



More information about the ffmpeg-cvslog mailing list