mmh.
nothing.c:2:60: error: linux/module.h: No such file or directory
nothing.c:3:60: error: linux/init.h: No such file or directory
Toisaalta
locate kernel.h antoi tämän tuloksen:
/usr/include/linux/kernel.h
/usr/src/linux-headers-2.6.27-7/include/asm-mips/sn/mapped_kernel.h
/usr/src/linux-headers-2.6.27-7/include/linux/kernel.h
/usr/src/linux-headers-2.6.27-7/include/linux/start_kernel.h
/usr/src/linux-headers-2.6.27-7/include/sound/seq_kernel.h
/usr/src/linux-headers-2.6.27-7-generic/include/config/debug/kernel.h
/usr/src/linux-headers-2.6.27-7-generic/include/config/lock/kernel.h
/usr/src/linux-headers-2.6.27-7-generic/include/linux/kernel.h
/usr/src/linux-headers-2.6.27-7-generic/include/linux/start_kernel.h
/usr/src/linux-headers-2.6.27-9/include/asm-mips/sn/mapped_kernel.h
/usr/src/linux-headers-2.6.27-9/include/linux/kernel.h
/usr/src/linux-headers-2.6.27-9/include/linux/start_kernel.h
/usr/src/linux-headers-2.6.27-9/include/sound/seq_kernel.h
/usr/src/linux-headers-2.6.27-9-generic/include/config/debug/kernel.h
/usr/src/linux-headers-2.6.27-9-generic/include/config/lock/kernel.h
/usr/src/linux-headers-2.6.27-9-generic/include/linux/kernel.h
/usr/src/linux-headers-2.6.27-9-generic/include/linux/start_kernel.h
Oliskos tästä apua?
http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html#INDEX.17muokkaus: Komentoon:
usr/include# ln -s ../src/linux-headers-2.6.27-9-generic/include/linux .
tulee:
ln: creating symbolic link `./linux': File exists