Re: struct protosw
Re: struct protosw
- Subject: Re: struct protosw
- From: Mike Gargano <email@hidden>
- Date: Mon, 6 Aug 2007 10:27:53 -0400
Thanks for the advice Quinn. I'm not shipping anything though, I'm
almost positive I found a bug and I'm just trying to prove that the
corrected code works before I submit a patch. I still can't get this
*@$*#$ thing to compile though. The headers that it includes, even
when taken from xnu are declaring variables and using constants that
don't seem to be defined anywhere. Not in the headers themselves or
the headers they're including. Very fustrating! This project
contains a pbproj file, so I don't know if this thing just hasn't
been touched in so long that I shouldn't even expecting to get it
working. I was under the impression, however, that all the code on
opensource.apple.com was the exact code that was used to distribute
the corresponding release, not just code that was released at one
point and blindly copied from release to release.
Thanks again.
-Mike
On Aug 6, 2007, at 9:00 AM, Quinn wrote:
At 16:21 -0400 3/8/07, Mike Gargano wrote:
If anyone's got any advice, please let me know.
Thanks though, this definitely looks like the right path I need to
be taking.
What I typically do is duplicate the SDK, drop the relevant private
headers into the Kernel framework of the duplicate, and then tell
Xcode to use that SDK.
I'll repeat Josh's warning though: if your product ships to a
diverse user base, don't use private headers. Apple's binary
compatibility guarantees only apply to stuff built with the public
headers. If you build with private headers, you will need to
recompile regularly (in some cases we need to change private data
structures in a bug fix release).
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/
developer/>
Apple Developer Relations, Developer Technical Support, Core OS/
Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40infoplusonline.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden