[FFmpeg-devel] Compilation broken on PPC/OS X 10.4

Martin Storsjö martin
Mon Mar 8 15:55:43 CET 2010


On Mon, 8 Mar 2010, M?ns Rullg?rd wrote:

> How does sys/signal.h end up being included?  None of our headers go 
> anywhere near it.

It gets included through this path:

In file included from 
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/wait.h:110,
                 from 
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdlib.h:64,
                 from ./libavutil/common.h:35,
                 from ./libavutil/bswap.h:31,
                 from ./libavutil/intreadwrite.h:24,
                 from ./libavcodec/dsputil.h:33,
                 from libavcodec/ppc/dsputil_altivec.h:27,
                 from libavcodec/ppc/check_altivec.c:26:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/signal.h:66:2: error: 
#error foo

> Does moving the "" includes down after the <> ones help?

Doh, /me hangs his head in shame. Yes, that works just as well. That's a 
_much_ cleaner fix.

// Martin



More information about the ffmpeg-devel mailing list