On 25.06.2013 17:44, Sébastien RICCIO wrote:
Hi,
On 25.06.2013 11:51, Dave Scott wrote:
Hi,
I'm trying to compile xapi on a debian 7 box. With some efforts I
managed to
get almost all the dependencies resolved in order to be able to
compile it
except this one that I'm stuck with:
xenlight/xenlight_stubs.c:30:19: fatal error: libxl.h: No such file
or directory
It looks like the debian package libxen-dev doesn't include the libxl
header.
In the short-term we can work-around this by conditionally compiling
the xenlight code in ocaml-xen-lowlevel-libs. In the longer term we
really need to get that package fixed!
Cheers,
Dave
Thanks for your answer.
Okay for the moment I tried to work around it by getting the
hypervisor sources with apt-get source xen-hypervisor-4.1-amd64.
I was able to find libxl.h and libxl_uuid.h but now it's stuck to:
_libxl_types.h included by libxl.h
I have no clue where to find this one :)
Cheers,
Sébastien
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
Okay I found it was autogenerated while compiling tools/libxl from the
hypervisor sources, but now I'm stuck to this, I think this time I'll
give up and wait that changes are made to the repo :)
### stdout ###
...[truncated]
xenlight/xenlight_stubs.c:3702:7: error: request for member
‘disaster’ in something not a structure or union
xenlight/xenlight_stubs.c:3704:2: warning: implicit declaration of
function ‘libxl_event_register_callbacks’
[-Wimplicit-function-declaration]
xenlight/xenlight_stubs.c:3704:2: error: unknown type name
‘libxl_event_hooks’
xenlight/xenlight_stubs.c:3706:5: error: ‘libxl_event_hooks’
undeclared (first use in this function)
xenlight/xenlight_stubs.c:3706:25: error: expected expression before
‘)’ token
xenlight/xenlight_stubs.c: In function
‘stub_libxl_evenable_domain_death’:
xenlight/xenlight_stubs.c:3714:2: error: unknown type name
‘libxl_evgen_domain_death’
xenlight/xenlight_stubs.c: At top level:
xenlight/xenlight_stubs.c:2656:12: warning: ‘event_val’ defined but
not used [-Wunused-function]
Command exited with code 2.
### stderr ###
E: Failure("Command ''/root/.opam/4.00.1/bin/ocamlbuild'
lib/libxenctrl_stubs.a lib/dllxenctrl_stubs.so lib/xenctrl.cma
lib/xenctrl.cmxa lib/xenctrl.a lib/xenctrl.cmxs lwt/xenctrl_lwt.cma
lwt/xenctrl_lwt.cmxa lwt/xenctrl_lwt.a lwt/xenctrl_lwt.cmxs
xenlight/libxenlight_stubs.a xenlight/dllxenlight_stubs.so
xenlight/xenlight.cma xenlight/xenlight.cmxa xenlight/xenlight.a
xenlight/xenlight.cmxs xenli...[truncated]
Cheers,
Sébastien
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api