On Fri, Jun 11, 2010 at 7:41 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote: >> I see in my system (Ubuntu Hardy) that linux header files are at two places >> >> 1. siddu@siddu-desktop:/usr/include$ find >> /lib/modules/2.6.24-16-generic/build/include/linux/ | wc -l >> 850 > > These headers are for compiling kernel code > >> >> 2. siddu@siddu-desktop:/usr/include$ find /usr/include/linux/ | wc -l >> 523 > > These are userspace development header files used for programs > accessing libc and other libraries. Usually packages ending with > "-dev" in ubuntu repositories install files into this location. > I'm sorry I misread your question. I guess the correct reason would be /build/include/linux has a lot of header files that userspace programs wouldn't need and are internal to the kernel. thanks, Joel -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ