On Sun, 2006-02-26 at 18:19 +0100, stokerr(a)gmail.com wrote:
I am a newbie in linux
How to install sources/headers to compile module drivers ?
I tried to install
kernel-devel-2.6.15-1.1955_FC5.686.rpm
kernel-2.6.15-1.1955_FC5..src.rpm
kernel-2.6.15-1.1955_FC5.i686.rpm
get this error
[root@localhost madwifi-cvs-20051025]# make KERNELPATH=/usr/src/linux-2.6.15.i686
Try:
make KERNELPATH=/usr/src/kernels/2.6.15-1.1955_FC5-i686
or:
make KERNELPATH=/lib/modules/`uname -r`/build
That's where kernel-devel installs most of the kernel headers and such.
I think you're directing to the location of the the files the SRPM
installs, which aren't used for building things against the kernel, but
are used for building the kernel itself.
Dan