HI
     try to make sure that, u'r header file contains  linux/module.h,
linux/version.h
  and try  by writing make files.
   if u want u can refer, example progmmes in the rtlinux.

Chandu
These are my personal openions

----- Original Message -----
From: Trilok R <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 2:16 PM
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/
>

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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