[FFmpeg-devel] [PATCH] fix implicit function declarations without _XOPEN_SOURCE
Mon Aug 25 21:07:55 CEST 2008
On Aug 25, 2008, at 1:16 PM, Adrian Stutz wrote:
> On Mon, Aug 25, 2008 at 7:01 PM, David Conrad <lessen42 at gmail.com>
>> Works for me.
>> It sounds like you're using 10.5 headers. Make sure you're specifing
>> the sdk in cflags as well as ldflags. Otherwise make sure you have
>> latest developer tools.
> I've added "-mmacosx-version-min=10.4 -isystem /Developer/SDKs/
> to both cflags and ldflags as well as set
> "NEXT_ROOT=/Developer/SDKs/MacOSX10.4u.sdk" and
> "MACOSX_DEPLOYMENT_TARGET=10.4". I think this problem wouldn't occur
> if I
> didn't because then the linker could find the versioned symbols.
> Do you have _XOPEN_SOURCE in utils.c? And what flags are you using?
Yes, I'm using the latest unmodified SVN, which has _XOPEN_SOURCE
defined to 500. However, I'm using -isysroot instead of -isystem,
which you should use according to Apple . But even using -isystem
and setting the same environment variables you set I can't reproduce
the problem you're having.
../configure --extra-cflags="-isysroot /Developer/SDKs/MacOSX10.4u.sdk
-mmacosx-version-min=10.4" --extra-ldflags="-isysroot /Developer/SDKs/
More information about the ffmpeg-devel