[MPlayer-dev-eng] [PATCH] config.h from MPlayer clashes with config.h from x264

Jan Knutar jknutar at nic.fi
Sun Mar 18 12:36:04 CET 2007


On Sunday 18 March 2007 10:21, Vladislav Naumov wrote:
> config.h clashes with config.h from x264 when path to x264 includes
> is passed via --with-extraincdir configure option.
>
> This produces very confusing error messages (like multiple
> fseeko/ftello in stdio.h).
>
> Root of the problem is most source files just #include "config.h",
> and hope that Makefile has a right order of directories in CFLAGS.
> This is not the case with $(OPTFLAGS) - they add x264 dirs to the
> head of the list of directories, before '-I.' (where correct config.h
> resides).
>
> Patch I've attached puts $(OPTFLAGS) after '-I.'.

The "proper" way these days is to use "make install" in x264, and point 
MPlayer configure to the directory where x264 installed its files. It 
doesn't install config.h.



More information about the MPlayer-dev-eng mailing list