title: linux kernel module linker warnings: "*** Warning: <function> [<module>] undefined!" - any way to get rid of them?
body: <p>While compiling Linux kernel modules that depend on each other, linker gives undefined symbol warnings like </p>
  
  <pre><code> Building modules, stage 2.
   MODPOST
  *** Warning: "function_name1" [module_name] undefined!
  *** Warning: "function_name2" [module_name] undefined!
  *** Warning: "function_name3" [module_name] undefined!
  </code></pre>
  
  <p>The unresolved symbols are resolved as soon as module is inserted into kernel using insmod or modprobe. Is there any way to get rid of the linker warning, though?</p>
  
  <p>I have read through 3 Google SERP's on this issue - it seems nobody knows the answer. Are these linker warnings supposed to be this way when you build a kernel module? </p>