[MPlayer-users] Compilation problem

lochon at roulaise.net lochon at roulaise.net
Thu Aug 8 01:38:02 CEST 2002


Hi,

I'm new to this list, and I report a problem I have when compiling
mplayer (any version, afaik).

It doesn't link propoerly, because of liba52.
In fact, I have liba52 on my system (to use the ac3 plugin for xmms,
since mplayer doesn't play .ac3 at the moment), and at link it
complains:

libmpcodecs/libmpcodecs.a(ad_a52.o): In function `a52_fillbuff':
ad_a52.o(.text+0x126): undefined reference to `crc16_block'
libmpcodecs/libmpcodecs.a(ad_a52.o): In function `init':
ad_a52.o(.text+0x425): undefined reference to `a52_resample_init'
libmpcodecs/libmpcodecs.a(ad_a52.o): In function `decode_audio':
ad_a52.o(.text+0x574): undefined reference to `a52_resample'
collect2: ld returned 1 exit status

(mplayer and mencoder)

So, I have to replace "-Lliba52 -la52" with "liba52/*.o"

cvs versions of liba52 don't work either.





More information about the MPlayer-users mailing list