[PROBLEM] [PATCH] Compilation issue with 2.4.22aa1

From: Srihari Vijayaraghavan
Date: Thu Sep 04 2003 - 08:13:12 EST


Hello Andrea,

While executing "make modules_install" on 2.4.22aa1, I get this error message:
depmod: *** Unresolved symbols in
/lib/modules/2.4.22aa1/kernel/drivers/scsi/scsi_mod.o
depmod: open_softirq

(No error messages while make dep clean bzImage modules AFAIK)

I can provide my complete .config on request. Here is the key .config section:
CONFIG_SCSI=m
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_OHCI=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_SERIAL=m
CONFIG_USB_SERIAL_PL2303=m

Eventhough I do not know if this is the right way to fix, this patch seems to
fix it (make modules_install works fine, although I have not boot tested
it.):
--- ksyms.c.orig 2003-09-04 21:28:06.000000000 +1000
+++ ksyms.c 2003-09-04 22:44:38.000000000 +1000
@@ -630,6 +630,7 @@
EXPORT_SYMBOL(cpu_raise_softirq);
EXPORT_SYMBOL(__tasklet_schedule);
EXPORT_SYMBOL(__tasklet_hi_schedule);
+EXPORT_SYMBOL(open_softirq);

/* init task, for moving kthread roots - ought to export a function ?? */


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