title: errors while compiling kernel on ubuntu
body: <p>i am using ubuntu 12.04 on vmware installed in a windows 7 pc...i was trying to compile linux-2.6.0 source file(downloaded from kernel.org)...i followed the steps as told on the web but there were problems...</p>
  
  <p>so i searched a bit and came across <a href="https://stackoverflow.com/questions/8869931/compiling-the-2-6-0-kernel-on-slackware">this</a>...i followed the way told in the answer but still after executing the 2nd step, when i move on to execute the 3rd step(make menuconfig) i get the following errors..</p>
  
  <pre><code>make[1]: `scripts/fixdep' is up to date.
  HOSTCC  scripts/kconfig/mconf.o
  scripts/kconfig/mconf.c:91:21: error: static declaration of ‘current_menu’ follows
  non-static declaration
  scripts/kconfig/lkc.h:63:21: note: previous declaration of ‘current_menu’ was here
  scripts/kconfig/mconf.c: In function ‘show_textbox’:
  scripts/kconfig/mconf.c:553:7: warning: ignoring return value of ‘write’, declared with
  attribute warn_unused_result [-Wunused-result]
  scripts/kconfig/mconf.c: In function ‘exec_conf’:
  scripts/kconfig/mconf.c:225:6: warning: ignoring return value of ‘pipe’, declared with
  attribute warn_unused_result [-Wunused-result]
  make[1]: *** [scripts/kconfig/mconf.o] Error 1
  make: *** [menuconfig] Error 2
  </code></pre>
  
  <p>same errors happened when i used make xconfig...please tell me what should be done? thanks in advance.</p>