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

Diego Biurrun diego
Mon Jan 30 14:11:15 CET 2006


On Mon, Jan 30, 2006 at 11:20:54AM +0100, Michel Bardiaux wrote:
> Diego Biurrun CVS wrote:
> >
> >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!

OK, but this is secondary for the moment.

> 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!

Does the problem go away if you add quotes where necessary?

Diego





More information about the ffmpeg-cvslog mailing list