[Ffmpeg-devel][PATCH] Bug in libavutil Makefile (or maybe just mystupidity? Be gentle...)

Diego Biurrun diego
Mon Feb 13 17:33:09 CET 2006

On Mon, Feb 13, 2006 at 04:29:23PM +0100, Michel Bardiaux wrote:
> But now when testing the shared-libs build, very weird things happen:
> make -C libavutil all
> make[1]: Entering directory 
> `//pktbes02/dsk3/people/michel/internet/ffmpeg-mingw-tutorial/libavutil'
> gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. 
> mathematics.o mathematics.c
> In file included from mathematics.c:24:
> common.h:23:24: config.h: No such file or directory
> In file included from mathematics.c:24:
> common.h:594: warning: static declaration for `lrintf' follows non-static
> common.h: In function `lrintf':
> common.h:610: internal error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[1]: *** [mathematics.o] Error 1
> make[1]: Leaving directory 
> `//pktbes02/dsk3/people/michel/internet/ffmpeg-mingw-tutorial/libavutil'
> make: *** [lib] Error 2
> Indeed config.h is missing. Looking back at the output from configure, 
> it ends with:
> Creating config.mak and config.h...
> config.h is unchanged
> Which is not normal after a make distclean! If I force the mv in 
> configure (line 1946) make + make install works.
> Now, I'm not a bashist, but I still managed to fix it, patch attached.

Alternative solution: Overwrite config.h unconditionally.  This is what
I have just committed, so your problem should be fixed.

If you still have troubles, please report them, I want all obvious build
system issues ironed out before the release.


More information about the ffmpeg-devel mailing list