title: An Error occured while compiling Linux Kernel 2.6 with a new System Call
body: <p>I added a new System Call in the Linux Kernel 2.6.33 including all the essential user-side and kernel-side parts, but while compiling I got the follwing error:</p>
  
  <pre><code>arch/x86/built-in.o: In function `sys_call_table':
  (.rodata+0x724): undefined reference to `sys_my_sys_call'
  make: *** [.tmp_vmlinux1] Error 1
  </code></pre>
  
  <p>I tried to change kernal version (2.6.32.21) but error always occurs.
  Let's show the simple code of "Hello! World." syscall:</p>
  
  <pre><code>#include &lt;linux/kernel.h&gt;
  
  asmlinkage long sys_hello(void)
  {
      printk("Hello world\n");
      return 0;
  }
  </code></pre>