Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

These are the steps I am doing to compile the linux source on my machine :
1. Copy the config file from /boot to /usr/src/kernels/ directory
2. make oldconfig
3. make

Step 3 fails with the following error : make[1]: *** No rule to make target `missing-syscalls'. Stop.

Compiling on a x86 box. Any suggestions ? Please feel free to close this question if it does not belong here.

share|improve this question
Add an update saying its just when doing make oldconfig when this error occurs, not when using vanila .config file – Wayne Sep 3 '09 at 1:44
up vote 1 down vote accepted

Can you ensure kernel-headers and kernel-devel are installed?

eg: yum install kernel-headers kernel-devel

These are the steps I did on FC11 with vanilla kernel linux-

# -- decompress kernel source into /usr/src --
# cd /usr/src/linux-
# cp /boot/config- ./.config
# make clean
# make oldconfig
# choose 2 (Bzip2) kernel
# Hit enter and accepted the defaults for all the answers - You may want to do different
# make bzImage
# make modules
share|improve this answer
The vanilla kernel compiles fine as suggested in the steps. There were 2 more steps after this : make install_modules make install The above 2 steps setup the entry in menu.lst in /boot/grub/ and install the compile kernel image in the right place. – vivekian2 Sep 2 '09 at 22:36
Besides this, I really don't have the answer to the real question itself. Perhaps someone can answer the reason behind 'missing-syscalls' error. – vivekian2 Sep 2 '09 at 22:37
Yeah, i did not include the last two steps as we wanted the kernel to compile successfully so did not do the install_modules or the copy of bzImage to /boot directory – Wayne Sep 3 '09 at 1:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.