[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with kernel source installation

On Fri, Nov 29, 2002 at 11:57:53AM -0000, Charles Garcia-Tobin wrote:
> 1.  Install kernel-source-2.4.18-5 package
> 2. Uncompress and untar /usr/src/kernel-source-2.4.18-5.tar.bz2
> 3. Symbolic link /usr/src/linux --> kernel-source-2.4.18-5
> 4. cp kernel-config to /usr/src/linux/.config

yeah, followed by a make dep and you should be set _if_ the kernel
source is the same version as the kernel you're running.   

actually, the reason why building those drivers requires the kernel
source is because it needs the kernel-header files.  so, alternatively, if
you're running one of the debian pre-configured kernel-image packages, you
can just install the kernel-headers package of the same version kernel,
and then you don't need the kernel source at all.  or, if you're made
your own kernel with make-kpkg, make-kpkg binary will make not only a
deb for your kernel image but also make a kernel-headers package as well.

anyway, good luck

Attachment: pgp9SenbZ9fWB.pgp
Description: PGP signature

Reply to: