Xen 4.2 no CentOS 6.3: não é possível compilar um libvirt 0.9.10 xen-activated?

1

Eu segui esse tutorial para o Xen 4.2 no CentOS 6.3. link

Ao criar um novo pacote libvirt com rpmbuild -bb libvirt.spec

Eu recebo esse erro:

 CC     libvirt_driver_libxl_la-libxl_conf.lo
In file included from libxl/libxl_conf.c:43:
libxl/libxl_conf.h:61: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:80: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:81: error: expected specifier-qualifier-list before 'libxl_waiter'
libxl/libxl_conf.c: In function 'libxlMakeDomCreateInfo':
libxl/libxl_conf.c:365: warning: implicit declaration of function 'libxl_init_create_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:365: warning: nested extern declaration of 'libxl_init_create_info' [-Wnested-externs]
libxl/libxl_conf.c:367: error: 'libxl_domain_create_info' has no member named 'hvm'
libxl/libxl_conf.c:383: warning: implicit declaration of function 'libxl_domain_create_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:383: warning: nested extern declaration of 'libxl_domain_create_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlMakeDomBuildInfo':
libxl/libxl_conf.c:406: warning: implicit declaration of function 'libxl_init_build_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:406: warning: nested extern declaration of 'libxl_init_build_info' [-Wnested-externs]
libxl/libxl_conf.c:408: error: 'libxl_domain_build_info' has no member named 'hvm'
[...]

Você sabe o que eu preciso instalar ou alterar para passar essa etapa?

    
por Frederic 01.10.2012 / 01:56

1 resposta

2

Como discutido aqui: link a versão atual do libvirt não é compatível com o xen 4.2. Você pode continuar com o KVM ou usar o Xen 4.2 sem libvirt.

    
por 06.11.2012 / 03:29