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: [EMAIL PROTECTED]



Trilok R <[EMAIL PROTECTED]>@fsmlabs.com on 15/05/2001 22:46:22

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


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

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to