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

[Xen-users] xen tools compile failed - missing gnu/stubs-32.h

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen tools compile failed - missing gnu/stubs-32.h
From: "Aaron Peterson" <lloyd.peterson@xxxxxxxxx>
Date: Sun, 17 Aug 2008 17:57:23 -0400
Delivery-date: Sun, 17 Aug 2008 14:57:59 -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:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=6hKh58xr0Ca5Os3Oj5fLP+bCQjoqzq5FIODmDOTW+6s=; b=Z1k5Cr37hAWV4JPdfF1wagd2p2jF+lfU4TkKDbXhGnASp1NOsYmc7lS0Ehfqo439xk IynrLkct/5Z92jVd1d6Jq5lZ5+GN+HlRIG4avT06wYUSLf52/G0hTAusxS+r/RXT4v7l OtgTEHl0V7vk4LQgbKIvR4e4VlP750um85DJc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=CXzbI+zUDivI/ACE7yDW94xWo5RKdbRNLNyt+tAUhIdpF73oXwF5ZLNHsYenWYAPRp PvsHzeAtJMWnOyRyqWl6/JUHT+H5l0GQrVks3CGbqMBmPl2nB1LSuN7OmZFpVVZkOoaI inDC3hd/kXE/fqZSXoEYIG7RhjKOOEfMcO48c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I was trying to compile xen tools from 3.2-testing on centos5 amd64
(with vmxassist=n) and the compile failed with:

gcc   -m32 -march=i686 -DNDEBUG -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
-D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-mno-tls-direct-seg-refs -fno-builtin -O2 -msoft-float -nostdlib
-fno-stack-protector  -I../ -I../../ -DGCC_PROTOS -c -o tcgbios.o
tcgbios.c
In file included from /usr/include/features.h:352,
                 from /usr/include/stdint.h:26,
                 from ../rombios_compat.h:8,
                 from tcgbios.c:24:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[4]: *** [tcgbios.o] Error 1
make[4]: Leaving directory
`/usr/src/xen-3.2-testing.hg/tools/firmware/rombios/32bit/tcgbios'
make[3]: *** [subdirs] Error 2
make[3]: Leaving directory
`/usr/src/xen-3.2-testing.hg/tools/firmware/rombios/32bit'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/xen-3.2-testing.hg/tools/firmware'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/xen-3.2-testing.hg/tools'
make: *** [install-tools] Error 2

what is this stubs-32.h, why don't I have it and where can I get it :-)

I just typed "make world vmxassist=n" but perhaps I need "-march=k8"
or something about "x86_64" somewhere. Not sure why it is compiling
for 686, doesn't it compile for the current arch by default?

TIA

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