JHJE (Jan Holst Jensen)
2007-Feb-07 12:28 UTC
[Xen-users] Trouble building hvm support on Ubuntu x86_64.
Hi. I managed to build Xen 3.0.4-1 on Ubuntu 6.10 x86_64 (I thought) but when I try to start a HVM domain I find that I don''t have any ''hvmloader'' anywhere. After googling a bit I found that I needed a couple of extra packages to build the HVM BIOS (found the obscure warning about a missing ''dev86'' package in the make output). So I did # apt-get install bin86 # // enabled universe repository # apt-get install bcc # cd /root/xen-3.0.4_1-src/tools/ # make all which gives me the following output: [...bla bla bla...] gcc -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -D__ASSEMBLY__ -DDEBUG -DTEXTADDR=0x000D0000 -c trap.S gcc -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c vm86.c In file included from /usr/include/features.h:346, from /usr/include/stdint.h:26, from vm86.h:24, from vm86.c:21: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory vm86.c: In function âprotected_modeâ: vm86.c:964: warning: assignment makes integer from pointer without a cast make[2]: *** [vm86.o] Error 1 Any ideas ? More details on my setup so far is at http://wiki.xensource.com/xenwiki/XenOnUbuntu64. Cheers -- Jan Holst Jensen, Novo Nordisk A/S, Denmark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Marshall
2007-Feb-07 17:35 UTC
Re: [Xen-users] Trouble building hvm support on Ubuntu x86_64.
> gcc -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes > -Wno-unused-value -Wdeclaration-after-statement > -fno-stack-protector -DDEBUG -DTEXTADDR=0x000D0000 -I. > -I../../../tools/libxc -fno-builtin -O2 -msoft-float -c vm86.c > > In file included from /usr/include/features.h:346, > from /usr/include/stdint.h:26, > from vm86.h:24, > from vm86.c:21: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or > directory > vm86.c: In function protected_mode: > vm86.c:964: warning: assignment makes integer from pointer without a > cast > make[2]: *** [vm86.o] Error 1 > > Any ideas ? More details on my setup so far is at > [1]http://wiki.xensource.com/xenwiki/XenOnUbuntu64.Try installing libc6-dev-i386...? -- why would i want to help allievate the situation? hell, i get to have all my computers attack microsoft for free! and legally! wohoo! sick ''em! -- Anonymous comment, regarding patching Windows for worms. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
JHJE (Jan Holst Jensen)
2007-Feb-08 09:40 UTC
RE: [Xen-users] Trouble building hvm support on Ubuntu x86_64.
> > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No > > such file or directory > > vm86.c: In function âprotected_modeâ: > > vm86.c:964: warning: assignment makes integer from> Try installing libc6-dev-i386...?Ahhh - merci! Solved that for sure. Cheers -- Jan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users