I was trying to build xen python bindings from sources
it was failing with this error
In file included from xen/lowlevel/acm/acm.c:31:
../../tools/libxc/xen/acm_ops.h:52: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
../../tools/libxc/xen/acm_ops.h:60: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
../../tools/libxc/xen/acm_ops.h:68: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
../../tools/libxc/xen/acm_ops.h:83: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
../../tools/libxc/xen/acm_ops.h:109: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
../../tools/libxc/xen/acm_ops.h:124: error: expected specifier-qualifier-list before 'XEN_GUEST_HANDLE_64'
fix was to add the following to the file: tools/python/xen/lowlevel/acm/acm.c
reference: http://www.nabble.com/Unable-to-include-xen-sched.h-tt13701246.html#a13746337
#ifndef __XEN_TOOLS__
#define __XEN_TOOLS__ 1
#endif
Recent comments
6 weeks 2 days ago
29 weeks 2 days ago