> Mohan Kumar H wrote:
>
> Hai,
>
> I Installed RTLinux version 2.2 on Linux Kernel version 2.2.14 ( Red
> Hat Release 6.2).
>
> If I compile the RTLinux program it is compiling without any errors
> and warnings. But when I load this to kernel by using the command
> insmod it is giving an message of CAN NOT FIND THE KERNEL VERSION
> THE MODULE WAS COMPILED FOR.
>
> I do not what is the reason.
>
Hi Mohan,
You need to do the following:
1/ Make sure you have -D__KERNEL__ -DMODULE in your compiler options
when building the .o file
2/ Make sure you include the following header files in your .c file (you
also need the RT headers):
#include <linux/module.h>
#include <linux/kernel.h>
Regards, Stuart
-- [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/