>>>>> "Amey" == Amey Gokhale <[EMAIL PROTECTED]> writes:
Amey> insmod is giving me error of kernel version. It gives tht
Amey> hello.c was compiled for kernel 2.4.0 and my kernel version
Amey> is 2.2.16-22 gcc version is 2.96.
You are running kernel 2.2.16, but your kernel headers (in
/usr/include/linux) are those of 2.4.0. Fix it. Usually the two
commands
ln -sf /usr/src/linux-2.2.16/include/linux /usr/include/linux
ln -sf /usr/src/linux-2.2.16/include/asm /usr/include/asm
are enough. You need to have the kernel-headers-2.2.16-22 (on redhat)
package installed.
Binand
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help