From: Genadz Batsyan <gbatyan@gmx.net>
To: linux-kernel@vger.kernel.org
Subject: Newbie: added function not visible
Date: Wed, 29 Jun 2005 18:59:04 +0200 [thread overview]
Message-ID: <200506291859.04965.gbatyan@gmx.net> (raw)
I'm desperate, please help, if I'm missing something obvious.
I am trying to add a function to the file drivers/char/keyboard.c
and then be able to call this function from my kernel module
adding the function to keyboard.c, recompiling and booting with kernel
results /proc/kallsyms telling me that my function exists with the tag 'T',
which I think is ok
In my module I simply declare the function's prototype and use it.
When trying to compile the module, modpost tells that the function's symbol
is not found. (insmodding results in error too)
I don't get it, WHY tha heck can it find all the other stuff and
what makes this new function different? I have read that 2.6 kernel exports
any non-static symbols.
Regards!
next reply other threads:[~2005-06-29 17:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 16:59 Genadz Batsyan [this message]
2005-06-29 17:10 ` randy_dunlap
2005-06-29 17:15 ` Robert Love
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=200506291859.04965.gbatyan@gmx.net \
--to=gbatyan@gmx.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®