Well .... first I used insmod -force , but didn't like the ugly messages so I edited /usr/include/linux/version.h and changed UTS_RELEASE "2.4.20" to 2.4.20-9" (BTW what the heck is LINUX_VERSION_CODE ?) Compiled and tried insmod again. This time it complained about tainting. Did some more research and discovered that for newer kernels I have to put " MODULE_LICENSE("GPL"); " in my source. So everything seems peachy now.
Is the above the correct way of solving this or did I just create a really ugly hack ?
In RedHat 9 what are the correct sym links for my kernel source tree and kernel headers ?
Read that /usr/src/linux is supposed to point @ /usr/include/linux ( glibc kernheaders) and god knows what @ /usr/include/asm. It's late and my head is full of too many facts and way too many cups of tea. Think I'll go down a couple of shots and go to bed.
later
_h
|