insmod fails with “Unknown symbol in module” for a symbol defined in another module
问题 I am working in Ubuntu. I am trying to make two kernel modules which uses each other functions. My problem is that I got modules properly compiled, but the symbol is not resolved for one of them. To make things simple, let's call these modules as m1 and m2 . m2 is exporting function void func_m2(void) . The m1 is calling this function. Both modules properly compile. After it all compiles, I need to load first the m2 module (because it has exported func_m2 function) and afterwards m1 module.