[darwinbuild-dev] Missing Availability.h with 9G55
Craig Setera
craigjunk at setera.org
Tue Apr 28 08:47:59 PDT 2009
Continuing to make progress thanks to your help. I loaded CF and
Security and managed to get further. Now I'm seeing:
In file included from /System/Library/Frameworks/Security.framework/
Headers/Security.h:50,
from /SourceCache/ppp/ppp-314.0.1/Helpers/pppd/
auth.c:2764:
/System/Library/Frameworks/Security.framework/Headers/SecBase.h:63:
error: syntax error before 'SecKeychainAttrType'
The source code in that header is:
typedef OSType SecKeychainAttrType;
Any idea where OSType would be declared? Also, what is the difference
between doing "darwinbuild CF" rather than "darwinbuild -load CF"? I
had done the former, but it required the latter.
Thanks again,
Craig
On Apr 27, 2009, at 9:46 PM, William Siegrist wrote:
> On Apr 27, 2009, at 7:40 PM, Craig Setera wrote:
>
>> I'm still new to darwinbuild and running into a problem that I
>> don't understand. It appears that I have the problem discussed and
>> resolve in this trac ticket: http://darwinbuild.macosforge.org/trac/ticket/58
>> . I have a build root using 9G55 and can even see the correct
>> CarbonHeaders in the 9G55.plist file:
>>
>> CarbonHeaders = {
>> version = 9G55;
>> };
>>
>> Unfortunately, references to stdlib.h and stat.h are causing errors
>> referring to Availability.h and I'm not sure what might be going on
>> or how I might be able to fix it:
>>
>> In file included from /SourceCache/ppp/ppp-314.0.1/Helpers/pppd/
>> ccp.c:60:
>> /usr/include/stdlib.h:61:26: error: Availability.h: No such file or
>> directory
>> In file included from /SourceCache/ppp/ppp-314.0.1/Helpers/pppd/
>> ccp.c:60:
>> /usr/include/stdlib.h:283: error: syntax error before
>> '__OSX_AVAILABLE_BUT_DEPRECATED'
>>
>>
>> Can anyone provide guidance on how to solve this problem?
>>
>
>
> For now, you can manually load a root for CarbonHeaders with the
> following:
>
> darwinbuild -load CarbonHeaders
>
>
> I'll update the dependencies for ppp so its loaded automatically in
> the future.
>
> Thanks
> -Bill
>
More information about the darwinbuild-dev
mailing list