Mailing Lists: Apple Mailing Lists

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

The Searchers



I'm having trouble bending XCode to my will. I'm writing a kernel extension, and I set up a project from the kext template. In one file I include netdb.h, which is not in the kernel framework so I need to search /usr/include/. I added /usr/include/ to the header search paths in the config panel.

That, however, produces an error when I include malloc.h. The malloc.h is found in /usr/include/ when the copy I want is in the kernel framework. The documentation for XCode and GCC seems to say that the frameworks will be searched first, but it appears not to be so.

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

This email sent to 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.