Am Die, 07 Nov 2000 schrieben Sie:
> Hi,
> I start to use RT-Linux recently,I install a rtlinux2.3 on the redhat 6.2,I write a 
>module(test.o) then I want to insert it in the kernel.
> 
> #insmod test.o
> 
> then I saw this display:
> 
> test.o:Kernel -module version mismatch test.o was compiled for kernel version 
>2.2.14-rtl2.3 while this kernel is version 2.2.14-5.0
That's right, you have different kernels even the patchlevel the same (rtl-2.3
and v5.0 from src-rpm-redhat ?)

Check that your /usr/src/include points to the right kernel tree, in you case
it's should point to e.g. /usr/src/rtlinux-2.3/linux. If you compile your
module the cc catch the right kernel includes !

#ln -s /usr/src/rtl-2.3/linux /usr/src/linux

Olaf
-- [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