Kernel source location

Colin Kern razael1 at
Sat Sep 30 01:42:39 UTC 2006

On 9/29/06, t u <towsonu2003 at> wrote:
> Colin Kern wrote:
> > I'm trying to build a driver using the live CD so I can make sure it
> > works before I install Ubuntu on my hard drive.  The makefile for the
> > driver is looking for the directory /lib/modules/2.6.15/build.  I have
> > /lib/modules/2.6.15, but there is no "build" directory in it.  Is
> > there a package that I need to install to get that to appear?
> >
> > Thanks,
> > Colin Kern
> >
> the command you need:
> sudo apt-get update
> sudo apt-get install build-essential
> you'll need a network connection for this. it will download and install
> the kernel headers (package name: linux-headers) that you need, as well
> as the make utility and so on.

I had already installed build-essential, but linux-headers isn't in
the dependencies.  I'll go ahead and install it.

Colin Kern

More information about the ubuntu-users mailing list