The symbol is exported in c, that's why it is able to resolve at run time. I
also tried EXPORT_SYMBOL command in h file. Still getting the warning.
Usman
From: Hinko Kocevar <hinko.kocevar@xxxxxxxxxxxxxxx>
To: Knowledge Seeker <talibalm@xxxxxxxxxxx>
CC: kernelnewbies@xxxxxxxxxxxx
Subject: Re: Linux 2.6 Modules
Date: Tue, 13 Sep 2005 22:46:01 +0200
Knowledge Seeker wrote:
1. When I compile module b, which uses symbols from module a (both are my
modules), it says
*** Warning: "abc_cache" [/kernel/modb/modb.ko] undefined!
where "abc_cache" is comming from module a and module b can see its
prototype. How can I get rid of this warning. [both modules loads fine]
in module a do:
EXPORT_SYMBOL(abc_cache);
hth,
hinko
_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/