Well, I've now tried to compile with 2.4.18 kernel, and I am getting the same errors, so I'm not really sure what my next course of action is....
Heres some of the output if anyone can advise on it...
net/network.o(.text+0x22bd): In function `socket_get_info':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x248b): In function `_text_lock_socket':
: undefined reference to `kernel_flag'
net/network.o(.text+0x875d): In function `dev_proc_stats':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x8816): In function `dev_proc_stats':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x123cd): In function `rt_cache_stat_get_info':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x12490): In function `rt_cache_stat_get_info':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x16842): In function `fold_prot_inuse':
: undefined reference to `smp_num_cpus'
net/network.o(.text+0x16983): more undefined references to `smp_num_cpus' follow
net/network.o(.text+0x4dd5e): In function `rpciod':
: undefined reference to `kernel_flag'
net/network.o(.text+0x4e894): In function `_text_lock_sched':
: undefined reference to `kernel_flag'
/root/kernelstuff/linux-2.4.18/arch/i386/lib/lib.a(delay.o)(.text+0x8c): In func
tion `__udelay':
: undefined reference to `cpu_data'
/root/kernelstuff/linux-2.4.18/arch/i386/lib/lib.a(delay.o)(.text+0xb6): In func
tion `__const_udelay':
: undefined reference to `cpu_data'
/root/kernelstuff/linux-2.4.18/lib/lib.a(brlock.o)(.text+0x4): In function `__br
_write_lock':
: undefined reference to `smp_num_cpus'
/root/kernelstuff/linux-2.4.18/lib/lib.a(brlock.o)(.text+0x20): In function `__b
r_write_lock':
: undefined reference to `smp_num_cpus'
/root/kernelstuff/linux-2.4.18/lib/lib.a(brlock.o)(.text+0x34): In function `__b
r_write_unlock':
: undefined reference to `smp_num_cpus'
/root/kernelstuff/linux-2.4.18/lib/lib.a(brlock.o)(.text+0x4e): In function `__b
r_write_unlock':
: undefined reference to `smp_num_cpus'
make: *** [vmlinux] Error 1
