Dear all, I met a strange problem about the RedHat 7.0 and RTLinux 3.0. As you see, the RH7.0 just has Linux Kernel 2.2.16-22 and I want to upgrade it to Linux Kernel 2.2.18, because the RTLinux 3.0 final can work stably under this Kerenl Version. But after I upgrade the Linux Kernel and install the RTLinux, I found a strange thing. When I "cat /proc/version", I can get: Linux crb20.ces.clemson.edu 2.2.18-rtl #1 Thu Apr 5 23:10:12 EDT 2001 i686 unknown But when I compile my module, I got the following error message: demo.o: kernel-module version mismatch demo.o was compiled for kernel version 2.4.0-0.26 while this kernel is version 2.2.18-rtl. make: *** [install] Error 1 After I check the /usr/include/linux/version.h, I got the following content: #include <linux/rhconfig.h> #if defined(__module__smp) #define UTS_RELEASE "2.4.0-0.26smp" #else #define UTS_RELEASE "2.4.0-0.26" #endif #define LINUX_VERSION_CODE 132096 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) So I am totally confused, what version of Linux Kernel is used by RH 7. Why after I reinstall the Linux Kernel, this header file still exists as 2.4.0 version. I need your help. Thanks in advance Hai Xu -- [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/
