public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Unresolved symbol error in __wake_up_sync
@ 2003-02-25  6:40 sudharsan  vijayaraghavan
  2003-02-25  6:52 ` Roland Dreier
  0 siblings, 1 reply; 2+ messages in thread
From: sudharsan  vijayaraghavan @ 2003-02-25  6:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: narendiran_srinivasan

Hi
    We wrote a module in which we used wake_up_interruptible,
wake_up_interruptible_sync calls and when I compiled it into a      
module
with the appropriate Macros, it gets compiled properly.
 	But once, when I try to load the module with insmod, I get
__wake_up_sync -  unresolved symbol?
 	What module should I load to get out this error? I am using
2.4.7-10.

Please help us out.

Regards,
Sudharsan.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unresolved symbol error in __wake_up_sync
  2003-02-25  6:40 Unresolved symbol error in __wake_up_sync sudharsan  vijayaraghavan
@ 2003-02-25  6:52 ` Roland Dreier
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Dreier @ 2003-02-25  6:52 UTC (permalink / raw)
  To: sudharsan vijayaraghavan; +Cc: linux-kernel, narendiran_srinivasan

    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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-25  6:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-25  6:40 Unresolved symbol error in __wake_up_sync sudharsan  vijayaraghavan
2003-02-25  6:52 ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox