Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.0 kext load problem



John --

Just another angle on this FYI:

I encountered this problem building kexts against the 10.2.8 SDK in
10.4.1, but only with projects of ProjectBuilder vintage.

I solved it by specifying the header path '$(SDKROOT)/usr/include'
explicitly. The ansi.h found in there worked fine and I didn't have to
copy any files anywhere.

Previously, I had had to specify the header path
'$(SDKROOT)/S/L/F/Kernel.framework/Headers' or else it was still finding
the 10.4.1 IOService class and I was getting the load errors described
below.

This was with gcc 3.3. Projects created in Xcode didn't have these
problems at all - simply selecting the cross-development target was all
that was required for them.

I believe only Xcode Native Targets can use the SDKs (and selection of any SDK with a non-Xcode native project type will not work). I believe this is why you see this issue. If you like you can go into Xcode and upgrade your target to a native target and then try setting the SDK version and this should work AFAIK.

HTH,

-- Chris


------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >Re: Xcode 2.0 kext load problem (From: Ron Duritsch <email@hidden>)
 >Re: Xcode 2.0 kext load problem (From: Filip Aben <email@hidden>)
 >Re: Xcode 2.0 kext load problem (From: John Dalgliesh <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.