[MPlayer-dev-eng] still problems with compiling on SunOS

Alex Beregszaszi alex at naxine.org
Sun Dec 30 19:25:51 CET 2001


On Sun, Dec 30, 2001 at 07:17:57PM +0100, pl wrote:
> Hi,
> 
> On Fri, Dec 28, 2001 at 07:56:43PM +0200, Arpi wrote:
> 
> > > ld: warning: symbol `quant_store' has differing sizes:
> > >         (file libmpeg2/libmpeg2.a(decode.o) value=0x8a04; file opendivx/libdecore.a(mp4_decoder.o) value=0x1c54);
> > >         libmpeg2/libmpeg2.a(decode.o) definition taken
> > strange. could you look at it? there shouldn't co-exists 2 definition of
> > this
> 
> I'm still looking why it gets defined twice with 2 different sizes :/
> 
> The array gets defined in libmpeg2/libmpeg2.a under both OS but it's
> defined another time with a different size in opendivx/*.a under SunOS.
> 
> Btw, grepping shows:
> 
> ./libavcodec/avcodec.h:#define MBC 48
> ./libmpeg2/mpeg2_internal.h:#define MPEG2_MBC 120
> ./opendivx/mp4_decoder.h:#define MBC                             48
> 
> ./libavcodec/avcodec.h:#define MBR 36
> ./libmpeg2/mpeg2_internal.h:#define MPEG2_MBR 72
> ./opendivx/mp4_decoder.h:#define MBR                             36
> 
> ./libavcodec/avcodec.h:extern int quant_store[MBR+1][MBC+1]; // [Review]
> ./libmpeg2/decode.c:int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
> ./libmpeg2/slice.c:extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
> ./opendivx/global.h:EXTERN int quant_store[MBR+1][MBC+1]; // [Review]
> 
> Is this wanted behavior ?
> 
> 
> There's also another error (still under this SunOS):
> 
> Undefined                       first referenced
>  symbol                             in file
> inet_pton                           libmpdemux/libmpdemux.a(network.o)
> 
> It's not available on this box so attached is the glibc version of the
> function.  I think it should go into libmpdemux but maybe not as
> inet_pton.c (a compatibility file ?).  Please add it.

I saw some libs under Sun, containing these inet transforming functions.
Please search the lib, instead of hardcoding it.

> 
> I'm adding a configure test for inet_pton() soon.
> 
> -- 
> Best regards,
>   pl





More information about the MPlayer-dev-eng mailing list