[Ffmpeg-cvslog] CVS: ffmpeg configure,1.239,1.240

Michel Bardiaux mbardiaux
Mon Jan 30 11:20:54 CET 2006


Diego Biurrun CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg
> In directory mail:/var2/tmp/cvs-serv13674
> 
> Modified Files:
> 	configure 
> Log Message:
> On MinGW it is not possible to build shared and static libraries at once.
> Add means to disable building the static libraries and fix a few issues
> with the MinGW build.
> All the hard work done by Alexander Strasser, minor changes by myself.
> 
> 
I have tried and there seems to be something wrong.

Virgin CVS co, then (under mingw)

  ./configure --enable-shared --disable-static --enable-memalign-hack

make

I get:

make -C libavutil all
make[1]: Entering directory 
`//pktbes02/dsk3/people/michel/internet/ffmpeg-mingw-latest/libavutil'
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o 
mathematics.o mathematics.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o 
integer.o integer.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o 
rational.o rational.c
gcc -O3 -g -Wall -Wno-switch  -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o 
intfloat_readwrite.o intfloat_readwrite.c
rm -f C:\Program
ar rc C:\Program mathematics.o integer.o rational.o intfloat_readwrite.o
c:\mingw\bin\ar.exe: C:Program: No such file or directory
make[1]: *** [C:\Program] Error 1
make[1]: Leaving directory 
`//pktbes02/dsk3/people/michel/internet/ffmpeg-mingw-latest/libavutil'
make: *** [lib] Error 2

First, I dont see why ar shows up, since I disabled static!

Net, the only place where Program (I guess Files) appears is in the 1st 
lines of config.mak:

prefix=$(DESTDIR)/c/Program Files/FFmpeg
libdir=$(DESTDIR)/c/Program Files/FFmpeg/lib
bindir=$(DESTDIR)/c/Program Files/FFmpeg
mandir=$(DESTDIR)/c/Program Files/FFmpeg/man

I dont do install so these should not play any role.

But unless one is *very* careful when using these variables, trouble 
will happen!

-- 
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
http://www.mediaxim.com/





More information about the ffmpeg-cvslog mailing list