title: Compiling kernel error: stdio.h: No such file or directory
body: <p>I am making  SYSTEM CALL for linux 2.6.39 kernel.</p>
  
  <p>I have completed all the edits in the files. Now When i am trying to compile the kernel it is showing this error :</p>
  
  <p>error: stdio.h: No such file or directory</p>
  
  <p>If i remove stdio.h, Will the system call work ???</p>
  
  <p>My code is </p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include &lt;linux/linkage.h&gt;
  
  asmlinkage long sys_atvfcfs(int at[], int bt[], int n)
  {
  
  int i=0;
  int j,t,wt[n],sum,q;
  
  float avgwt;
  
  
   for(j=i+1;j&lt;n;j++)
    {
     if(at[i]&gt;at[j])
  
      {
  t=at[i];
  at[i]=at[j];
  at[j]=t;
  q=bt[i];
  bt[i]=bt[j];
  bt[j]=q;
      }
     }
  
  
  wt[0]=0;
  sum=0;
  
  
  for(i=0;i&lt;n-1;i++)
  {
  
  wt[i+1]=wt[i]+bt[i];
  sum=sum+(wt[i+1]-at[i]);
  
  }
  
  avgwt=sum/n;
  
  return avgwt;
  
  
  }
  </code></pre>