Bug#216921: Can't compile programs, using kernel headers from experimental libc6-dev
On Tue, Oct 21, 2003 at 02:40:36PM -0400, Daniel Jacobowitz wrote:
> > /usr/include/linux/list.h:563:2: warning: #warning "don't include kernel
> > headers in userspace"
>
> Have you considered reading that warning again? :) Please do not
> include kernel headers in user applications. A very small number of
> them are sanitized for userspace use but most are not.
Hum...
From /usr/share/doc/linux-kernel-headers/README.Debian:
- These headers can not be used to build kernel modules. They're only
for userspace use.
[..]
- These headers should generally not be included directly. It's not a bug
if you include one directly and something breaks.
They are for userspace use but should not be used :-/
That's a bit misleading...
Jerome
Reply to: