[MPlayer-users] Getting XviD support to work for mencoder.

Ergzay ergzay at gmail.com
Thu Oct 19 05:23:50 CEST 2006


On 2006/10/18, at 22:08, Alexander Strange wrote:

>
> On Oct 18, 2006, at 9:57 PM, Ergzay wrote:
>
>> I have gcc 3.3, ld cctools-525.obj~1, and make 3.79 all runnning on 
>> Mac OS X 10.3.9 on a 1.2 Ghz iBook G4.
>>
>> I have installed XviD with default configure of version 1.1.0. When I 
>> run configure it fails to detect XviD. Here is the relevant section 
>> of the configure.log.
>
>> ld: table of contents for archive: /usr/local/lib/libxvidcore.a is 
>> out of date; rerun ranlib(1) (can't load from it)
>
> Run (sudo) 'ranlib /usr/local/lib/libxvidcore.a' like it says. On 
> Darwin it needs to be done after installation, but I keep forgetting 
> to report that as an XviD bug.

When I run that I get this message:
ranlib: file: /usr/local/lib/libxvidcore.a(timer.o) has no symbols
Is this fine? It gave this same message at compile time of XviD.
Configure seems to detect it this time although it did give a few weird 
warnings/errors in the configure.log.

Ergzay

Contents of that section below:
============ Checking for XviD ============

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

cc -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer 
-faltivec -D__APPLE_ALTIVEC__ -I/usr/local/lib -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/local/include/ -I/usr/local/include/SDL 
-D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include  
-L/usr/local/lib -L/usr/X11R6/lib -o /tmp/mplayer-conf-6935-6916.o 
/tmp/mplayer-conf-12559-6916.c -lxvidcore -lm
ld: Undefined symbols:
_xvid_init

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


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

cc -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer 
-faltivec -D__APPLE_ALTIVEC__ -I/usr/local/lib -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/local/include/ -I/usr/local/include/SDL 
-D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include  
-L/usr/local/lib -L/usr/X11R6/lib -o /tmp/mplayer-conf-6935-6916.o 
/tmp/mplayer-conf-12559-6916.c -lxvidcore -lm

ldd /tmp/mplayer-conf-6935-6916.o
/tmp/mplayer-conf-6935-6916.o:
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 71.1.4)

Result is: yes
##########################################





More information about the MPlayer-users mailing list