mario
2011-Mar-25 15:53 UTC
[Xen-users] Problem compiling xen-4.1.0 on a pure 64bit system
This is the error: make -C tcgbios all make[9]: Entering directory `/tmp/SBo/xen-4.1.0/tools/firmware/rombios/32bit/tcgbios'' gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .tcgbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -DNDEBUG -Werror -fno-stack-protector -fno-exceptions -fno-builtin -msoft-float -I../../../../../tools/include -I.. -I../.. -c -o tcgbios.o tcgbios.c In file included from /usr/include/features.h:381:0, from /usr/include/stdint.h:26, from /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/include/stdint.h:3, from ../rombios_compat.h:8, from tcgbios.c:24: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. I do understand that i should install 32bit glibc, but that was not the case with xen-4.0.1, so i do not understand why is it required now. Furthermore i could symlink stubs-64.h to stubs-32.h, but seeing those files actualy differ, i am unsure if that is a smart idea. Please advise. Best regards, mario _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
netz-haut - stephan seitz
2011-Mar-26 00:57 UTC
RE: [Xen-users] Problem compiling xen-4.1.0 on a pure 64bit system
Mit freundlichen Gruessen -- Stephan Seitz Senior System Administrator netz-haut GmbH multimediale kommunikation Zweierweg 22 97074 Würzburg Telefon: 0931 2876247 Telefax: 0931 2876248 Web: www.netz-haut.de Amtsgericht Würzburg – HRB 10764 Geschäftsführer: Michael Daut, Kai Neugebauer> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of mario > Sent: Friday, March 25, 2011 4:54 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Problem compiling xen-4.1.0 on a pure 64bit system > > This is the error: > > make -C tcgbios all > make[9]: Entering directory > `/tmp/SBo/xen-4.1.0/tools/firmware/rombios/32bit/tcgbios' > gcc -O2 -fomit-frame-pointer -m32 -march=i686 -fno-strict-aliasing > -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value > -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .tcgbios.o.d > -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs > -DNDEBUG -Werror -fno-stack-protector -fno-exceptions -fno-builtin > -msoft-float -I../../../../../tools/include -I.. -I../.. -c -o tcgbios.o > tcgbios.c > In file included from /usr/include/features.h:381:0, > from /usr/include/stdint.h:26, > from > /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/include/stdint.h:3, > from ../rombios_compat.h:8, > from tcgbios.c:24: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file > or directory > compilation terminated. > > I do understand that i should install 32bit glibc, but that was not the > case with xen-4.0.1, so i do not understand why is it required now. > Furthermore i could symlink stubs-64.h to stubs-32.h, but seeing those > files actualy differ, i am unsure if that is a smart idea.For 32bit guest support, some 32bit libs are necessary to build the stub-domain. On debian, one would install at least libc6-dev-i386. Maybe some others are needed e.g. lib32bz2-dev. You might want to take a look at the tarball's readme?> > Please advise. > > Best regards, > mario > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users