Re: 2.5.13 on Alpha: undefined reference to vmalloc in scsidrv.o

Douglas Gilbert (dougg@torque.net)
Fri, 03 May 2002 08:38:01 -0400


Jurriaan wrote:

<snip/>
> drivers/scsi/scsidrv.o: In function `sd_init':
> drivers/scsi/scsidrv.o(.text+0x1e3f0): undefined reference to `vmalloc'
<snip/>

Does this patch help?

Doug Gilbert

--- linux/drivers/scsi/sd.c Thu May 2 22:53:03 2002
+++ linux/drivers/scsi/sd.c2513vm Fri May 3 08:33:06 2002
@@ -41,6 +41,7 @@
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/init.h>
+#include <linux/vmalloc.h>

#include <linux/smp.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/