Re: missing kernel symbol in a module

Keith Owens (kaos@ocs.com.au)
Thu, 25 Nov 1999 09:44:32 +1100


On Wed, 24 Nov 1999 16:03:57 -0500,
"pdeng" <pdeng@lincs.net> wrote:
>I changed the save_flag macro a little and insert one extra function
>testfoo() at the end of the macro. compile and the kernel works fine.
>However, all the modules fail to load because the missing symbol, testfoo().
>I did put/export_symbol the testfoo() inside ksyms.c as others. The
>system.map file has the testfoo symbol too. Just that
>the modules are failing.

System.map is only used during debugging, it has no effect when loading
modules. A symbol must appear in /proc/ksyms before a module can use
it. Is testfoo in /proc/ksyms? Did you boot your new kernel?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/