Re: Modules.Symvers - What is (not) and how to use it?

From: Randy Dunlap
Date: Tue Apr 08 2014 - 17:37:51 EST


On 04/08/2014 09:55 AM, Ismael FarfÃn wrote:
> Hello guys
>
> I work on 3 modules, let's say:
> KServervices, mod1, mod2
>
> KServices exports functions consumed by mod1 and mod2.
>
> Accidentally I was deleting Modules.Symvers after compiling KServices
> and mod1 and mod2 failed to load because thery where looking for the
> functions in a different offset than the one shown in /proc/kallsyms
>
>
> QUESTION:
> What is and how do I use that file?
>
>
> I was hopping to find some good documentation in tldp.org, but
> nothing, I only find forums that mention it, but nothing that can help
> me understand it and probably find a way to stop requiring it.

There is a small bit of documentation for it in
kernel tree:Documentation/kbuild/modules.txt.


--
~Randy
--
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/