[Ffmpeg-devel] mingw (--enable-shared) build broken

Andrew Voznytsa andrew.voznytsa
Thu Aug 3 21:05:04 CEST 2006


Diego Biurrun wrote:
> On Wed, Aug 02, 2006 at 02:25:52PM +0300, Andrew Voznytsa wrote:
>   
>> Diego Biurrun wrote:
>>     
>>> I suspect the problem was introduced in r5699.  Could you verify this?
>>>   
>>>       
>> seems that 'configure' is broken in this revision..
>>
>> sh-2.04$ ./configure --disable-static --enable-shared
>>     
>   ^^^^^^^^
>
> Apparently this problem goes away if you upgrade bash to version 2.05.
>   
Unfortunately no luck - 2.05b does not work in my case (it reports some
malloc(0) problem and crashes).

So let me propose another way to find solution.

Below is 'make all' output (avcodec case).

Last a few lines:

========================================================
gcc -shared -Wl,-soname,avcodec-51.dll  -o avcodec-51.dll bitstream.o
[skip] w32thread.o -L../libavutil -lavutil
lib /machine:i386 /def:avcodec-51.def
Microsoft (R) Library Manager Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

LIB : fatal error LNK1104: cannot open file "avcodec-51.def"
make: [avcodec-51.dll] Error 80 (ignored)
ln -sf avcodec-51.dll avcodec.dll

========================================================

As you may see there is no option to generate .def file.

Is there enough info to fix it? If you need I may do other test or send
you config.mak/etc/etc..

Best regards,
Andrew Voznytsa





More information about the ffmpeg-devel mailing list