Can't build Kernel under Dapper / 6.06

Johan Ramm-Ericson ubuntu at
Mon Nov 13 08:10:17 UTC 2006

On Sun, November 12, 2006 16:49, harry courtice wrote:
> Hello,
> I am trying to build a kernel (UML) under Ubuntu 6.06 .
> I have followed the instructions in
> Below, I have listed versions of various bits of software, and shown the
> outcome of the "make linux" command.
> The first error that comes up is a missing file - asm/alternative.h
> I would appreciate some help here - I guess this shouldn't be too hard,
> but I don't know where to go to get things working.
> Thanks,
> Harry.

I suspect you are missing the linux-kernel-devel package ("sudo apt-get
install linux-kernel-devel").

You may want to combine the info in the following two instructions with
the UML kernel build instructions that you have looked at previously:

Also; when trying to find missing files and the packages in which they are
contained, this site ( ) may be useful.


More information about the ubuntu-users mailing list