From: Sylvain <autofr@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: question about module and undeinfed symbols.
Date: Sun, 14 Nov 2004 19:42:06 +0100 [thread overview]
Message-ID: <64b1faec04111410421d76b8fa@mail.gmail.com> (raw)
Hello,
I have a problem of undefined symbol, that prevents me from loading
the module I wrote.
The function that is "undifined", is actually defined within the
kernel code, and I wanted it to be exported with "export_symbol"
macro. After re-compiling, the variable is actually presents in
/proc/kallsyms. (but with type == 't' -> section text, but not
global according to proc file..)
if I tried to compile a module using this variable, i got a warning
"undefined symbol", and for this reason, the module refuses to be
loaded with "insmod".
What I dont understand is the following:
The fonction printk, is also undifened and exported with the same
macro "export_symbol". but compilation doesnt complain about it!!
Am I missing a step somewhere?!
Thanks for any help,
sylvain
next reply other threads:[~2004-11-14 18:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-14 18:42 Sylvain [this message]
2004-11-14 18:48 ` question about module and undeinfed symbols Jan Engelhardt
2004-11-14 20:02 ` Sylvain
2004-11-14 20:44 ` Jan Engelhardt
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=64b1faec04111410421d76b8fa@mail.gmail.com \
--to=autofr@gmail.com \
--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 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.