Bug 804328 - Kernel cannot be compiled
Summary: Kernel cannot be compiled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-17 20:40 UTC by Turgut Kalfaoglu
Modified: 2013-07-09 15:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-19 14:58:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.