[darwinbuild-dev] Missing Availability.h with 9G55
Craig Setera
craigjunk at setera.org
Tue Apr 28 09:01:23 PDT 2009
Thanks. I will take a look. This is truly a geeky endeavor. I have
a new Blackberry Bold that I want to use as a Bluetooth tethered
modem. Myself and others are having trouble. I think it is in the
ppp negotiation and I'm trying to build ppp so that I can use it with
various hacks to try to tether. A long way to go for something so
silly, but it is really bugging me now!
So, in a nutshell, I'd like to be able to build and execute a custom
pppd on my Macbook Pro (10.5.6). Any hints or pointers are greatly
appreciated.
Thanks,
Craig
On Apr 28, 2009, at 10:57 AM, Stuart Crook wrote:
> Hi, Craig.
>
> You may find the answer here: http://www.puredarwin.org/developers/darwinbuild/troubleshooting
> -- or elsewhere on the site. There are also patches for various
> packages in the svn at code.google.com/p/puredarwin .
>
> Which bits of Darwin in particular are you interested in / trying to
> build?
>
> _sjc_
>
>
> On 28 Apr 2009, at 16:47, Craig Setera wrote:
>
>> 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
>>>
>>
>> _______________________________________________
>> darwinbuild-dev mailing list
>> darwinbuild-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/darwinbuild-dev
>
More information about the darwinbuild-dev
mailing list