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

Michel Bardiaux mbardiaux
Mon Feb 13 16:29:23 CET 2006

M?ns Rullg?rd wrote:
> Michel Bardiaux said:
>>Michel Bardiaux wrote:
>>>>>>>ldconfig || true
>>>>>>>/bin/sh.exe: ldconfig: command not found
>>>>>>>install -d "/c/Program Files/FFmpeg"
>>>>>>>install: `/c/Program Files/FFmpeg' exists but is not a directory
>>>>>>>make: *** [install-progs] Error 1
>>A 10l for someone, patch attached.
> Fixed, thanks.
As we say here, "Das nix".

But now when testing the shared-libs build, very weird things happen:

make -C libavutil all
make[1]: Entering directory 
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 
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.

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpegconfigure.pat
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060213/4074e0e0/attachment.asc>

More information about the ffmpeg-devel mailing list