[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] sr.c 2.4.0-test8-pre5 breakage
Heya acme... seems you fixed the sr.c driver a bit too much and
killed an #ifdef MODULE that was needed if you build without
modules (as I do on some of my SPARCs)... this change was made
in 2.4.0-test8-pre5...

drivers/scsi/scsidrv.o: In function `init_sr':
drivers/scsi/scsidrv.o(.text+0x1ece8): undefined reference to
drivers/scsi/scsidrv.o: In function `exit_sr':
drivers/scsi/scsidrv.o(.text+0x1ed08): undefined reference to
make: *** [vmlinux] Error 1

Patch is as follows:

--- linux/drivers/scsi/sr.c Wed Sep 6 02:38:24 2000
+++ linux-test/drivers/scsi/sr.c Wed Sep 6 02:37:18 2000
@@ -848,6 +848,8 @@

+#ifdef MODULE
int init_sr(void)
sr_template.module = THIS_MODULE;
@@ -880,3 +882,5 @@

+#endif /* MODULE */
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:38    [W:0.066 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site