|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Error compiling Xen 4.0.0
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 <=
|
|
|
|
|