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] Error compiling Xen 4.0.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error compiling Xen 4.0.0
From: Hervé Delmas <12345bozieu@xxxxxxxxx>
Date: Tue, 08 Jun 2010 22:13:57 -0400
Delivery-date: Tue, 08 Jun 2010 19:31:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=MsvvLDj91O4ghi/43phKUj7R3eLWYZHP6DAfI1XShz0=; b=kTg4SHBI/KoAN0MIzDz+kZivshav0snTjpVaX7HBWbE7WhwYQ5T2noRM3oKJpXRYd3 FMGqVxs6h3zeyFfyTRdUndeWt4cZlqRndiLPGlYU4Av4JNLqpktkDVXmaTCH4QUVCTtf N3TI36Fkkh6Ylkw8FJu9ZpmTFGMv1nB6oEfn8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=kHUrK3mK1Kq2OghxC+wWfJ6l2EvaRMz9KNW7k5EQbG/ENwYJR//ZCyTYbn1UdZ4mr3 B+yoTPItRxBEyFWK1mkzZ++1V6i5VKjEqbYFS5sNoOIb4TY1oBd7nIr/T/nPWyhbYU/P td1pq/JOb8hO1tp/YCucr1C1FzKg/gAMQ5sPs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: 12345bozieu@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi folks, 

I am trying to compile Xen 4.0 from source on ubuntu 10.04 i86 32 bits.

I have tried xen-4.0 tarball and the latest version but both give me
errors of compilation.

make xen works perfectly, the problem is when I make the tools

Here is a snap-shot of the problem:

# make tools
...
...
...
  CC    i386-dm/machine.o
  CC    i386-dm/dma-helpers.o
  CC    i386-dm/virtio.o
  CC    i386-dm/virtio-blk.o
  CC    i386-dm/virtio-net.o
  CC    i386-dm/virtio-console.o
  CC    i386-dm/fw_cfg.o
  CC    i386-dm/kvm.o
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c: In 
function ‘kvm_arch_init_vcpu’:
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:47: 
warning: implicit declaration of function ‘cpu_x86_cpuid’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c: In 
function ‘kvm_has_msr_star’:
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:159: 
error: ‘MSR_STAR’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:159: 
error: (Each undeclared identifier is reported only once
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:159: 
error: for each function it appears in.)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c: In 
function ‘set_seg’:
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:219: 
error: ‘DESC_TYPE_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:220: 
error: ‘DESC_P_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:222: 
error: ‘DESC_B_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:223: 
error: ‘DESC_S_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:224: 
error: ‘DESC_L_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:225: 
error: ‘DESC_G_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:226: 
error: ‘DESC_AVL_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c: In 
function ‘get_seg’:
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:236: 
error: ‘DESC_TYPE_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:237: 
error: ‘DESC_P_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:238: 
error: ‘DESC_DPL_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:239: 
error: ‘DESC_B_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:240: 
error: ‘DESC_S_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:241: 
error: ‘DESC_L_SHIFT’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:242: 
error: ‘DESC_G_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:243: 
error: ‘DESC_AVL_MASK’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c: In 
function ‘kvm_getput_regs’:
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:265: 
error: ‘CPUX86State’ has no member named ‘regs’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:265: 
error: ‘R_EAX’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:266: 
error: ‘CPUX86State’ has no member named ‘regs’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:266: 
error: ‘R_EBX’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:267: 
error: ‘CPUX86State’ has no member named ‘regs’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:267: 
error: ‘R_ECX’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:268: 
error: ‘CPUX86State’ has no member named ‘regs’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:268: 
error: ‘R_EDX’ undeclared (first use in this function)
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:269: 
error: ‘CPUX86State’ has no member named ‘regs’
/home/herve/Desktop/Download/xen-4.0.0/tools/ioemu-dir/target-i386/kvm.c:269: 
error: ‘R_ESI’ undeclared (first use in this function)

Regards


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error compiling Xen 4.0.0, Hervé Delmas <=