Undefined symbol in sg.o compiled as a module in 2.1.99pre1

German Jose Gomez Garcia (mat006@pinon.ccu.uniovi.es)
Tue, 28 Apr 1998 15:03:40 +0200 (METDST)


The floppy works again, but you don't get the right dependances when
compiled sg as a module, just a trivial change to scsi_syms.c and
it works again. It seems someone forgot something.... :)

Just apply this patch in the drivers/scsi directory:

--- scsi_syms.c.old Tue Apr 28 12:34:05 1998
+++ scsi_syms.c Tue Apr 28 12:34:08 1998
@@ -40,6 +40,9 @@

extern const char *const scsi_device_types[];

+extern int scsi_ioctl_send_command(Scsi_Device *dev, Scsi_Ioctl_Command *sic);
+
+EXPORT_SYMBOL(scsi_ioctl_send_command);
EXPORT_SYMBOL(scsi_register_module);
EXPORT_SYMBOL(scsi_unregister_module);
EXPORT_SYMBOL(scsi_free);

<>-------------------------------------+-----------------------------------<>
One O.S. to rule them all, | German Gomez Garcia
One O.S. to find them. | mat006@pinon.ccu.uniovi.es
One O.S. to bring them all |
and in the darkness bind them. | "Wur Qanar Wur Stilor Wur Kas"
<>-------------------------------------+-----------------------------------<>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu