After make menuconfig, I attempted to run make, however it gives an error make[1]: *** No rule to make target `/usr/src/kernels/3.3.0-0.rc7.git0.3.fc17.x86_64/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/asm/unistd_32.h'. Stop. make: *** [archheaders] Error 2 I am not sure what to do, as I have most -devel packages already installed..
The kernel-devel package isn't enough to build the kernel itself. It's meant for building other things against the kernel. If you want to rebuild the kernel for some reason, you need to rebuild the kernel SRPM.
I get the same error when trying to make the VirtualBox Guest kernel modules for 3.5.1: [kgerrits@fc01 3.5.1-1.fc17.x86_64]$ sudo make prepare make[1]: *** No rule to make target `/usr/src/kernels/3.5.1-1.fc17.x86_64/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/asm/unistd_32.h'. Stop. make: *** [archheaders] Error 2 Am I missing packages?
I have pulled the kernel modules from rpmfusion and they seem to work: Name : kmod-VirtualBox Arch : x86_64 Version : 4.1.18 Release : 1.fc17.5 Size : 8.6 k Repo : rpmfusion-free-updates Summary : Metapackage which tracks in VirtualBox kernel module for newest : kernel URL : http://www.virtualbox.org/wiki/VirtualBox License : GPLv2 or CDDL Description : This is a meta-package without payload which sole purpose is to : require the VirtualBox kernel module(s) for the newest kernel. : to make sure you get it together with a new kernel.