Re: How to find "Unresolved Symbols"

From: Sam Ravnborg
Date: Thu Sep 15 2005 - 11:33:38 EST


On Thu, Sep 15, 2005 at 02:47:02PM +0200, Budde, Marco wrote:
> Hi,
>
> I am working on a larger kernel module.
> This module will be based on a lot of
> portable code, for which I have to implement
> the OS depended code.
>
> At the moment I can compile the complete
> code into a module. Some of OS depended
> code is still missing, but I do not get
> any warnings from kbuild.
>
> When I try to load the module, I can a really
> strange error message:
>
> insmod: error inserting 'foo.o': -795847932 Function not implemented
>
> What does that mean? How can I get a list
> of missing symbols?

How do you compile the module?
I you use:
make dir/file.ko
then kbuild will warn you about undefined symbols.
Here I assume you only use standard methods in your kbuild file, and do
not play funny tricks with vermagic etc.

Sam
-
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/