Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 163551

Summary: build of kernel module fails under latest errata
Product: [Fedora] Fedora Reporter: greg hosler <greg>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-18 20:12:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description greg hosler 2005-07-18 19:52:51 UTC
Description of problem: building standalone kernel modules outside of the kernel
source tree no longer works under the latest kernel errata   

Version-Release number of selected component (if applicable):


How reproducible: always (100%)

Steps to Reproduce:
I have a custom kernel module, which I have successfully build on earlier
kernels by doing a

        export KERNEL_VERSION="the kernel version"

The makefile itself has pretty standard stuff:

        KDIR  := /lib/modules/$(KERNEL_VERSION)/build
        PWD   := $(shell pwd)

followed by target definitions.

In all earlier installed kernels, /lib/modules/$(KERNEL_VERSION)/build was a

in the latest errata, /lib/modules/2.6.12-1.1372_FC3/build is a soft link to


My question is:

        is this a bug ? or is this the way of future kernel module builds ?


        given this soft link, do we now have to d/l the rource, and
        install it to /usr/src/kernels/2.6.12-1.1372_FC3-i686 ?

I'm guessing that I would need to do a rpmbuild -bp first.

Actual results:

build fails

Expected results:

a built kernel module.

Additional info:

Comment 1 Warren Togami 2005-07-18 20:12:19 UTC
See this other bug for details.  The simple solution is to install the
"kernel-devel" package.

*** This bug has been marked as a duplicate of 163406 ***