[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.