[MEncoder-users] X264 not recognised during configure

Spirou Spirou spirouspy at hotmail.com
Fri Jun 16 11:15:10 CEST 2006


Thanks Loren,

I've tried :
- compiling x264 without the flag -mno-cygwin, the library doesn't compile 
anymore
- forcing mplayer to recognize x264 by modifying config.mak and config.h (I 
know, it's bad) and setting x264 value to '1', mplayer doesn't compile 
("undefined reference to `_x264encopts_conf'")
- forcing the flag -mno-cygwin in the file config.mak (I know it's bad too), 
but mplayer doesn't compile :
    In file included from mplayer.c:7:
    config.h:605:1: warning: "WIN32" redefined
    <command line>:3:1: warning: this is the location of the previous 
definition
    In file included from libmpdemux/stream.h:54,
                 from mplayer.c:183:
    libmpdemux/network.h:16:19: netdb.h: No such file or directory
    libmpdemux/network.h:17:24: netinet/in.h: No such file or directory
    libmpdemux/network.h:18:24: sys/socket.h: No such file or directory
    libmpdemux/network.h:19:23: arpa/inet.h: No such file or directory
    make: *** [mplayer.o] Erreur 1
- uninstalling mingw libraries, but I can't because the installer requires 
depencies :
    Package: gcc-mingw-core
	Required by: gcc, gcc-core, gcc-mingw
    Package: gcc-mingw-g++
	Required by: gcc, gcc-g++
    Package: mingw-runtime
	Required by: gcc, gcc-core, gcc-g++

I begin to desesperate.

Laurent.


>From: Loren Merritt <lorenm at u.washington.edu>
>Reply-To: MEncoder usage discussions <mencoder-users at mplayerhq.hu>
>To: MEncoder usage discussions <mencoder-users at mplayerhq.hu>
>Subject: Re: [MEncoder-users] X264 not recognised during configure
>Date: Thu, 15 Jun 2006 14:58:38 -0700 (PDT)
>
>On Thu, 15 Jun 2006, Spirou Spirou wrote:
>
>>I'm trying to use mencoder with x264 but the configure script doesn't 
>>detect it.
>>Of course I've download the latest SVN, compiled and installed it 
>>(configure
>>>make > make install), but during the configure check I've always 
>>>"Checking
>>for x264 ... no", even if I try to force it. The libraries and headers are 
>>present into the good folders.
>>My command line is :
>>$ ./configure --with-extraincdir=/usr/local/include 
>>--with-extralibdir=/usr/local/lib --with-x264libdir=/usr/local/lib/ 
>>--with-x264incdir=/usr/local/include --enable-x264
>>
>>I've got the following in the configure.log :
>[...]
>>/usr/local/lib//libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x4b38): 
>>undefined reference to `__assert'
>>/usr/local/lib//libx264.a(csp.o):csp.c:(.text+0x15b2): undefined reference 
>>to `__imp___iob'
>[...]
>>
>>I'm using cygwin under Windows XP and my mplayer and x264 versions were 
>>updated today.
>
>This error is probably caused by mixing cygwin and mingw runtime libraries. 
>i.e. libx264 was compiled with -mno-cygwin and mplayer wasn't, or vice 
>versa.
>
>--Loren Merritt
>_______________________________________________
>MEncoder-users mailing list
>MEncoder-users at mplayerhq.hu
>http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users





More information about the MEncoder-users mailing list