[hsflinux] problem with the kernel-source

Thomas White taw27 at cam.ac.uk
Wed Sep 25 13:55:00 EDT 2002


On Wed, 25 Sep 2002 13:27:31 +0200
"Fabian Greuel" <greuelf at web.de> wrote:

> i am using Debian "Woody" with kernel 2.4.18-bf 2.4. I am trying to
> install the hsf-modem driver. But make install stops because their is
> only the directory /lib/modules/KERNEL_VER/  
> but not  /lib/modules/KERNEL_VER/build although the sources are
> installed with dselect.
>  
> How can i create this directory?

/lib/modules/2.4.whatever/build should be a Symlink to the kernel
sources.  Here's what it looks like on my system:

weiss at taw27:~$ ll /lib/modules/2.4.19/
         21 Sep 17 13:14 build -> /usr/src/linux-2.4.19

To create the link, use something like:

ln -s /usr/src/kernel-source-2.4.whatever
/lib/modules/2.4.whatever/build

AFAIK, this symlink is created for you when you run "make
modules_install" in the kernel source dir.  If you're using a packaged
kernel (i.e. you didn't compile it for yourself) it might not exist.

______________________
Thomas White
Downing College
Cambridge



More information about the hsflinux mailing list