Re: Linux Kernel bug report (includes fix)

From: Alexander E. Patrakov
Date: Sun Aug 08 2004 - 00:23:57 EST


Horst von Brand wrote:
Joerg Schilling <schilling@xxxxxxxxxxxxxxxxxxx> said:

- Linux Kernel include files (starting with Linux-2.5) are buggy and prevent compilation.


They do not, the kernel compiles just fine. They are _not_ to be used for
random userspace programs.

You are supposed to either bring the needed "sanitized" kernel headers with your program, or have those provided by the linux-libc-headers (http://ep09.pld-linux.org/~mmazur/linux-libc-headers/) in /usr/include. Adding /usr/src/linux/include to the gcc search path is a bug in userspace programs.

--
Alexander E. Patrakov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/