Compile module error in SUSE Linux

Yiping Chen (YipingChen@via.com.tw)
Thu, 3 May 2001 22:38:46 +0800


Dear all:
I am writing linux driver now, when I install driver modules in other Linux
Distributions(Like RedHat, OpenLinux..) ,
the installation will be successful.
But when I install driver in SUSE Linux, it always appear the following
message:
driver.o: kernel-module version mismatch
driver.o was compiled for kernel version 2.2.16
while this kernel is version 2.2.16-SMP.

If I modify the definition of UTS_RELEASE (from "#define UTS_RELEASE
"2.2.16"" to "#define UTS_RELEASE "2.2.16-SMP"")
in /usr/src/linux/include/linux/version.h file .
And recompile the kernel module, then the installation is successful.
But why? What should I do now? Please help me!!
Thanks!!

-Yiping Chen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/