Re: What should we do when headers are missing in 10.2?
Re: What should we do when headers are missing in 10.2?
- Subject: Re: What should we do when headers are missing in 10.2?
- From: Brian Bergstrand <email@hidden>
- Date: Wed, 11 Sep 2002 11:21:04 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, September 11, 2002, at 10:30 AM, Jim Magee wrote:
On Wednesday, September 11, 2002, at 11:09 AM, Stiphane Sudre wrote:
In fact, my problem is not with the need to #include any file before
or after. The real issue is that the files are missing from
/usr/include in a complete Mac OS X 10.2 install (by complete, I mean
everything checked, last dev Tools, etc...).
Currently, I'm using the header files from a 10.1 backup but it's far
from being a good solution. So I'm asking for a
better/recommended/official solution.
It should be in /usr/include/netinet/ip_var.h. It should also be in
/System/Library/Frameworks/Kernel.framework/Headers/netinet/ip_var.h.
That's because you're building a kernel extension which cannot use the
headers in /usr/include.
My 10.2 system, installed with only the contents of the released CDs
on a new volume, seems to have it. I remember there was a problem
with them being missing in earlier seeds of the developer tools, but I
thought for sure that was addressed. I'm sure someone more
knowledgeable than I will chime in with exactly which versions of
things have the fix.
Wasn't fixed. And there is an open bug on the problem. I'm surprised
the August 2002 tools did not fix the problem. Anyway, these are the
missing headers that I have found so far in Kernel.framework.
sys/unistd.h
netinet/in_var.h
netinet6/in6_var.h
sys/signalvar.h
ufs/
netinet/ip_var.h
netinet/tcp_var.h
netkey/key_var.h
These missing headers break Kernel.framework as well as third party
code.
To fix this, I checked out xnu Apple-344 from CVS and copied the
headers into Kernel.framework.
Brian Bergstrand
Software Engineer, Prosoft Engineering <
http://www.prosofteng.com/>
There are no stupid questions, but there are a lot of inquisitive
idiots. - ThinkGeek.com Poster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9f213edHYW7bHtqIRAqcIAJ0ZD1di+vFHZDmwUkTmZjRaAqlVigCgxnk+
V6CzeRernjvM6+pKLvHLInk=
=HHbz
-----END PGP SIGNATURE-----
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.