Error in kernel compilation

From: Vineet Joglekar (vinzip_at_indiatimes.com)
Date: 07/02/04


Date: 2 Jul 2004 10:54:20 -0700

Hi all,

I downloaded kernel 2.4.20 in my home directory. switched to root. I
did 'make xconfig'. Din't do any changes, saved and exit. on command
prompt I typed 'make dep' which was successful and then 'make'. The
result of make was as follows: (these are the last few lines of the
output)

make[3]: Entering directory `/home/vineet/linux-2.4.20/drivers/ide'
ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o ide-taskfile.o
cmd640.o ide-adma.o ide-dma.o ide-pci.o piix.o rz1000.o ide-proc.o
ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o
gcc -D__KERNEL__ -I/home/vineet/linux-2.4.20/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd
-c -o ide-cd.o ide-cd.c
In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly
for `slot_tablelen'
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/home/vineet/linux-2.4.20/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/vineet/linux-2.4.20/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/home/vineet/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2
[root@localhost linux-2.4.20]#

Can someone please help me regarding this?

thanks and regards,

Vineet