title: Linux Kernel Module development compile for other kernel
body: <p>I'm using LinK+ in other to develop a linux kernel module. My development machine has a Linux Mint 18 installed operating system with kernel version 4.4.xx. For testing I want to deploy the kernel module to a Debian machine(in a virtualbox) which has a kernel version 3.16.xx.</p>
  
  <p>LinK+ has an option called "Compile for other kernel" (see image below)</p>
  
  <p><a href="https://i.stack.imgur.com/t8Ak1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8Ak1.png" alt="enter image description here"></a></p>
  
  <p>When I press that button a dialog ask me to point to Kernel Source Location. I've downloaded kernel version 3.16.xx from <a href="https://www.kernel.org/" rel="nofollow noreferrer">https://www.kernel.org/</a> and then pointed to extracted files from that archive.</p>
  
  <p>The output of the make command is this:</p>
  
  <pre><code>**** Build of configuration Debug for project VMDD ****
  
  make --makefile=Makefile --directory=KERN_SRC modules 
  make: Entering directory '/home/george/linkProjects/VMDD/KERN_SRC'
  make -C /home/george/kernels/linux-3.16.43/ M=/home/george/linkProjects/VMDD/KERN_SRC modules
  make[1]: Entering directory '/home/george/kernels/linux-3.16.43'
  
    WARNING: Symbol version dump ./Module.symvers
             is missing; modules will have no dependencies and modversions.
  
    CC [M]  /home/george/linkProjects/VMDD/KERN_SRC/VMDD.o
  /bin/sh: 1: ./scripts/recordmcount: not found
  scripts/Makefile.build:263: recipe for target '/home/george/linkProjects/VMDD/KERN_SRC/VMDD.o' failed
  make[2]: *** [/home/george/linkProjects/VMDD/KERN_SRC/VMDD.o] Error 127
  Makefile:1337: recipe for target '_module_/home/george/linkProjects/VMDD/KERN_SRC' failed
  make[1]: Leaving directory '/home/george/kernels/linux-3.16.43'
  make[1]: *** [_module_/home/george/linkProjects/VMDD/KERN_SRC] Error 2
  make: *** [modules] Error 2
  Makefile:8: recipe for target 'modules' failed
  make: Leaving directory '/home/george/linkProjects/VMDD/KERN_SRC'
  </code></pre>
  
  <p><strong>What did I do wrong ?</strong></p>