Aug. 19, 2011
5:03 a.m.
On Thu, Aug 18, 2011 at 10:40:12PM -0300, Jorgyano Bruno wrote:
Hello guys!
I'm working with three out-of-tree kernel modules, one of them export symbols used by the others. At compile time, MODPOST warns about undefined symbols, which are defined on the first module and used in the second and third modules. When I try to load the modules "insmod" returns the error "Unknown Symbol in module" for those symbols warned by MODPOST.
How can I to compile several out-of-tree modules which depends on one another and make to the dependant modules look for the needed symbols on the directories of the modules which have the symbols?
Use modprobe, not insmod, and you will be fine. greg k-h