[MPlayer-users] Configuring 1.0rc1 with XviD 1.1.2 on OS X

David Parent drparent at mindspring.com
Thu Dec 14 23:29:09 CET 2006


Firstly, I'm on a Mactel with OS X v10.4.7, and Xcode 2.4.1 installed.

MPlayer's configure script is not recognizing XviD. I've compiled  
XviD 1.1.2 successfully using the Mactel ASM fix here, minus the  
changes to the CFLAGS and prefix:
http://rob.opendot.cl/index.php/useful-stuff/xvid-with-asm-on-os-x/

Running ranlib on /usr/local/lib/libxvidcore.a appeared to be  
successful. Some output from configure.log:

============ Checking for XviD ============

#include <xvid.h>
int main(void) { xvid_init(0, 0, 0, 0); return 0; }

cc -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit- 
frame-pointer     -read_only_relocs suppress -o /tmp/mplayer- 
conf-16824-11460.o /tmp/mplayer-conf-8605-11460.c -L/usr/local/lib/ 
libxvidcore.a -lxvidcore -lm
/usr/bin/ld: Undefined symbols:
_xvid_init
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-16824-11460.o
otool: can't open file: /tmp/mplayer-conf-16824-11460.o (No such file  
or directory)


#include <xvid.h>
int main(void) { xvid_global(0, 0, 0, 0); return 0; }

cc -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit- 
frame-pointer     -read_only_relocs suppress -o /tmp/mplayer- 
conf-16824-11460.o /tmp/mplayer-conf-8605-11460.c -L/usr/local/lib/ 
libxvidcore.a -lxvidcore -lm
   /usr/bin/ld: Undefined symbols:
   _MBFieldTest_mmx
   _bgr_to_yv12_mmx
   _bgra_to_yv12_mmx
   _calc_cbp_3dne
   _calc_cbp_mmx
   _calc_cbp_sse2

That continues for awhile, and the result is obviously "no."

Any help is greatly appreciated.

- Dave



More information about the MPlayer-users mailing list