Make Error in libvmi

232 views
Skip to first unread message

Irfan

unread,
Dec 16, 2011, 7:21:17 AM12/16/11
to vmitools
Hi,
I am trying to build libvmi at Centos 5.4 (64bit) Kernel
2.6.18-194.el5xen and getting the following error while running make:
Any idea to resolve it?

/usr/include/xenctrl.h:34:32: error: xen/foreign/x86_32.h: No such
file or directory
/usr/include/xenctrl.h:35:32: error: xen/foreign/x86_64.h: No such
file or directory
In file included from ./driver/xen.h:28,
from driver/interface.c:29:
/usr/include/xenctrl.h:178: error: expected specifier-qualifier-list
before 'vcpu_guest_context_x86_64_t'
/usr/include/xenctrl.h:193: error: expected specifier-qualifier-list
before 'shared_info_x86_64_t'
/usr/include/xenctrl.h:202: error: expected specifier-qualifier-list
before 'start_info_x86_64_t'
make[3]: *** [driver/libvmi_la-interface.lo] Error 1
make[3]: Leaving directory `/opt/libvmi-0.6/libvmi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/libvmi-0.6/libvmi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/libvmi-0.6'
make: *** [all] Error 2

Thanks,
Irfan

Bryan D. Payne

unread,
Dec 16, 2011, 8:42:29 AM12/16/11
to vmit...@googlegroups.com
DId you install the xen devel packages in Centos?
-bryan

> --
> You received this message because you are subscribed to the Google Groups "vmitools" group.
> To post to this group, send email to vmit...@googlegroups.com.
> To unsubscribe from this group, send email to vmitools+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/vmitools?hl=en.
>

Irfan

unread,
Dec 16, 2011, 2:51:37 PM12/16/11
to vmitools
yes it is installed...
# yum list xen-devel
xen-devel.i386 3.0.3-132.el5_7.2
installed

Bryan D. Payne

unread,
Dec 16, 2011, 3:08:42 PM12/16/11
to vmit...@googlegroups.com
It sounds to me like this package might be broken. I would think that
the .h files should be included with that package. However, I don't
typically develop on Centos, so I can't be certain.

-bryan

Reply all
Reply to author
Forward
0 new messages