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

Re: [rtl] Compile version error



Mohan

> 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.
>
Check that you have the correct includes in your module

look at :
http://realtimelinux.org/articles/linux-expo/montreal/paper/ModuleBasics/ModuleBasicsC.html

Regards,
Phil Wilshire