Re: kernel version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -----
To: Rupa
Sent: Friday, July 05, 2002 3:54 PM
Subject: RE: kernel version

Include linux/version.h file
 
Lakshmi
-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org [mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of Rupa
Sent: Friday, July 05, 2002 3:31 PM
To: kernelnewbies@nl.linux.org
Subject: kernel version

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux