Can't build Kernel under Dapper / 6.06

Johan Ramm-Ericson ubuntu at ramm-ericson.se
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
>
> http://cosi.clarkson.edu/docs/kernel/setup/uml/uml.html
>
> 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:

https://help.ubuntu.com/community/Kernel/Compile
http://www.howtoforge.com/kernel_compilation_ubuntu

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

HTH,
Johan





More information about the ubuntu-users mailing list