[MPlayer-cygwin] x264 - linker error
Thomas Plank
tplank at gmx.at
Mon Oct 8 22:31:52 CEST 2007
Hi!
The latest SVN of x264 is not working when I'm compiling mplayer. Have a
look at:
============ 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; }
gcc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -static /cygdrive/d/cdrtools/mplayer/live//liveMedia/libliveMedia.a /cygdrive/d/cdrtools/mplayer/live//groupsock/libgroupsock.a /cygdrive/d/cdrtools/mplayer/live//UsageEnvironment/libUsageEnvironment.a /cygdrive/d/cdrtools/mplayer/live//BasicUsageEnvironment/libBasicUsageEnvironment.a -L/cygdrive/d/cdrtools/mplayer/live/ -lwinmm -liconv -lncurses -lpng -lz -ljpeg -lcdio_cdda -lcdio -lcdio_paranoia -lwinmm -L/usr/local/lib -L/usr/local/lib -lfreetype -lz -lfontconfig -lexpat -lfreetype -lz -lz -lvorbis -logg -lspeex -ladvapi32 -lole32 -lstdc++ -lxvidcore -lm -lgdi32 -lwinmm -lgdi32 -o /tmp/mplayer-conf-20572-1528.exe /tmp/mplayer-conf-6495-1528.c -lx264
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x7095): undefined reference to `__assert'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x772): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xfee): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x73ff): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x9ab2): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x9b76): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x132de): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x1333b): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x14b1d): undefined reference to `__assert'
/usr/local/lib/libx264.a(csp.o):csp.c:(.text+0x98f): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x1428): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x1482): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x26dd): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x26f9): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x2b89): undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x40e3): more undefined references to `__assert' follow
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0xa3a): undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1d0d): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3972): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3990): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3a48): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x52af): undefined reference to `__assert'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x93): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xc0): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xf9): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x1d9): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x206): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x249): more undefined references to `__imp___iob' follow
collect2: ld returned 1 exit status
#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; }
gcc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -static /cygdrive/d/cdrtools/mplayer/live//liveMedia/libliveMedia.a /cygdrive/d/cdrtools/mplayer/live//groupsock/libgroupsock.a /cygdrive/d/cdrtools/mplayer/live//UsageEnvironment/libUsageEnvironment.a /cygdrive/d/cdrtools/mplayer/live//BasicUsageEnvironment/libBasicUsageEnvironment.a -L/cygdrive/d/cdrtools/mplayer/live/ -lwinmm -liconv -lncurses -lpng -lz -ljpeg -lcdio_cdda -lcdio -lcdio_paranoia -lwinmm -L/usr/local/lib -L/usr/local/lib -lfreetype -lz -lfontconfig -lexpat -lfreetype -lz -lz -lvorbis -logg -lspeex -ladvapi32 -lole32 -lstdc++ -lxvidcore -lm -lgdi32 -lwinmm -lgdi32 -o /tmp/mplayer-conf-20572-1528.exe /tmp/mplayer-conf-6495-1528.c -lx264 -lm
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x7095): undefined reference to `__assert'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x772): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xfee): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x73ff): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x9ab2): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x9b76): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x132de): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x1333b): undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x14b1d): undefined reference to `__assert'
/usr/local/lib/libx264.a(csp.o):csp.c:(.text+0x98f): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x1428): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x1482): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x26dd): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x26f9): undefined reference to `__assert'
/usr/local/lib/libx264.a(frame.o):frame.c:(.text+0x2b89): undefined reference to `__assert'
/usr/local/lib/libx264.a(macroblock.o):macroblock.c:(.text+0x40e3): more undefined references to `__assert' follow
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0xa3a): undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1d0d): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3972): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3990): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3a48): undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x52af): undefined reference to `__assert'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x93): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xc0): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xf9): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x1d9): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x206): undefined reference to `__imp___iob'
/usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x249): more undefined references to `__imp___iob' follow
collect2: ld returned 1 exit status
Result is: no (in libavcodec: no)
##########################################
I think this problem is already longer existing but in the last time I
never examined the config.log file.
--
mfg Thomas
More information about the MPlayer-cygwin
mailing list