[MPlayer-users] configure fails on CVS xvid

vitk0 vitk0 at seznam.cz
Sat Apr 29 15:44:19 CEST 2006


I've just built and installed fresh CVS xvid following instructions in

http://www.mplayerhq.hu/DOCS/HTML/cs/video-codecs.html,

updated my mplayer CVS source, but configure says 'no xvid'. Please see
details from configure.log:

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

cc -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math 
-fomit-frame-pointer    -o /tmp/mplayer-conf-21687-27684.o 
/tmp/mplayer-conf-5067-27684.c -I/usr/local/include/ -L/usr/local/lib/ 
-lxvidcore -lm
/tmp/ccaZ2OaS.o(.text+0x29): In function `main':
: undefined reference to `xvid_init'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-21687-27684.o
ldd: /tmp/mplayer-conf-21687-27684.o: No such file or directory


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

cc -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math 
-fomit-frame-pointer    -o /tmp/mplayer-conf-21687-27684.o 
/tmp/mplayer-conf-5067-27684.c -I/usr/local/include/ -L/usr/local/lib/ 
-lxvidcore -lm
/usr/local/lib//libxvidcore.a(encoder.o)(.text+0x3040): In function 
`FrameCodeP':
: undefined reference to `pthread_create'
/usr/local/lib//libxvidcore.a(encoder.o)(.text+0x30c0): In function 
`FrameCodeP':
: undefined reference to `pthread_join'
/usr/local/lib//libxvidcore.a(encoder.o)(.text+0x4418): In function 
`FrameCodeB':
: undefined reference to `pthread_create'
/usr/local/lib//libxvidcore.a(encoder.o)(.text+0x4484): In function 
`FrameCodeB':
: undefined reference to `pthread_join'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-21687-27684.o
ldd: /tmp/mplayer-conf-21687-27684.o: No such file or directory

Result is: no
...

What should I try next? Thanks for any tips (and patience with someone who
doesn't speak C).

Vit




More information about the MPlayer-users mailing list