[MPlayer-users] compile with x264

Dylan R. Semler dsemler at macalester.edu
Sat Apr 22 21:27:34 CEST 2006


I'm a bit new to here.  I'm trying to compile mplayer with x264 support 
so that I can encode dvds with this.  However, configure fails to detect 
that I have x264 installed.  I'm running Fedora Core 5 and have tried 
this with the x264 rpms and compiling them from the svn.

I'm running compat-gcc to make it compile under gcc 4.1.0.

configure.log reports:
============ Checking for x264 ============

#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 22
#error We do not support old versions of x264. Get the latest from SVN.
#endif
int main(void) { x264_encoder_open((void*)0); return 0; }

gcc32     /tmp/mplayer-conf-10670-14048.c -o 
/tmp/mplayer-conf-19339-14048.o -lx264 -lm
/usr/local/lib/libx264.a(encoder.o): In function `x264_encoder_encode':
encoder.c:(.text+0x4648): undefined reference to `pthread_create'
encoder.c:(.text+0x466d): undefined reference to `pthread_join'
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-19339-14048.o
ldd: /tmp/mplayer-conf-19339-14048.o: No such file or directory

Result is: no

any ideas?




More information about the MPlayer-users mailing list