title: "Unknown symbol in module" on module insertion despite EXPORT_SYMBOL
body: <p>I am trying to compile and insert the r8169 realtek ethernet driver. My kernel version is</p>
  
  <pre><code>ebin@sony:~$ uname -r
  4.2.0-rc3-custom
  </code></pre>
  
  <p>I have the full source of the same in my local disk, which is used to install the current kernel. The module compiles successfully when I run   <code>make -C /lib/modules/</code>uname -r<code>/build M=</code>pwd<code>modules</code><br>
  but when I insert the module, it shows</p>
  
  <pre><code>ebin@sony:~/linux_testing/linux-stable/drivers/net/ethernet/realtek$ sudo insmod r8169.ko
  insmod: ERROR: could not insert module r8169.ko: Unknown symbol in module
  ebin@sony:~/linux_testing/linux-stable/drivers/net/ethernet/realtek$ dmesg
  [16717.311216] r8169: Unknown symbol mii_ethtool_gset (err 0)
  </code></pre>
  
  <p>When I grepped through the source, I found  </p>
  
  <pre><code>EXPORT_SYMBOL(mii_ethtool_gset);
  </code></pre>
  
  <p>already exported in the <code>mii.c</code>. So I guess it is not the problem of unexported symbol. Let me know if I have to provide any other info. Please help. </p>