All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: multiple dependent out-of-tree modules
Date: Thu, 18 Aug 2011 22:03:00 -0700	[thread overview]
Message-ID: <20110819050300.GA32352@kroah.com> (raw)
In-Reply-To: <CABRD5hKwHmW=E9+zEi9cVqKA=z-qXZEFek3fReNw-QrpbZC=CQ@mail.gmail.com>

On Thu, Aug 18, 2011 at 10:40:12PM -0300, Jorgyano Bruno wrote:
> 
> Hello guys!
> 
> I'm working with three out-of-tree kernel modules,?
> one of them?export symbols used by the others.?
> At compile time, MODPOST warns?about undefined symbols,?
> which are defined on the first module?
> and?used in the second and third modules.?
> When I try to load the modules?"insmod"?returns the error "Unknown Symbol in
> module" for those symbols warned by MODPOST.
> 
> How can I to compile several out-of-tree modules which depends on one another
> and make ?to the dependant modules look for the needed symbols on the
> directories of the modules which have the symbols?

Use modprobe, not insmod, and you will be fine.

greg k-h

  parent reply	other threads:[~2011-08-19  5:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  1:40 multiple dependent out-of-tree modules Jorgyano Bruno
2011-08-19  4:59 ` Vladimir Murzin
2011-08-19  5:03 ` Greg KH [this message]
2011-08-20  0:31   ` Jorgyano Bruno

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=20110819050300.GA32352@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.