[Ilugc] Re: ilugc Digest, Vol 7, Issue 23

  • From: kums@xxxxxxx (Kumaraguru)
  • Date: Thu Dec 9 12:08:15 2004

Hi Mahesh,

http://www.redhat.com/magazine/001nov04/features/fedoracore3/
says..

************************************************************************
Fedora Core 3 no longer includes the kernel-source package. Users who
want to rebuild the kernel are encourage to download the kernel-
<version>.src.rpm source RPM, install it, and build kernel-source from
it. However, if a user wants to build a module against the existing
kernel, the entire kernel source tree is not required.
Refer to the Release Notes for details on both these operations.

************************************************************************

The release note:
http://fedora.redhat.com/docs/release-notes/fc3/x86/  says

************************************************************************
An exploded source tree is not required to build kernel modules against
the currently in-use kernel.

For example, to build the foo.ko module, create the following file
(named Makefile) in the directory containing the foo.c file:


obj-m    := foo.o

KDIR    := /lib/modules/$(shell uname -r)/build
PWD    := $(shell pwd)

default:
    $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
          

Issue the make command to build the foo.ko module.

************************************************************************


Regards
Kumaraguru

On Thu, 2004-12-09 at 09:49 +0530, maheshn@xxxxxxxxxxxxx wrote:

Is there any other way apart from downloading from the net. Because its a
whotting 38MB file and my dialup conn will burn my pocket.

If anyone is aware of any Magazine giving away the
kernel-2.6.9.1.667.src.rpm, pls inform me.

Best Regards,
Mahesh.




Other related posts: