From: Russell King <rmk@arm.linux.org.uk>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: 2.5.13: link failure
Date: Fri, 3 May 2002 11:16:17 +0100 [thread overview]
Message-ID: <20020503111617.B4319@flint.arm.linux.org.uk> (raw)
2.5.13 with root nfs enabled doesn't link:
fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x187c): undefined reference to `in_ntoa'
I haven't looked into this one yet.
2.5.13 with SCSI enabled:
drivers/scsi/scsidrv.o: In function `sd_init':
drivers/scsi/scsidrv.o(.text+0x128c8): undefined reference to `vmalloc'
drivers/scsi/scsidrv.o(.text+0x128fc): undefined reference to `vmalloc'
drivers/scsi/scsidrv.o(.text+0x12934): undefined reference to `vmalloc'
drivers/scsi/scsidrv.o(.text+0x12948): undefined reference to `vmalloc'
drivers/scsi/scsidrv.o(.text+0x1296c): undefined reference to `vmalloc'
drivers/scsi/scsidrv.o(.text+0x12980): more undefined references to `vmalloc' follow
The following patch fixes this, and also fixes the similar problem in
scsi_debug.c:
diff -u orig/drivers/scsi/scsi_debug.c linux/drivers/scsi/scsi_debug.c
--- orig/drivers/scsi/scsi_debug.c Sun Apr 28 17:17:12 2002
+++ linux/drivers/scsi/scsi_debug.c Fri May 3 11:08:53 2002
@@ -32,6 +32,7 @@
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/smp_lock.h>
+#include <linux/vmalloc.h>
#include <asm/system.h>
#include <asm/io.h>
@@ -40,7 +41,7 @@
#include "scsi.h"
#include "hosts.h"
-#include<linux/stat.h>
+#include <linux/stat.h>
#ifndef LINUX_VERSION_CODE
#include <linux/version.h>
diff -u orig/drivers/scsi/sd.c linux/drivers/scsi/sd.c
--- orig/drivers/scsi/sd.c Fri May 3 11:13:39 2002
+++ linux/drivers/scsi/sd.c Fri May 3 11:08:20 2002
@@ -41,7 +41,7 @@
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/init.h>
-
+#include <linux/vmalloc.h>
#include <linux/smp.h>
#include <asm/uaccess.h>
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next reply other threads:[~2002-05-03 10:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-03 10:16 Russell King [this message]
2002-05-03 10:42 ` Trond Myklebust
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=20020503111617.B4319@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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®