lkml.org 
[lkml]   [2008]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel module unable to find an exported symbol
On Sun, Apr 13, 2008 at 2:52 PM, Dmitri Vorobiev
<dmitri.vorobiev@gmail.com> wrote:
> David Erickson пишет:
>
> > Hi everyone, I have two kernel modules I am developing, both use the
> > call_rcu exported function. The core module finds it no problem,
> > installs, and uses it. The second module however when I try to insmod
> > it complains:
> >
> > Unknown symbol call_rcu
> >
> > I have verified that it is exported via /proc/kallsyms:
> > c04348c8 T call_rcu
> >
> > I am at a loss as to how to proceed, can anyone shed some light on how
> > this could be happening? Or how to diagnose and debug the problem?
>
> It is very much possible that adding the following line to the source
> code of your module will help:
>
> MODULE_LICENSE("GPL");
>
> HTH,
> Dmitri

That did the trick, thank you Dmitri!

-David
\
 
 \ /
  Last update: 2008-04-14 00:01    [W:0.309 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site