http://fr.rpmfind.net/linux/fedora/core/3/i386/os/RELEASE-NOTES-en.(...) In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel's .src.rpm file, Fedora Core 3 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel .src.rpm file.
...
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:
# Sources dans usr/src/linux avec FC3
Posté par itstimetogo . En réponse au message Sources dans usr/src/linux avec FC3. Évalué à 1.
Il n'y a plus de kernel-sourcecode.
http://fr.rpmfind.net/linux/fedora/core/3/i386/os/RELEASE-NOTES-en.(...)
In order to eliminate the redundancy inherent in providing a separate package for the kernel source code when that source code already exists in the kernel's .src.rpm file, Fedora Core 3 no longer includes the kernel-source package. Users that require access to the kernel sources can find them in the kernel .src.rpm file.
...
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.
Passe /lib/modules/`uname -r`/build ou fait un lien :
ln -s /lib/modules/`uname -r`/build /usr/src/linux
N'oublies pas de mettre à jour le lien lorsque tu changes de noayu.
Pour compiler le noyau :
http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en(...)