2.4.21 kernel build failure: multiple definitions of irq_desc_t
Hello all,
I'm having trouble trying to build 2.4.21. I've attached the error generated
below. It appears that irq_desc is defined both as a function and as an array of
irq_desc_t. Help?
Thanks,
Daniel
make[1]: Entering directory `/root/linux-2.4.21'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/root/linux-2.4.21/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32
-frename-registers --param max-inline-insns=5000 -mconstant-gp
-DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /root/linux-2.4.21/include/linux/irq.h:69,
from /root/linux-2.4.21/include/asm/hardirq.h:12,
from /root/linux-2.4.21/include/linux/interrupt.h:46,
from /root/linux-2.4.21/include/asm/smplock.h:6,
from /root/linux-2.4.21/include/linux/smp_lock.h:16,
from init/main.c:24:
/root/linux-2.4.21/include/asm/hw_irq.h:128: error: `irq_desc' redeclared as
different kind of symbol
/root/linux-2.4.21/include/linux/irq.h:67: error: previous declaration of `irq_desc'
/root/linux-2.4.21/include/asm/hw_irq.h:128: warning: `irq_desc' was declared
`extern' and later `static'
In file included from /root/linux-2.4.21/include/linux/pagemap.h:16,
from /root/linux-2.4.21/include/linux/locks.h:8,
from /root/linux-2.4.21/include/linux/blk.h:5,
from init/main.c:25:
/root/linux-2.4.21/include/linux/highmem.h: In function `clear_user_highpage':
/root/linux-2.4.21/include/linux/highmem.h:87: error: too few arguments to
function `clear_user_page'
/root/linux-2.4.21/include/linux/highmem.h: In function `copy_user_highpage':
/root/linux-2.4.21/include/linux/highmem.h:119: error: too few arguments to
function `copy_user_page'
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/root/linux-2.4.21'
make: *** [stamp-build] Error 2
elsa:~/linux-2.4.21#
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Reply to: