mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.13: link failure
@ 2002-05-03 10:16 Russell King
  2002-05-03 10:42 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King @ 2002-05-03 10:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-03 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-03 10:16 2.5.13: link failure Russell King
2002-05-03 10:42 ` Trond Myklebust

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®