[MPlayer-users] cygwin mplayer+x264

Enzo v.deflorio at katamail.com
Fri Nov 10 11:34:09 CET 2006


Hallo,
is there any way to compile x264 with mplayer under cygwin without using
MinGW? I downloaded the latest of x264 and mplayer and compiled both of
them without any problem; but mplayer for some unknown reason does not
recognize x264:


============ Checking for x264 ============

#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 53
#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; }

cc -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer  -I/usr/X11R6/include  -I/usr/
include/freetype2   -o /tmp/mplayer-conf-12658-2832.o
/tmp/mplayer-conf-32667-2832.c -L/home/Vincenz/newx264/
-lx264 -lm
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x3780): undefined
reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8237):
undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8255):
undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8273):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1720):
undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x42a2):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x42e6):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x443b):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x4d2c):
undefined reference to `__assert'
/usr/local/lib/libx264.a(csp.o):csp.c:(.text+0x14b3): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x388c): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x38a9): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3acd): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x331): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x377): more undefined
references to `__imp___iob' follow
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-12658-2832.o
./configure: line 68: ldd: command not found

#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 53
#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; }

cc -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer  -I/usr/X11R6/include  -I/usr/
include/freetype2   -o /tmp/mplayer-conf-12658-2832.o
/tmp/mplayer-conf-32667-2832.c -L/home/Vincenz/newx264/
-lx264 -L/usr/X11R6/lib -lXext -lX11 -lm
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x3780): undefined
reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8237):
undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8255):
undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x8273):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1720):
undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x42a2):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x42e6):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x443b):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x4d2c):
undefined reference to `__assert'
/usr/local/lib/libx264.a(csp.o):csp.c:(.text+0x14b3): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x388c): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x38a9): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3acd): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x331): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x377): more undefined
references to `__imp___iob' follow
collect2: ld returned 1 exit status

ldd /tmp/mplayer-conf-12658-2832.o
./configure: line 68: ldd: command not found

Result is: no
##########################################

Apparently using MinGW should solve the problem but, in your experience,
is there any way to have the ball rolling on cygwin as well?

Thanks, greetings

Enzo



More information about the MPlayer-users mailing list