![]() |
Xen for Centos 6.3 HowTo needs updating.
G'Day,
I was following the HowTo "Virtualization With Xen On CentOS 6.3 (x86_64) (Paravirtualization & Hardware Virtualization)" and was not able to complete the first page due to the following errors in the rpmbuild process. Follows is a subset of the Error from the libvirt rpmbuild CC sanlock_la-lock_driver_sanlock.lo 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' Any thoughts? Kind Regards |
I ran into a similar issue, hoping there's an easy fix! Tried to paste as much of the errors I could, but my buffer got maxed out.
Code:
libxl/libxl_driver.c:106: warning: nested extern declaration of 'libxl_stop_waiting' [-Wnested-externs] |
Did you disable SELinux?
|
Yes. This was a fresh install of 6.3 minimal 64-bit. The only difference I could see in the walkthrough was my libvirt was slightly newer:
libvirt-client-0.9.10-21.el6_3.4.x86_64 (this is from memory, I can reconfirm once I get back in front of the box) Would that make a difference? Follow up - just confirmed the libvirt version: Code:
# rpm -qa | grep libvirt |
Did you download http://vault.centos.org/6.3/os/Sourc...21.el6.src.rpm and apply the patch to it? Were there any errors when you applied the patch?
|
Here's what I get when I patch:
Code:
# patch -p0 < ~/src/libvirt-spec-rhel6-enable-xen.patch |
FWIW I'm getting the same exact errors with the same setup. CentOS 6.3 Minimal 64Bit with SELinux disabled.
|
I was able to capture the errors this time. It starts with "libxl/libxl_conf.h:61: error: field 'ctx' has incomplete type", and the rest of the build has trouble from there on out:
Code:
In file included from libxl/libxl_conf.c:43: |
Even I am getting the same error with Centos6.3(x64) minimal.
HTML Code:
/tmp/tmp5Q4elR.c:1: warning: return type defaults to 'int' |
Maybe the Minimal build is missing something?
|
| All times are GMT +2. The time now is 21:34. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.