[Ffmpeg-devel] ffmpeg doesn't compile on Mac OS X anymore...

Diego Biurrun diego
Fri Oct 7 16:25:47 CEST 2005


On Fri, Oct 07, 2005 at 03:50:12PM +0200, Diego Biurrun wrote:
> On Thu, Oct 06, 2005 at 09:15:09PM +0100, Patrice Bensoussan wrote:
> > 
> > 2/ When using gcc 4.0, compilation aborts with the error (this is  
> > only a warning with gcc 3)
> > 
> > make -C libavutil all
> > cc -g -Wall -Wno-switch  -no-cpp-precomp -pipe -fomit-frame-pointer - 
> > force_cpusubtype_ALL -Wno-sign-compare -faltivec -Os -mdynamic-no-pic  
> > -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE - 
> > D_GNU_SOURCE  -c -o mathematics.o mathematics.c
> > In file included from mathematics.c:24:
> > common.h:551: error: static declaration of 'lrintf' follows non- 
> > static declaration
> > make[1]: *** [mathematics.o] Error 1
> 
> That's strange, does the lrintf check in configure fail for you then?

It works on 10.3.9 with gcc-3.3 and I don't get a warning there, BTW.
Strangely you are missing -O3 from CFLAGS...

Diego





More information about the ffmpeg-devel mailing list