>  > cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx -pipe
>  > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
>  > -mdynamic-no-pic -MD -fpie -DPIC  -I/sw/include  -I/usr/X11/include
>  > -I/sw/include/ -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
>  > -I/sw/include  -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus
>  > -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include
>  > -c -o sub/ass_mp.o sub/ass_mp.c
>  > ***********
>  > cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx -pipe
>  > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
>  > -mdynamic-no-pic -MD -fpie -DPIC  -I/sw/include  -I/usr/X11/include
>  > -I/sw/include/ -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
>  > -I/sw/include  -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus
>  > -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include
>  > -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c
>
> Here are the commands above on my system (with changes in mplayer.info
> as indicated):
>
> cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=core2 -pipe
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/include -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -I/sw/include/freetype2
> -DZLIB_CONST -I/sw/include/opus -I/sw/include/schroedinger-1.0
> -I/sw/include/liboil-0.3 -I/sw/include -c -o sub/ass_mp.o sub/ass_mp.c
>
> cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=core2 -pipe
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/include -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -I/sw/include/freetype2
> -DZLIB_CONST -I/sw/include/opus -I/sw/include/schroedinger-1.0
> -I/sw/include/liboil-0.3 -I/sw/include -c -o libmpcodecs/vd_mpng.o
> libmpcodecs/vd_mpng.c
>
> For some reason the -I/usr/X11/include is pushed way ahead in my case,
> which explains the error.  Trouble is, I don't know why.

That's actually very useful. The actual cause is not that
-I/usr/X11/include is earlier in the command, but that the preceeding
-I/sw/include in my sample is missing from yours. So there's something not
being properly detected, which normally puts -I/sw/include before the X11
flags. I'll dig into the Makefile flag ordering later tonight.

Hanspeter


-- 



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to