From: Roland Dreier <roland@topspin.com>
To: "sudharsan vijayaraghavan" <my_goal@rediffmail.com>
Cc: linux-kernel@vger.kernel.org, narendiran_srinivasan@satyam.com
Subject: Re: Unresolved symbol error in __wake_up_sync
Date: 24 Feb 2003 22:52:26 -0800 [thread overview]
Message-ID: <524r6sua1h.fsf@topspin.com> (raw)
In-Reply-To: <20030225064001.20937.qmail@webmail17.rediffmail.com>
sudharsan> We wrote a module in which we used
sudharsan> wake_up_interruptible, wake_up_interruptible_sync calls
sudharsan> and when I compiled it into a module with the
sudharsan> appropriate Macros, it gets compiled properly. But
sudharsan> once, when I try to load the module with insmod, I get
sudharsan> __wake_up_sync - unresolved symbol? What module should
sudharsan> I load to get out this error?
You don't need to load another module, since __wake_up_sync is part of
the kernel. You are probably running into a problem with module
versions. When you do:
$ grep __wake_up_sync /proc/ksyms
you will probably get something like:
c01147e0 __wake_up_sync_R08c2a6b5
The _R08c2a6b5 part of the symbol name is the version, which comes
from the ".ver" files in your kernel include tree. You will have to
include <linux/modversions.h> to get the correct definition for
__wake_up_sync.
By the way, 2.4.7 is an extremely old kernel, and you may avoid
problems by moving to something newer.
Best,
Roland
prev parent reply other threads:[~2003-02-25 6:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-25 6:40 Unresolved symbol error in __wake_up_sync sudharsan vijayaraghavan
2003-02-25 6:52 ` Roland Dreier [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=524r6sua1h.fsf@topspin.com \
--to=roland@topspin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=my_goal@rediffmail.com \
--cc=narendiran_srinivasan@satyam.com \
/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