All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Josef Angermeier <Josef.Angermeier@informatik.uni-erlangen.de>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: undefined symbols of modules
Date: Tue, 30 May 2006 01:06:21 -0700	[thread overview]
Message-ID: <20060530080621.GA16186@gate.ebshome.net> (raw)
In-Reply-To: <447BF82A.8000503@cs.fau.de>

On Tue, May 30, 2006 at 09:45:46AM +0200, Josef Angermeier wrote:
> Hello,
> 
> when i try to compile my kernel extension as modul, i get some undefined 
> references. But a look in System.map shows, that the relevant symbols 
> are defined in the main kernel. Why then those undefined references ?

Symbol must be exported to be available for modules, just being listed 
in System.map isn't enough.

Try adding EXPORT_SYMBOL(...) for those "undefined" references.

-- 
Eugene

      reply	other threads:[~2006-05-30  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30  7:45 undefined symbols of modules Josef Angermeier
2006-05-30  8:06 ` Eugene Surovegin [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=20060530080621.GA16186@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=Josef.Angermeier@informatik.uni-erlangen.de \
    --cc=linuxppc-embedded@ozlabs.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.