Re: 2.6.5-rc3: unknown symbol in tekram.ko

From: Adrian Bunk
Date: Sat Apr 24 2004 - 16:43:00 EST


On Wed, Mar 31, 2004 at 10:42:24AM +0200, R. J. Wysocki wrote:
> I get something like this after 'make modules_install':
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.5-rc3; fi
> WARNING: /lib/modules/2.6.5-rc3/kernel/drivers/net/irda/tekram.ko needs
> unknown symbol irda_task_delete

Thanks for this report, and sorry for the late answer.

drivers/net/irda/tekram.c uses irda_task_delete, but this function is
not EXPORT_SYMBOL'ed in net/irda/irda_device.c .

The most simple solution would be to change TEKRAM_DONGLE_OLD to be a
bool (as does the patch below), but perhaps the IrDA people know a
better solution.

cu
Adrian

--- linux-2.6.6-rc2-mm1-full/drivers/net/irda/Kconfig.old 2004-04-24 23:34:06.000000000 +0200
+++ linux-2.6.6-rc2-mm1-full/drivers/net/irda/Kconfig 2004-04-24 23:40:26.000000000 +0200
@@ -189,8 +189,8 @@
"irattach -d actisys" or "irattach -d actisys+".

config TEKRAM_DONGLE_OLD
- tristate "Tekram IrMate 210B dongle"
- depends on DONGLE_OLD && IRDA
+ bool "Tekram IrMate 210B dongle"
+ depends on DONGLE_OLD && IRDA=y
help
Say Y here if you want to build support for the Tekram IrMate 210B
dongle. To compile it as a module, choose M here. The Tekram dongle
-
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/