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

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


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

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®.