Kernel source location

t u towsonu2003 at gmail.com
Sat Sep 30 01:26:07 UTC 2006


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.

-- 
Please scan all attachments for viruses.
Or (though you might like Rodin) you might as well avoid "The Gates of
Hell" and use Linux.




More information about the ubuntu-users mailing list