Linker errors (drivers/scsi/scsidrv.o) compiling 2.4.10 on SPARC

Michael Goetze (
Thu, 27 Sep 2001 03:50:26 -0700 (PDT)


I'm running Debian GNU/Linux woody on my SPARCstation 5 and trying to
compile Linux 2.4.10. Making all_targets fails with the following
linker error:

*** Begin output ***

make[1]: Entering directory `/usr/src/linux/arch/sparc/boot'
ld -m elf32_sparc -r /usr/src/linux/arch/sparc/kernel/head.o
/usr/src/linux/arch/sparc/kernel/init_task.o /usr/src/linux/init/main.o
/usr/src/linux/init/version.o \
--start-group \
/usr/src/linux/arch/sparc/mm/mm.o /usr/src/linux/kernel/kernel.o
/usr/src/linux/mm/mm.o /usr/src/linux/fs/fs.o /usr/src/linux/ipc/ipc.o
/usr/src/linux/drivers/char/char.o /usr/src/linux/drivers/block/block.o
/usr/src/linux/drivers/misc/misc.o /usr/src/linux/drivers/net/net.o
/usr/src/linux/drivers/video/video.o /usr/src/linux/net/network.o \
/usr/src/linux/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/sparc/lib/lib.a \
--end-group -o vmlinux.o
objdump -x vmlinux.o | ./btfixupprep > btfix.s
gcc -c -o btfix.o btfix.s
make[1]: Leaving directory `/usr/src/linux/arch/sparc/boot'
ld -m elf32_sparc -T arch/sparc/ arch/sparc/kernel/head.o
arch/sparc/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/sparc/math-emu/math-emu.o
arch/sparc/boot/btfix.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/sbus/sbus_all.o drivers/video/video.o \
net/network.o \
/usr/src/linux/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/sparc/lib/lib.a \
--end-group \
-o vmlinux
drivers/scsi/scsidrv.o: In function `sd_ioctl':
drivers/scsi/scsidrv.o(.text+0x101e8): undefined reference to
make: *** [vmlinux] Error 1
root@sparky (2) > gcc --version
root@sparky > ld --version
GNU ld
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
the GNU General Public License. This program has absolutely no
Supported emulations:

*** End output ***

If you require further diagnostic information, drop me a note. Please
CC me on all replies as I am not subscribed to the list.

Thank you,


Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at