mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Goetze <mgoetze5@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Linker errors (drivers/scsi/scsidrv.o) compiling 2.4.10 on SPARC
Date: Thu, 27 Sep 2001 03:50:26 -0700 (PDT)	[thread overview]
Message-ID: <20010927105026.55277.qmail@web14503.mail.yahoo.com> (raw)

Hi,

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/kernel/kernel.o
/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/arch/sparc/math-emu/math-emu.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/media/media.o
/usr/src/linux/drivers/scsi/scsidrv.o
/usr/src/linux/drivers/sbus/sbus_all.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/prom/promlib.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/vmlinux.lds 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/prom/promlib.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
`__put_user_bad'
make: *** [vmlinux] Error 1
root@sparky (2) > gcc --version
2.95.2
root@sparky > ld --version
GNU ld 2.11.90.0.31
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
  Supported emulations:
   elf32_sparc
   sparclinux
   elf64_sparc
   sun4

*** 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,

Michael


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

             reply	other threads:[~2001-09-27 10:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27 10:50 Michael Goetze [this message]
2001-09-27 13:52 ` Peter Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010927105026.55277.qmail@web14503.mail.yahoo.com \
    --to=mgoetze5@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®