[MPlayer-users] XviD / libavcodec compile clash

Chris Phillips chris at cakenet.dynu.com
Fri Mar 22 17:22:01 CET 2002


having trouble compiling with both XviD and libavcodec, using:

./configure --cc=gcc-3.0.4 
--with-xvidcore=/usr/src/xvid/xvidcore/build/generic/libcore.a
make

on linking all objects to make mplayer it bombs with:

===================
/usr/src/xvid/xvidcore/build/generic/libcore.a(quant_matrix.o)(.data+0x20): 
multiple definition of `default_intra_matrix'
libavcodec/libavcodec.a(mpeg12.o):/usr/src/MPlayer-20020322/libavcodec/mpeg12.c:63: 
first defined here
/usr/bin/ld: Warning: size of symbol `default_intra_matrix' changed from 
128 to 64 in 
/usr/src/xvid/xvidcore/build/generic/libcore.a(quant_matrix.o)
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
===================
everything's installed ok i presume, well avcodec is certainly fine and i 
followed all the instructions on installing XviD. 

If i don't specfiy --with-xvidcore= then it picks up the libxvidcore.so 
that xvid installed, from it's make install.

Also... there doesn't seem to be any documentation on how to actually 
encode using XviD. it says it faster than divx4 and all that, but doesn't 
seem to say anywhere how to use the thing. 

chris




More information about the MPlayer-users mailing list