Can't believe this... :(
Installed a fresh copy of redhat 7.1
I go into /usr/src/linux-2.4
Copy the 2.4 smp config from config/ to .config
make dep
make bzImage
make modules
Modules compile fails.
In file included from /usr/src/linux-2.4/include/linux/spinlock.h:35,
from /usr/src/linux-2.4/include/linux/module.h:11,
from eni.c:6:
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4/include/asm/spinlock.h:9: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:9: warning: function declaration isn't a prototype
In file included from eni.c:6:
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
... and so on and so on... :(
Any ideas how to fix this?
--