WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen compilation is giving errors

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen compilation is giving errors
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Wed, 16 Feb 2011 18:50:52 +0530
Delivery-date: Wed, 16 Feb 2011 05:22:33 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ijIDUq4kjzIR9UFKCNl964dARbwR3xO5/X+swTnKOpY=; b=mjn/Ozg839lyzZdFXC7wlQUTt2A6ZnHBWSBfjJBweDBzI/QMsvFpYmQ2/dIeUJQsJg 1ADJjDlAdJgtN6RDGaFGnZsbKMW+G7CoJcnqkqYUg/tiA+qYj31639RjsT5rbaMqJFNf yLGn+aEJniuPTcIOBaTY6lCbYzc1aAWUVwCnk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tJV+Ch977dGy9+BLFWIvm85/bZPUf3qIomJSAL7NS6yy0CNxtKQLk9Z/3PNUuwfvj7 5cRWLPd0WTgmoW5XPEHGEeBpjZSQSfaYgHSbD6nrCTPQHwN7yOh6VtaMA45gkbz41jcw macs4z39jh3bkskcAtsTXTSdoGq3uCwm/tnhE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110216105748.GB31840@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikyAErv3LRozjEPhibBX0K4sGf_C2SJuK4UmXCa@xxxxxxxxxxxxxx> <20110216085701.GA31840@xxxxxxxx> <AANLkTimY9E5j618XVUd9Dj1pGK7S6yd4-j9TPWg59Ug1@xxxxxxxxxxxxxx> <AANLkTikEuN5n0XCJVXvyNDGo0yEUO0LbaurFkibo4Tfr@xxxxxxxxxxxxxx> <20110216105748.GB31840@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Feb 16, 2011 at 4:23 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> On Wed, Feb 16, 2011 at 5:42 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> Ok  now when I type make world
>> I get following error
>>
>> http://pastebin.com/bFjm7hWy
>
> The error
> awk: line 2: function gensub never defined
> /home/tapas/xen-4.0.1/linux-2.6.18-xen.hg/scripts/Makefile.build:74:
> *** 'Your awk program does not define gensub.  Use gawk or another awk
> with gensub'.  Stop.
>
> looks weird. Perhaps you should follow the error warning and install gawk?
>
> Anyway, since you're going to use 4.0.1, I actually recommend NOT
> append KERNELS="linux-2.6-xen0 linux-2.6-xenU" (which would install
> 2.6.18, but instead run
>
> make xen
> make tools
> make stubdom
> make install-xen
> make install-tools
> make install-stubdom
>
Ok upto here things worked very well but
I  installed apt-get build-dep xen-3.3
as this archive msg says
http://www.gossamer-threads.com/lists/xen/users/185290

> and then compile dom0 kernel following
> http://wiki.xensource.com/xenwiki/XenParavirtOps.
I want to know if I can get a default .config file to compile a dom0
kernel for 32 bit and 64 bit
or I use the .config of my host OS (which right now does not have Xen) in /boot

> ... or perhaps a "make world" (without anything after that) might do
> all the steps, but I prefer doing it one by one so I can see which
> part actually fails :P
>
>






On Wed, Feb 16, 2011 at 4:27 PM, Dieter Bloms <xensource.com@xxxxxxxx> wrote:
> Hi,
>
> On Wed, Feb 16, Tapas Mishra wrote:
>
>> Ok  now when I type make world
>> I get following error
>>
>> http://pastebin.com/bFjm7hWy
>
> you have to use an awk version which defines "gensub" as mentioned in
> the error messages.
I am not very good when such error messages
come but by what Fajar said I was able to proceed.
>
> Which distribution do you use for compiling ?
I am using Ubuntu 9.04 32 bit desktop edition


-- 
http://mightydreams.blogspot.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users