Hello people,
I have trouble with compiling the 2.4.26 kernel. Here are the errors:
Code:
/usr/src/linux-2.4.26_pre6-gentoo/include/asm/hardirq.h:41:1: warning: "synchronize_irq" redefined
In file included from /usr/src/linux-2.4.26_pre6-gentoo/include/linux/modversions.h:143,
from /usr/src/linux-2.4.26_pre6-gentoo/include/linux/module.h:21,
from ksyms.c:14:
/usr/src/linux-2.4.26_pre6-gentoo/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
In file included from ksyms.c:17:
/usr/src/linux-2.4.26_pre6-gentoo/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linux-2.4.26_pre6-gentoo/include/linux/kernel_stat.h:62: error: `smp_num_cpus' undeclared (first use in this function)
/usr/src/linux-2.4.26_pre6-gentoo/include/linux/kernel_stat.h:62: error: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.26_pre6-gentoo/include/linux/kernel_stat.h:62: error: for each function it appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.26_pre6-gentoo/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26_pre6-gentoo/kernel'
make: *** [_dir_kernel] Error 2
Any suggestions ?
Thanks