Re: Kernel module unable to find an exported symbol
From: Dmitri Vorobiev
Date: Sun Apr 13 2008 - 17:52:41 EST
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
>
> Thanks,
> David
>
> ps please CC me on a reply, thank you!
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/