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

Kernel version mismatch..



Hi,
 I need some help.

I can successfully compile hello.c from /usr/rtlinux/examples/hello using
following command.
   gcc -I/usr/include/rtlinux -c hello.c

But when I am inserting module it gives following error.
   #insmod hello.o
hello.o Couldn't find the kernel version the module compiled for.

Is this a version problem of gcc.

-------Setup---------------------------------------
I have gcc Version 2.96 20000731 (Red Hat Linux 7.0)
& Kernel Version 2.4.1


                                   Trilok Soni.
                                   System Developer.
                                   Tectona Soft Solutions Ltd.
                                   Ahmedabad, INDIA

   

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1