From: ilmari@ping.uio.no (Dagfinn Ilmari Mannsåker)
To: linux-kernel@vger.kernel.org
Subject: Re: Unresolved symbols in 2.4.9-dj1
Date: Wed, 24 Apr 2002 04:22:35 +0200 [thread overview]
Message-ID: <d8j8z7dn8d0.fsf@fimm.ifi.uio.no> (raw)
In-Reply-To: <d8jk7qym0ai.fsf@fimm.ifi.uio.no>
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);
prev parent reply other threads:[~2002-04-24 2:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-24 0:02 Dagfinn Ilmari Mannsåker
2002-04-24 2:22 ` Dagfinn Ilmari Mannsåker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8j8z7dn8d0.fsf@fimm.ifi.uio.no \
--to=ilmari@ping.uio.no \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®