[MPlayer-cygwin] Updated MPlaer MinGW HOWTO

Stefan Gürtler helfmir at surfeu.de
Tue Aug 16 21:26:38 CEST 2005


Thomas Plank schrieb:
> Stefan Gürtler (helfmir at surfeu.de) wrote:
> 
> 
>>Hi folks
>>I had a look over the MPlayer MinGW HOWTO, as x264 now supports building
>>unsing ./configure, make and make install.
> 
> 
> And you're sure, that x264 works with mplayer?
> 
> I can compile x264, but ./configure of mplayer still says
> 
> Checking for x264 ... no
> 
> When I have a look at configure.log, there are a lot of complaints about
> unused references, so x264 will not be used.
> 
> ============ Checking for x264 ============
> 
> #include <inttypes.h>
> #include <x264.h>
> #if X264_BUILD < 29
> #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   -static  /tmp/mplayer-conf-28785-3536.c -o /tmp/mplayer-conf-22491-3536.o -L/usr/local/lib -lx264 -lm
> /usr/local/lib/libx264.a(csp.o):csp.c:(.text+0x9af): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0xefc): undefined reference to `__assert'
> /usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3039): undefined reference to `__assert'
> /usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3123): undefined reference to `__assert'
> /usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x3184): undefined reference to `__assert'
> /usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x31a2): undefined reference to `__assert'
> /usr/local/lib/libx264.a(common.o):common.c:(.text+0x392): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(common.o):common.c:(.text+0x625): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xa6): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(eval.o):eval.c:(.text+0xe1): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x126): undefined reference to `__imp___iob'
> /usr/local/lib/libx264.a(eval.o):eval.c:(.text+0x207): more undefined references to `__imp___iob' follow
> collect2: ld returned 1 exit status
> 
> ldd /tmp/mplayer-conf-22491-3536.o
> ./configure: line 43: ldd: command not found
> 
> Result is: no
> ##########################################
> 
> 
> Ok, my platform is CYGWIN, but perhaps there are not many differences in
> the special case of x264.
I have been linking mplayer/mencoder against libx264 successfully for 
quite a time, and mencoder with x264 was used for encoding x264 with 
MeGUI on win32, before the x264.exe cli was enhanced. So compiling 
should definitely work. Do you use a fresh cvs checkout of the mplayer 
source? Did you remove all old x264.h? Old headers can cause problems.
I will try to compile with my (rather old) cygwin environment now.


Stefan




More information about the MPlayer-cygwin mailing list