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 tools compile failed - missing gnu/stubs-32.h

To: echo@xxxxxxxxxxxx
Subject: Re: [Xen-users] xen tools compile failed - missing gnu/stubs-32.h
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Mon, 18 Aug 2008 08:59:24 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Aaron Peterson <lloyd.peterson@xxxxxxxxx>
Delivery-date: Mon, 18 Aug 2008 06:00:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4C06eGc5wxAtlm2QjZs183IJq1Ww5e6ekeFH8zOXiWU=; b=nMPvvubx+DZjaFT78KyY11yQl0aZoFyngPJ6R2XtNds9pzexvQYv78KCu0lKXQVGYI 8ij06xNn3hExB/bO5CEd/7xWCF9beS9nD+MW10F25NZtHvBnJdkgp7J2e7Q+DD2AMdfq 5g+zz2TRgkIxVKuMRBQkE6JYnRWAKgOSk74B4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=rjEi9YxehcnYbotyBd4qwnjFTd6CXAdv9BsGQ3DWc/rMAdd7zg638cOVe6lSOdzhIr KbyhPJweUSE68Bo+j+El0V53YTdOyovUqPcE/o2HtpzqSyhXAhFe5jVjaXQK5XTykOPK 6dH/K/E0WlRlS/TBzobWUhWaYxRpSJj87WAvI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1219059805.8732.395.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <95550eab0808171457k765ad35ds2cf299dd760ce046@xxxxxxxxxxxxxx> <1219059805.8732.395.camel@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tim,

On Mon, Aug 18, 2008 at 7:43 AM, Tim Post <echo@xxxxxxxxxxxx> wrote:
> On Sun, 2008-08-17 at 17:57 -0400, Aaron Peterson wrote:
>> what is this stubs-32.h, why don't I have it and where can I get it :-)
>
> Just:
>
> ln -s /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs-32.h
>


I just did a apt-get install libc6-dev-i386

followed by:

diff /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs-32.h
10c10,12
< #define __stub_bdflush
---
> #define __stub___kernel_cosl
> #define __stub___kernel_sinl
> #define __stub___kernel_tanl
15d16
< #define __stub_getmsg
18d18
< #define __stub_putmsg


The ln might not be so harmless necessarily


> The stubs just load arch specific headers, which do their own sanity.
> This is a bug, however the work-around is quite safe.
>

Whose bug is it? If it is Xen's then shouldn't it be fixed before the release?

Although a dependency on the i386 libc devel package isn't that big of a
deal really.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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