Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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/2.6.29.4-167.fc11.i586/ 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

1 Answer 1

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-2.6.30.4

# -- decompress kernel source into /usr/src --
# cd /usr/src/linux-2.6.30.4
# cp /boot/config-2.6.29.6-217.2.fc11.x86_64 ./.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. –  Vivek Aseeja 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. –  Vivek Aseeja 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

 
discard

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.