In my source file, i have included
#include <linux/version.h>
and also i complied using this option
gcc -D__MODULE__ -I/usr/include/linux-2.4/include
-c <modulename>
But even then iam getting same error.
Regards, R.Rupa ----- Original Message -----
Sent: Friday, July 05, 2002 3:54 PM
Subject: RE: kernel version
Include linux/version.h file
Lakshmi
Hello,
I compiled sample kernel
module in linux. When i tryed to load the module it is showing the
following error:
#
insmod ./myprog.o
./myprog.o:
couldn't find the kernel version the module was
compiled for.
Can any one help me to load the
module.
Regards, R.Rupa
|