Hello, I am trying to build a module.The compilation works fine,but while loading the module I get the message" the kernel versionis 2.2.10 but the module was compiled on 2.2.5". Itried compiling with -I/usr/src/kernel-headers-2.2.10/...... etc without any useful output. At last I found out the culprit.The libc-dev package installs the /usr/include/linux directory which contains a version.h file.It has a line saying #define UTS_VERSION 2.2.5.I think this line is causing the problem. But the same file in the kernel-headers-2.2.10 is written correctly.I can always load the module using insmod -f.But how to solve this problem? Does this mean a libc6-dev exists for every new kernel release?
Ramakrishnan M World Wide Web: http://www.ee.iitm.ernet.in/~ee98m09 -- "A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away."