Tell that to RedHat.
>If the glibc people cannot figure out how "cp" works, maybe somebody
>should tell them. Symlinks are a maintenance nightmare
Debian ships with a set of known-good and stable kernel headers in
/usr/include/linux and /usr/include/asm. Seems to work pretty well,
even though people like tytso don't really agree ;)
People just need to understand that you have to compile modules
with -I/usr/src/linux/include or -I/usr/src/linux-2.4.22/include
A Makefile fragment in /usr/src/linux (say, config.mk) that keeps
the CFLAGS that were used to compile the kernel would go a long
way to getting people to use -I/usr/src/linux-2.4.22/include
pretty much automatically.
Module Makefiles then would look like something like this:
# Point to kernel you want to build against
TOPDIR=/usr/src/linux
include $(KERNEL)/config.mk
Mike.
-- The From: and Reply-To: addresses are internal news2mail gateway addresses. Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/