Bug 804328

Summary: Kernel cannot be compiled
Product: [Fedora] Fedora Reporter: Turgut Kalfaoglu <turgut>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, soft-linux-drv
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-19 14:58:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Turgut Kalfaoglu 2012-03-17 20:40:52 UTC
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..

Comment 1 Josh Boyer 2012-03-19 13:12:09 UTC
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.

Comment 2 Kit Gerrits 2012-08-15 08:51:27 UTC
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?

Comment 3 Kit Gerrits 2012-08-20 08:41:12 UTC
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.