Skip to contentSkip to conversation

2.6.5-rc3: unknown symbol in tekram.ko

DISCUSSION R. J. Wysocki 2 participants 2 messages Mar 31, 2004 – Apr 24, 2004 Network drivers

lore
Share & tools
lore
#0 lore raw

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

Signature · 7 lines
Rafael J. Wysocki,
SiSK
[tel. (+48) 605 053 693]
----------------------------
For a successful technology, reality must take precedence over public 
relations, for nature cannot be fooled.
					-- Richard P. Feynman
#1 lore raw
Quoted 5 lines · R. J. Wysocki

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

drivers/net/irda/Kconfig renamed from drivers/net/irda/Kconfig.old +2 -2
@@ -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