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

Re: [rtl] Compile version error



Are you including "rtl.h" ?


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.
>
> But with the same option if I compile the RT linux Examples program,
> it is working perfectly fine.
>
> The steps I followed for compilation are.
>
> 1. Use the same compiler option given in rtl.mk file
>
> 2. get the xxx.o object file.
>
> 3 . insert rtl modules to the kernel . ( use insrtl command in
> /usr/src/rtlinux-2.2)
>
> 4. insmod xxx.o (insert the xxx object file into kernel)
>
> Thanks for your suggestions,
>
> Bye,
>
> Mohan