From: vinay hegde <thisismevinay@yahoo.co.in>
To: linux-kernel@vger.kernel.org
Subject: Regarding - unresolved symbol
Date: Tue, 11 Oct 2005 14:59:44 +0100 (BST) [thread overview]
Message-ID: <20051011135944.22612.qmail@web8402.mail.in.yahoo.com> (raw)
Hi,
I am developing a device driver module related to the
real time clock on Linux 2.4 kernel. [This is done
with regard to changing one of the existing timer chip
on the system.] For some reason, I am getting into an
unresolved symbol.
I am following sequence of code in the module (not
necessarily in the sequential manner though).
----------
extern void *sys_call_table[];
static int (*timer_mknod)(const char *, ... );
timer_mknod = sys_call_table[__NR_mknod];
----------
Whenever I try to insert the module into the kernel, I
get the following error:
timer.o: unresolved symbol sys_call_table
All the necessary headers are present and I am able to
see the symbol 'sys_call_table' in System.map. I do
not see any error in this regard. Can somebody help me
in pointing out the flaw?
[I am able to fix this problem by simply using the
'sys_mknod()' call in my module, but I really would
like to know why the above piece of code can not
work!]
Thank you,
Vinay Hegde
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
next reply other threads:[~2005-10-11 13:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-11 13:59 vinay hegde [this message]
2005-10-11 15:16 ` linux-os (Dick Johnson)
2005-10-11 15:32 ` Jon Masters
2005-10-11 15:21 ` Jon Masters
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=20051011135944.22612.qmail@web8402.mail.in.yahoo.com \
--to=thisismevinay@yahoo.co.in \
--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®