On Thu, 2005-07-28 at 09:34, Markus Moeller wrote: > If I use > > cc -I/usr/share/src/uts/common -D_KERNEL I find all included header files. > What is the difference/issue if I use -D_KERNEL ?
The header file you found is really only for the kernel-space gssapi code. it's not likely to be useful for userland builds which is what I think you're looking to do. In general: if you're not building an object intended to be part of a kernel module, don't use -D_KERNEL. (oversimplifying wildly, kernel and userspace code have different ABI's and may use different data structure definitions, etc.,) - Bill _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org