buolding kernel modules under latest errata (2.6.12-1.1372_FC3)

Greg Hosler fc3 at amnesia.accessgate.com.sg
Mon Jul 18 19:44:24 UTC 2005


Hi,

I have a custom kernel module, which I have successfully build on earlier
kernels by doing a

        export KERNEL_VERSION="the kernel version"
        make

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
directory.

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

        ../../../usr/src/kernels/2.6.12-1.1372_FC3-i686

My question is:

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

and

        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.

Has anyone built a kernel module with the latest errata kernel
(2.6.12-1.1372_FC3)

This is for FC-3

thanks for any info and/or pointers.

-Greg Hosler

+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   greg at hosler.per.sg    |
+---------------------------------------------------------------------+




More information about the fedora-list mailing list