title: Disagrees about version of symbol symbol_name after insmod
body: <p>I am new in kernel programming.</p>
  
  <p>For implementing my project work, I have downloaded the latest stable <strong>kernel (v4.3)</strong> from <a href="https://www.kernel.org/" rel="nofollow noreferrer">kernel.org</a>.</p>
  
  <p>Just for checking I have copied a few files from the kernel directories into my project directory. Made changes to it and inserted a few more code to it.</p>
  
  <p>Then I compiled on <strong>SLES11 Linux kernel</strong> using</p>
  
  <pre><code>make -C /lib/modules/$(uname -r)/build M=$PWD modules
  </code></pre>
  
  <p>I have used the below makefile</p>
  
  <pre><code>obj-m := my_module.o
  my_module-objs := module_main.0 other_module1.o other_module2.o other_module3.o
  </code></pre>
  
  <p>It compiled successfully.
  But when I tried to insert into the kernel using </p>
  
  <pre><code>insmod my_sample.ko
  </code></pre>
  
  <p>It showed the following</p>
  
  <blockquote>
    <p>disagrees about version of symbol symbol_name</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/pcP0K.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pcP0K.jpg" alt="enter image description here"></a></p>