Hi,
so, you must add -I/usr/src/linux/include to you compiler program or make
something like me on my machine ...
new kernels are /usr/src/linux-2.4.5
linux-2.4.4
...
/usr/src/linux is symbolic link to actually used kernel by me, for instance
ln -s /usr/src/linux-2.4.4 /usr/src/linux
and there is a next stuff in /usr/include/linux which contains kernel
headers. If you have RH, fire out package kernel-headers and make symbolic
link like this ...
ln -s /usr/src/linux/include/linux /usr/include/linux
ln -s /usr/src/linux/include/asm-i386 /usr/include/asm
When you are writing program and compiling and you are using something
like #include <linux/blabla> you will always use kernel headers from
your actually kernel linked to /usr/src/linux. When you change your
actually used kernel by /usr/src/linux link, they change automatically
include (headers) file too, because it's linked through /usr/src/linux
and not through /usr/src/linux-2.4.4 ...
Best regards,
.R.V.
--
_
|-| __ Robert Vojta <vojta-at-ipex.cz> -= Oo.oO =-
|=| [Ll] IPEX, s.r.o.
"^" ====`o
PGP signature