lkml.org 
[lkml]   [1998]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectUndefined symbol in sg.o compiled as a module in 2.1.99pre1
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.039 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site