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

Michel Bardiaux mbardiaux
Mon Jan 30 14:55:50 CET 2006


Diego Biurrun wrote:
> 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?

It seems prefix et al. have nothing to do with the failure to build 
libavutil. What I have is this in my environment:

LIB=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\

Where that comes from is a mystery... I have unset it and relaunched 
configure, now it seems to loop, but there is another CPU hog on my PC 
now, so its hard to be sure. Stay tuned, I will report as soon as I have 
more info.

> 
> Diego
> 
> _______________________________________________
> ffmpeg-cvslog mailing list
> ffmpeg-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-cvslog


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