The 03.03.19 at 22:44, Donn aka N5XWB wrote:
I have been having a similar problem remastering KNOPPIX. uname -r finds 2.4.19 when I have 2.4.21-pre5. So depmod/modprobe fails.
So I did look in /usr/include/linux and also found version.h with 2.4.19.
At the top of the "/usr/include/linux/version.h" file you can read: #error "You should not include /usr/include/{linux,asm}/ header" #error "files directly for the compilation of kernel modules." You should use instead: /lib/modules/`uname -r`/build/include/linux/version.h which in my case is /lib/modules/2.4.19_CER-4GB/build/include/linux/version.h and reads: #define UTS_RELEASE "2.4.19_CER-4GB" #define LINUX_VERSION_CODE 132115 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) Now, I don't remember when is this file created. I think you need a "make clean dep", but perhaps a "make mrproper" before that (warning: it deletes all configs files). Or perhaps is as simple as a wrong link in /usr/src/linux :.? -- Cheers, Carlos Robinson