mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Urs Thuermann <thuerman@ibr.cs.tu-bs.de>
To: linux-kernel@vger.kernel.org
Subject: 2.4.3-pre2: Can't build md.o as module: unresolved symbol
Date: 05 Mar 2001 12:00:54 +0100	[thread overview]
Message-ID: <ysdn1b0lbtl.fsf@tuborg.ibr.cs.tu-bs.de> (raw)

When building md.o as module, make modules_install fails, because of
an unresolved symbol:

$ make modules_install
...
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.3-pre2-ut1; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.3-pre2-ut1/kernel/drivers/md/md.o
depmod:         md_autodetect_dev


This is because the defintion of md_autodetect_dev() is in

    #ifndef MODULE
    ...
    void md_autodetect_dev (kdev_t dev)
    {
	...
    }
    ...
    #endif

while this function is called from export_rdev() which is always
compiled, i.e. also when building as module.


urs

             reply	other threads:[~2001-03-05 11:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-05 11:00 Urs Thuermann [this message]
2001-03-05 16:37 ` Mario Mikocevic

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=ysdn1b0lbtl.fsf@tuborg.ibr.cs.tu-bs.de \
    --to=thuerman@ibr.cs.tu-bs.de \
    --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®