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

[Xen-users] Trouble building hvm support on Ubuntu x86_64.


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "JHJE (Jan Holst Jensen)" <jhje@xxxxxxxxxxxxxxx>
  • Date: Wed, 7 Feb 2007 13:28:25 +0100
  • Delivery-date: Wed, 07 Feb 2007 04:28:37 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcdKs3ZohffO8R2YSfWp9ijoQfN3rQ==
  • Thread-topic: 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@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®.