Re: Incomplete kernel headers
2011/2/3 Mats Erik Andersson <email@example.com>:
> Dear all,
> I observe that kfreebsd-kernel-headers_0.53 only
> contains some select header files, not all header
> files that are expected for a working kernel.
> How come this is the case?
> In my particular case, I am beginning to poke around
> in the NFS related code, and I find that every header
> related to "nfsserver/" is missing. Likewise, some headers
> for RPC are also ignored at build time. Why?
It's difficult to tell in advance which kernel headers are
necessary and which are not. And we can't include all
headers because of namespace collision with GNU ones,
this is why kfreebsd-kernel-headers has a hardcoded
list (where nfs headers can be added).