2.4.21-pre5/7 fails to compile

Meino Christian Cramer
2003-05-20T18:12:38Z

Hi !

I got some weird problems to compile linux 2.4.21 pre 5 and pre 7.

Both fail at the same point of code:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.21p7/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DKBUILD_BASENAME=mmx -c -o mmx.o mmx.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o mmx.o
make[2]: Leaving directory `/usr/src/linux-2.4.21p7/linux/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.21p7/linux/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.21p7/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/parport/driver.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/media/media.o drivers/i2c/i2c.o \
net/network.o \
/usr/src/linux-2.4.21p7/linux/arch/i386/lib/lib.a /usr/src/linux-2.4.21p7/linux/lib/lib.a /usr/src/linux-2.4.21p7/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
net/network.o(.text+0xd807): In function `rtnetlink_rcv':
: undefined reference to `rtnetlink_rcv_skb'
make: *** [vmlinux] Error 1

Could one give me a hint what is goind wrong here ?
Please CC me, since I am currently not subscribed.

Thank you very much for your help and undertstanding in advance!

Kind regards,
Meino Cramer

- used system, software: -
Linux 2.4.20
gcc 3.3.
glibc 2.3.2.
binutils 2.14.90.0.2
gdb 5.3
XFree 4.3.99.3 (hardware dri/drm enabled and working)
IceWM 2.7

- used system, hardware: -
ATI Radeon 7500 AGP made by Sapphire
Athlon XP 2400+
EPoX 8K5A3+
256 MB DDR RAM