mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladislav Bolkhovitin <vst@vlnb.net>
To: linux-kernel@vger.kernel.org
Subject: Dependant modules question
Date: Fri, 02 Jul 2004 16:36:53 +0400	[thread overview]
Message-ID: <40E556E5.90708@vlnb.net> (raw)

Hello,

I need some assistance with the kernel build system. It looks like this 
topic is not covered anywhere, at least I didn't find anything.

I have two modules, A and B, where B is dependant from A, i.e. uses some 
exported from it symbols. Both modules are built outside of the kernel 
tree.

With A everything is fine, it's compiled and installed with other kernel 
modules in /lib/modules/2.6.7/extra.

Then module B is built. Here I have a problem. Module A is not listed as 
the module from which B depends in .mod.c file, therefore there are 
"Undefined symbols" warnings and it is impossible to load B, even though 
A is loaded.

So, the question is: what should I do to make A be seen as exporting 
some symbols by the kernel and its build system?

The kernel is 2.4.7, EXPORT_SYMBOL() used in A as required.

Thanks,
Vlad

             reply	other threads:[~2004-07-02 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-02 12:36 Vladislav Bolkhovitin [this message]
2004-07-02 14:01 ` Richard B. Johnson
2004-07-02 14:17   ` Vladislav Bolkhovitin
2004-07-02 15:34     ` Randy.Dunlap

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=40E556E5.90708@vlnb.net \
    --to=vst@vlnb.net \
    --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®