building blkmtd as a module

Marius Groeger mgroeger at sysgo.com
Thu Feb 19 11:51:38 EST 2004


On Thu, 19 Feb 2004, Cruz, Maria wrote:

> depmod: *** Unresolved symbols in /lib/modules/2.4.20-6mtd/kernel/drivers/mtd/devices/blkmtd.o
> depmod:         recalc_sigpending_tsk
> The function "recalc_sigpending_tsk" is in signal.o.  what is wrong?  GPL license issue? dependency issue (i do a "make dep" right after "make menuconfig").  the .config has mtd setup:

For a kernel global symbols to resolve with depmod (and insmod, of course),
it must explicitly be exported via EXPORT_SYMBOL(). Only then it will appear
in /proc/ksyms. depmod uses /proc/ksyms to resolve symols.

You may have to add a suitable EXPORT_SYMBOL() declaration somewhere in your
kernel sources.

Regards,
Marius

-- 
Marius Groeger <mgroeger at sysgo.com>
Project Manager

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Am Pfaffenstein 14
55270 Klein-Winternheim, Germany

Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
www.sysgo.com | www.elinos.com | www.osek.de



More information about the linux-mtd mailing list