[PATCH] ATA RAID breaks modular IDE compile

Richard Gooch (rgooch@ras.ucalgary.ca)
Mon, 8 Oct 2001 23:59:39 -0600


Hi, all. In 2.4.11-pre6, the ATA RAID code breaks compiling IDE as a
module: I get duplicate "init_module" symbols. I don't even have
ATA RAID enabled!

I've appended a (crude) patch for drivers/ide/Makefile that fixed the
immediate problem for me. Perhaps this should be applied in order to
encourage a better fix to be submitted promptly ;-)

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

--- Makefile~ Mon Oct 8 23:07:43 2001
+++ Makefile Mon Oct 8 23:48:30 2001
@@ -10,7 +10,7 @@

O_TARGET := idedriver.o

-export-objs := ide.o ide-features.o ataraid.o
+export-objs := ide.o ide-features.o #ataraid.o
list-multi := ide-mod.o ide-probe-mod.o

obj-y :=
-
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/