[MPlayer-dev-eng] [PATCH] Problem using libavcodec.so

Ivan Kalvachev ikalvachev at gmail.com
Tue Aug 23 17:31:01 CEST 2005


2005/8/18, Diego Biurrun <diego at biurrun.de>:
> On Mon, Aug 15, 2005 at 05:53:12PM +0200, Panagiotis Issaris wrote:
> >
> > For some time now, mencoder CVS failed to link dynamically to libavcodec.so:
> >
> > cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
> > [...]
> > libmpcodecs/libmpencoders.a(ae.o)(.text+0xb9): In function
> > `new_audio_encoder':
> > : undefined reference to `mpae_init_lavc'
> > collect2: ld returned 1 exit status
> >
> > This seems to be caused by libmpencoders.a not containing ae_lavc.o.
> >
> > The attached patch contains a fix for this.
> 
> Thanks, applied.

DonDiego, please don't apply patches blindly.

There is something wrong in this patch. The problem is that right
before the new Makefile line there is line that does the same if there
is ANY libavcodec.
The question is why it doesn't work, but the separate *SO one does.

BTW it is ugly to see
CONFIG_LIBAVCODECSO=auto

I would be happy to get the command line, configure.log, config.h,
config.mak of the failing build.
Until then i will try to reproduce the situation by myself.

Ivan




More information about the MPlayer-dev-eng mailing list