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

Diego Biurrun diego at biurrun.de
Mon Mar 19 01:13:21 CET 2007


On Sun, Mar 18, 2007 at 02:21:47PM +0600, 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.'.

I've committed the workaround even though it's just a workaround, you
should use 'make install' with x264.

Diego



More information about the MPlayer-dev-eng mailing list