WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Trouble building hvm support on Ubuntu x86_64.
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>