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

[Xen-users] Error compiling Xen 4.0.0


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Hervé Delmas <12345bozieu@xxxxxxxxx>
  • Date: Tue, 08 Jun 2010 22:13:57 -0400
  • Delivery-date: Tue, 08 Jun 2010 19:31:54 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.