[Ffmpeg-devel] cabac.h compile error on MinGW
Plotky, Jon
Jon.Plotky
Tue Nov 7 21:16:33 CET 2006
Michael Niedermayer wrote:
> On Tue, Nov 07, 2006 at 12:31:36PM -0500, Plotky, Jon wrote:
> > I pulled ffmpeg from SVN yesterday and tried to compile.
> Got the error
> > shown below. My MinGW setup compiles an old CVS version of ffmpeg
> > correctly.
> >
> > I did:
> > 1) svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
> > 2) ./configure --disable-static --enable-shared --enable-amr_nb
> > --enable-memalign-hack --enable-mingw32
> > 3) make
> >
> > GCC version: $ gcc --version
> > gcc.exe (GCC) 3.2.3 (mingw special 20030504-1)
> >
> > The output of configure is down below. The last lines of
> the make output
> > are:
> >
> > gcc -I/c/ffmpeg/libswscale -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64
> > -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I/c/ffmpeg -I/c/ffmpeg
> > -I/c/ffmpeg/libavutil -g -Wall -Wno-switch -Wdisabled-optimization
> > -Wpointer-arith -Wredundant-decls -Winline -O3 -c -o h261.o h261.c
> > gcc -I/c/ffmpeg/libswscale -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64
> > -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I/c/ffmpeg -I/c/ffmpeg
> > -I/c/ffmpeg/libavutil -g -Wall -Wno-switch -Wdisabled-optimization
> > -Wpointer-arith -Wredundant-decls -Winline -O3 -c -o h264.o h264.c
>
> -fomit-frame-pointer should be amongth the flags, it seems not and i
> dont know why not ...
>
Adding -fomit-frame-pointer gave a successful compile of h264.c. I'll
try to dig into configure and find why it's not there.
More information about the ffmpeg-devel
mailing list