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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fwd: xen tools compile failed - missing gnu/stubs-32.h
From: "Aaron Peterson" <lloyd.peterson@xxxxxxxxx>
Date: Sun, 17 Aug 2008 19:02:38 -0400
Delivery-date: Sun, 17 Aug 2008 16:03:13 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nRvfCCfITuMuaMGtntXBJj5EDx8CKA4HvAXKs0O4AX0=; b=YUxWH4tWazlhk1BhL5C78TNwIoPJqBWaICFlvLSH58dqI8sqbske1HuWJXQhthPXIJ b0t/J73VJ/TGf/tZLhrA7iQo4yRrIqqcbtFSm4NctRa7a5gZQ1WcFwbqP0V5RkpEtVD8 cmW5f0SCrb9JyPmKB0lJXpPtav/BlrmZ9r+TA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LPLkgTT7BmhaoAYT1aBBlxy3h6hkzCh1xC6QuVeJWnZzz49EEUOTjE/qcaZbI87imf TlhQemyDX7KX3yqM4IShtuf5rdlj2Rk/RUfef84AwSjXo2Bsw38RH5Adu66v1YiCidDG JY8YFuDP1mfc4C91yhJwFDL/5Q//SPBv3ZcJA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <95550eab0808171457k765ad35ds2cf299dd760ce046@xxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
nevermind. I needed the glibc-devel.i386. "yum install glibc-devel"
took care of the error...

---------- Forwarded message ----------
From: Aaron Peterson <lloyd.peterson@xxxxxxxxx>
Date: Sun, Aug 17, 2008 at 5:57 PM
Subject: xen tools compile failed - missing gnu/stubs-32.h
To: xen-users@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