Re: Unresolved symbols in 2.4.9-dj1

From: Dagfinn Ilmari Mannsåker (ilmari@ping.uio.no)
Date: Tue Apr 23 2002 - 21:22:35 EST


ilmari@ping.uio.no (Dagfinn Ilmari Mannsåker) writes:

> Hi,
>
> When compiling 2.5.9-dj1 with modular MD/LVM and EXT3, I got the
> following unresolved symbols:
>
> % depmod -ae -F System.map -b debian/tmp-image -r 2.5.9-dj1
> depmod: *** Unresolved symbols in
> debian/tmp-image/lib/modules/2.5.9-dj1/kernel/drivers/md/md.o
> depmod: blk_get_readahead
> depmod: *** Unresolved symbols in
> debian/tmp-image/lib/modules/2.5.9-dj1/kernel/fs/jbd/jbd.o
> depmod: exit_files
>
> Seems like some missing EXPORT_SYMBOL statements.

It worked when I added EXPORT_SYMBOL statements for these symbols to
ksyms.c. Here's the patch (I hope they're in the right locations).

-- 
Dagfinn I. Mannsåker
aka. Ilmari

--- kernel/ksyms.c.orig Wed Apr 24 04:17:42 2002 +++ kernel/ksyms.c Wed Apr 24 04:20:52 2002 @@ -340,6 +340,7 @@ EXPORT_SYMBOL(init_buffer); EXPORT_SYMBOL(refile_buffer); EXPORT_SYMBOL(wipe_partitions); +EXPORT_SYMBOL(blk_get_readahead); /* tty routines */ EXPORT_SYMBOL(tty_hangup); @@ -553,6 +554,7 @@ EXPORT_SYMBOL(is_bad_inode); EXPORT_SYMBOL(event); EXPORT_SYMBOL(brw_page); +EXPORT_SYMBOL(exit_files); #ifdef CONFIG_UID16 EXPORT_SYMBOL(overflowuid); - 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/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:37 EST