Can't build Kernel under Dapper / 6.06 - SOLVED

Harry Courtice hcourtice at optusnet.com.au
Mon Nov 13 11:39:21 UTC 2006


This seems to be building  now.

I had been using the sources in /usr/src/linux-source-2.6.15.tar.bz2. This
has the missing files

I donwloaded the sources from www.kernel.org and now builds fine.

Thanks for the hints Johan.

Cheers,

Harry. 

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Johan
Ramm-Ericson
Sent: Monday, 13 November 2006 6:10 PM
To: ubuntu-users at lists.ubuntu.com
Subject: Re: Can't build Kernel under Dapper / 6.06


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


--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list