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

Re: [rtl] Kernel version mismatch..



This could be because you are running a kernel which doesn't match the
library/include files the gcc is finding.

Karl.
__________________________________________________
Principal Engineer
CSC
Ph: +61-8-8343-8839    Mobile: +61-401-712-598    Fax: +61-8-8359-0763
Email: kgramp@csc.com



Trilok R <trilok_rtl@usa.net>@fsmlabs.com on 15/05/2001 22:46:22

Please respond to rtl@fsmlabs.com

Sent by:  owner-rtl@fsmlabs.com


To:   rtl@fsmlabs.com
cc:
Subject:  [rtl] 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
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/