Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th October 2012, 08:20
Peter Williams Peter Williams is offline
Junior Member
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2012, 08:33
modctek modctek is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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]
libxl/libxl_driver.c:106: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:107: warning: implicit declaration of function 'libxl_free_waiter' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:107: warning: nested extern declaration of 'libxl_free_waiter' [-Wnested-externs]
libxl/libxl_driver.c:107: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:108: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:108: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c: In function 'libxlVmCleanup':
libxl/libxl_driver.c:294: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:295: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:296: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:299: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:300: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:301: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:302: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:302: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c: In function 'libxlVmReap':
libxl/libxl_driver.c:358: warning: passing argument 3 of 'libxl_domain_destroy' makes pointer from integer without a cast
/usr/include/libxl.h:543: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'int'
libxl/libxl_driver.c: In function 'libxlEventHandler':
libxl/libxl_driver.c:392: error: 'libxlDomainObjPrivate' has no member named 'waiterFD'
libxl/libxl_driver.c:392: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:394: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:401: warning: implicit declaration of function 'libxl_get_event' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:401: warning: nested extern declaration of 'libxl_get_event' [-Wnested-externs]
libxl/libxl_driver.c:404: error: 'LIBXL_EVENT_DOMAIN_DEATH' undeclared (first use in this function)
libxl/libxl_driver.c:404: error: (Each undeclared identifier is reported only once
libxl/libxl_driver.c:404: error: for each function it appears in.)
libxl/libxl_driver.c:409: warning: implicit declaration of function 'libxl_event_get_domain_death_info' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:409: warning: nested extern declaration of 'libxl_event_get_domain_death_info' [-Wnested-externs]
libxl/libxl_driver.c:416: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:418: error: 'SHUTDOWN_poweroff' undeclared (first use in this function)
libxl/libxl_driver.c:419: error: 'SHUTDOWN_crash' undeclared (first use in this function)
libxl/libxl_driver.c:434: error: 'SHUTDOWN_reboot' undeclared (first use in this function)
libxl/libxl_driver.c:452: warning: implicit declaration of function 'libxl_free_event' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:452: warning: nested extern declaration of 'libxl_free_event' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlCreateDomEvents':
libxl/libxl_driver.c:465: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:465: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:470: warning: implicit declaration of function 'libxl_wait_for_domain_death' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:470: warning: nested extern declaration of 'libxl_wait_for_domain_death' [-Wnested-externs]
libxl/libxl_driver.c:470: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:473: warning: implicit declaration of function 'libxl_get_wait_fd' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:473: warning: nested extern declaration of 'libxl_get_wait_fd' [-Wnested-externs]
libxl/libxl_driver.c:477: error: 'libxlDomainObjPrivate' has no member named 'waiterFD'
libxl/libxl_driver.c:482: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:494: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:495: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:495: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:496: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c: In function 'libxlDomainSetVcpuAffinites':
libxl/libxl_driver.c:505: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:505: error: expected ';' before 'map'
libxl/libxl_driver.c:534: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlFreeMem':
libxl/libxl_driver.c:564: error: 'libxl_domain_config' has no member named 'dm_info'
libxl/libxl_driver.c:565: error: too many arguments to function 'libxl_domain_need_memory'
libxl/libxl_driver.c: In function 'libxlVmStart':
libxl/libxl_driver.c:668: warning: passing argument 4 of 'libxl_domain_create_new' from incompatible pointer type
/usr/include/libxl.h:503: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'pid_t *'
libxl/libxl_driver.c:668: warning: passing argument 5 of 'libxl_domain_create_new' from incompatible pointer type
/usr/include/libxl.h:503: note: expected 'const struct libxl_asyncprogress_how *' but argument is of type 'uint32_t *'
libxl/libxl_driver.c:672: warning: passing argument 4 of 'libxl_domain_create_restore' makes integer from pointer without a cast
/usr/include/libxl.h:508: note: expected 'int' but argument is of type 'pid_t *'
libxl/libxl_driver.c:672: warning: passing argument 5 of 'libxl_domain_create_restore' from incompatible pointer type
/usr/include/libxl.h:508: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'uint32_t *'
libxl/libxl_driver.c:672: warning: passing argument 6 of 'libxl_domain_create_restore' makes pointer from integer without a cast
/usr/include/libxl.h:508: note: expected 'const struct libxl_asyncprogress_how *' but argument is of type 'int'
libxl/libxl_driver.c:720: warning: implicit declaration of function 'libxl_domain_config_destroy' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:720: warning: nested extern declaration of 'libxl_domain_config_destroy' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainShutdownFlags':
libxl/libxl_driver.c:1442: error: too many arguments to function 'libxl_domain_shutdown'
libxl/libxl_driver.c: In function 'libxlDomainReboot':
libxl/libxl_driver.c:1495: error: too many arguments to function 'libxl_domain_shutdown'
libxl/libxl_driver.c: In function 'libxlDoDomainSave':
libxl/libxl_driver.c:1867: warning: passing argument 2 of 'libxl_domain_suspend' makes integer from pointer without a cast
/usr/include/libxl.h:521: note: expected 'uint32_t' but argument is of type 'void *'
libxl/libxl_driver.c:1867: error: too few arguments to function 'libxl_domain_suspend'
libxl/libxl_driver.c: In function 'libxlDomainCoreDump':
libxl/libxl_driver.c:2043: error: too few arguments to function 'libxl_domain_core_dump'
libxl/libxl_driver.c: In function 'libxlDomainSetVcpusFlags':
libxl/libxl_driver.c:2215: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:2215: error: expected ';' before 'map'
libxl/libxl_driver.c:2295: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainPinVcpu':
libxl/libxl_driver.c:2415: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:2415: error: expected ';' before 'map'
libxl/libxl_driver.c:2434: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainGetVcpus':
libxl/libxl_driver.c:2515: warning: implicit declaration of function 'libxl_vcpuinfo_destroy' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:2515: warning: nested extern declaration of 'libxl_vcpuinfo_destroy' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainChangeEjectableMedia':
libxl/libxl_driver.c:2879: error: too few arguments to function 'libxl_cdrom_insert'
libxl/libxl_driver.c: In function 'libxlDomainAttachDeviceDiskLive':
libxl/libxl_driver.c:2935: error: too few arguments to function 'libxl_device_disk_add'
libxl/libxl_driver.c: In function 'libxlDomainDetachDeviceDiskLive':
libxl/libxl_driver.c:2988: warning: implicit declaration of function 'libxl_device_disk_del' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:2988: warning: nested extern declaration of 'libxl_device_disk_del' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainGetSchedulerType':
libxl/libxl_driver.c:3536: warning: implicit declaration of function 'libxl_get_sched_id' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3536: warning: nested extern declaration of 'libxl_get_sched_id' [-Wnested-externs]
libxl/libxl_driver.c:3546: error: 'XEN_SCHEDULER_SEDF' undeclared (first use in this function)
libxl/libxl_driver.c:3549: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3554: error: 'XEN_SCHEDULER_CREDIT2' undeclared (first use in this function)
libxl/libxl_driver.c:3557: error: 'XEN_SCHEDULER_ARINC653' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainGetSchedulerParametersFlags':
libxl/libxl_driver.c:3582: error: 'libxl_sched_credit' undeclared (first use in this function)
libxl/libxl_driver.c:3582: error: expected ';' before 'sc_info'
libxl/libxl_driver.c:3611: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3617: warning: implicit declaration of function 'libxl_sched_credit_domain_get' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3617: warning: nested extern declaration of 'libxl_sched_credit_domain_get' [-Wnested-externs]
libxl/libxl_driver.c:3617: error: 'sc_info' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainSetSchedulerParametersFlags':
libxl/libxl_driver.c:3660: error: 'libxl_sched_credit' undeclared (first use in this function)
libxl/libxl_driver.c:3660: error: expected ';' before 'sc_info'
libxl/libxl_driver.c:3697: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3703: error: 'sc_info' undeclared (first use in this function)
libxl/libxl_driver.c:3720: warning: implicit declaration of function 'libxl_sched_credit_domain_set' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3720: warning: nested extern declaration of 'libxl_sched_credit_domain_set' [-Wnested-externs]
At top level:
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_libxl_la-libxl_driver.lo] Error 1
make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.pv83o3 (%build)

Last edited by modctek; 9th October 2012 at 08:37. Reason: Added errors
Reply With Quote
  #3  
Old 9th October 2012, 18:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you disable SELinux?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 9th October 2012, 18:44
modctek modctek is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
libvirt-python-0.9.10-21.el6_3.4.x86_64
libvirt-0.9.10-21.el6_3.4.x86_64
libvirt-client-0.9.10-21.el6_3.4.x86_64
And double-checked that selinux was disabled.

Last edited by modctek; 9th October 2012 at 20:29. Reason: follow up
Reply With Quote
  #5  
Old 10th October 2012, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 10th October 2012, 18:04
modctek modctek is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's what I get when I patch:
Code:
# patch -p0 < ~/src/libvirt-spec-rhel6-enable-xen.patch
patching file libvirt.spec
Hunk #1 succeeded at 137 with fuzz 1 (offset 33 lines).
I did notice that when installing libvirt-0.9.10-21.el6.src.rpm the howto mentions that we would get warnings we could ignore. I got a screenful of the warnings about mockbuild not existing - enough to fill my scrollback buffer. Would either of those make any difference?
Reply With Quote
  #7  
Old 10th October 2012, 18:17
dougquaid dougquaid is offline
Junior Member
 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

FWIW I'm getting the same exact errors with the same setup. CentOS 6.3 Minimal 64Bit with SELinux disabled.
Reply With Quote
  #8  
Old 10th October 2012, 18:46
modctek modctek is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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:
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'
libxl/libxl_conf.c:411: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:413: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:430: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:431: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:432: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:436: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:447: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:457: warning: assignment from incompatible pointer type
libxl/libxl_conf.c:470: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:470: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:471: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:477: error: request for member 'path' in something not a structure or union
libxl/libxl_conf.c:487: warning: implicit declaration of function 'libxl_domain_build_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:487: warning: nested extern declaration of 'libxl_domain_build_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlMakeDisk':
libxl/libxl_conf.c:510: error: 'DISK_FORMAT_QCOW' undeclared (first use in this function)
libxl/libxl_conf.c:510: error: (Each undeclared identifier is reported only once
libxl/libxl_conf.c:510: error: for each function it appears in.)
libxl/libxl_conf.c:511: error: 'DISK_BACKEND_QDISK' undeclared (first use in this function)
libxl/libxl_conf.c:513: error: 'DISK_FORMAT_QCOW2' undeclared (first use in this function)
libxl/libxl_conf.c:516: error: 'DISK_FORMAT_VHD' undeclared (first use in this function)
libxl/libxl_conf.c:517: error: 'DISK_BACKEND_TAP' undeclared (first use in this function)
libxl/libxl_conf.c:520: error: 'DISK_FORMAT_RAW' undeclared (first use in this function)
libxl/libxl_conf.c:533: error: 'DISK_BACKEND_PHY' undeclared (first use in this function)
libxl/libxl_conf.c:547: error: 'libxl_device_disk' has no member named 'unpluggable'
libxl/libxl_conf.c:556: error: 'libxl_device_disk' has no member named 'domid'
libxl/libxl_conf.c: In function 'libxlMakeDiskList':
libxl/libxl_conf.c:586: warning: passing argument 1 of 'libxl_device_disk_destroy' from incompatible pointer type
/usr/include/libxl.h:713: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_disk *'
libxl/libxl_conf.c:586: error: too few arguments to function 'libxl_device_disk_destroy'
libxl/libxl_conf.c: In function 'libxlMakeNic':
libxl/libxl_conf.c:598: error: 'libxl_device_nic' has no member named 'domid'
libxl/libxl_conf.c:606: error: 'NICTYPE_IOEMU' undeclared (first use in this function)
libxl/libxl_conf.c:608: error: 'NICTYPE_VIF' undeclared (first use in this function)
libxl/libxl_conf.c: In function 'libxlMakeNicList':
libxl/libxl_conf.c:659: error: 'libxl_domain_config' has no member named 'vifs'
libxl/libxl_conf.c:660: error: 'libxl_domain_config' has no member named 'num_vifs'
libxl/libxl_conf.c:666: warning: passing argument 1 of 'libxl_device_nic_destroy' from incompatible pointer type
/usr/include/libxl.h:738: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_nic *'
libxl/libxl_conf.c:666: error: too few arguments to function 'libxl_device_nic_destroy'
libxl/libxl_conf.c: In function 'libxlMakeVfb':
libxl/libxl_conf.c:680: error: incompatible types when assigning to type 'libxl_sdl_info' from type 'int'
libxl/libxl_conf.c:682: error: 'libxl_device_vfb' has no member named 'display'
libxl/libxl_conf.c:687: error: 'libxl_device_vfb' has no member named 'xauthority'
libxl/libxl_conf.c:694: error: incompatible types when assigning to type 'libxl_vnc_info' from type 'int'
libxl/libxl_conf.c:696: error: 'libxl_device_vfb' has no member named 'vncunused'
libxl/libxl_conf.c:706: error: 'libxl_device_vfb' has no member named 'vncdisplay'
libxl/libxl_conf.c:711: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:711: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:712: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:725: error: 'libxl_device_vfb' has no member named 'domid'
libxl/libxl_conf.c: In function 'libxlMakeVfbList':
libxl/libxl_conf.c:753: error: too many arguments to function 'libxl_device_vfb_init'
libxl/libxl_conf.c:754: error: too many arguments to function 'libxl_device_vkb_init'
libxl/libxl_conf.c:768: warning: passing argument 1 of 'libxl_device_vfb_destroy' from incompatible pointer type
/usr/include/libxl.h:768: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_vfb *'
libxl/libxl_conf.c:768: error: too few arguments to function 'libxl_device_vfb_destroy'
libxl/libxl_conf.c:769: warning: passing argument 1 of 'libxl_device_vkb_destroy' from incompatible pointer type
/usr/include/libxl.h:755: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_vkb *'
libxl/libxl_conf.c:769: error: too few arguments to function 'libxl_device_vkb_destroy'
libxl/libxl_conf.c: In function 'libxlMakeDeviceModelInfo':
libxl/libxl_conf.c:821: error: 'libxl_device_model_info' undeclared (first use in this function)
libxl/libxl_conf.c:821: error: 'dm_info' undeclared (first use in this function)
libxl/libxl_conf.c:821: error: 'libxl_domain_config' has no member named 'dm_info'
libxl/libxl_conf.c:825: warning: implicit declaration of function 'libxl_init_dm_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:825: warning: nested extern declaration of 'libxl_init_dm_info' [-Wnested-externs]
libxl/libxl_conf.c:827: error: 'libxl_domain_build_info' has no member named 'hvm'
libxl/libxl_conf.c:829: error: 'XENFV' undeclared (first use in this function)
libxl/libxl_conf.c:860: error: 'XENPV' undeclared (first use in this function)
libxl/libxl_conf.c:865: error: used struct type value where scalar is required
libxl/libxl_conf.c:869: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:882: error: 'libxl_device_vfb' has no member named 'vncdisplay'
libxl/libxl_conf.c:883: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:889: error: used struct type value where scalar is required
libxl/libxl_conf.c:906: warning: implicit declaration of function 'libxl_device_model_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:906: warning: nested extern declaration of 'libxl_device_model_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlBuildDomainConfig':
libxl/libxl_conf.c:973: warning: implicit declaration of function 'libxl_domain_config_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:973: warning: nested extern declaration of 'libxl_domain_config_destroy' [-Wnested-externs]
At top level:
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_libxl_la-libxl_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from libxl/libxl_driver.c:44:
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_driver.c: In function 'libxlDomainObjPrivateAlloc':
libxl/libxl_driver.c:90: warning: implicit declaration of function 'libxl_ctx_init' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:90: warning: nested extern declaration of 'libxl_ctx_init' [-Wnested-externs]
libxl/libxl_driver.c:91: error: 'libxlDomainObjPrivate' has no member named 'waiterFD'
libxl/libxl_driver.c:92: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c: In function 'libxlDomainObjPrivateFree':
libxl/libxl_driver.c:102: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:103: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:105: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:106: warning: implicit declaration of function 'libxl_stop_waiting' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:106: warning: nested extern declaration of 'libxl_stop_waiting' [-Wnested-externs]
libxl/libxl_driver.c:106: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:107: warning: implicit declaration of function 'libxl_free_waiter' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:107: warning: nested extern declaration of 'libxl_free_waiter' [-Wnested-externs]
libxl/libxl_driver.c:107: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:108: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:108: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c: In function 'libxlVmCleanup':
libxl/libxl_driver.c:294: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:295: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:296: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:299: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:300: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:301: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:302: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:302: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c: In function 'libxlVmReap':
libxl/libxl_driver.c:358: warning: passing argument 3 of 'libxl_domain_destroy' makes pointer from integer without a cast
/usr/include/libxl.h:543: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'int'
libxl/libxl_driver.c: In function 'libxlEventHandler':
libxl/libxl_driver.c:392: error: 'libxlDomainObjPrivate' has no member named 'waiterFD'
libxl/libxl_driver.c:392: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:394: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:401: warning: implicit declaration of function 'libxl_get_event' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:401: warning: nested extern declaration of 'libxl_get_event' [-Wnested-externs]
libxl/libxl_driver.c:404: error: 'LIBXL_EVENT_DOMAIN_DEATH' undeclared (first use in this function)
libxl/libxl_driver.c:404: error: (Each undeclared identifier is reported only once
libxl/libxl_driver.c:404: error: for each function it appears in.)
libxl/libxl_driver.c:409: warning: implicit declaration of function 'libxl_event_get_domain_death_info' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:409: warning: nested extern declaration of 'libxl_event_get_domain_death_info' [-Wnested-externs]
libxl/libxl_driver.c:416: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:418: error: 'SHUTDOWN_poweroff' undeclared (first use in this function)
libxl/libxl_driver.c:419: error: 'SHUTDOWN_crash' undeclared (first use in this function)
libxl/libxl_driver.c:434: error: 'SHUTDOWN_reboot' undeclared (first use in this function)
libxl/libxl_driver.c:452: warning: implicit declaration of function 'libxl_free_event' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:452: warning: nested extern declaration of 'libxl_free_event' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlCreateDomEvents':
libxl/libxl_driver.c:465: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:465: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:470: warning: implicit declaration of function 'libxl_wait_for_domain_death' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:470: warning: nested extern declaration of 'libxl_wait_for_domain_death' [-Wnested-externs]
libxl/libxl_driver.c:470: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:473: warning: implicit declaration of function 'libxl_get_wait_fd' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:473: warning: nested extern declaration of 'libxl_get_wait_fd' [-Wnested-externs]
libxl/libxl_driver.c:477: error: 'libxlDomainObjPrivate' has no member named 'waiterFD'
libxl/libxl_driver.c:482: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c:494: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:495: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:495: error: 'libxlDomainObjPrivate' has no member named 'dWaiter'
libxl/libxl_driver.c:496: error: 'libxlDomainObjPrivate' has no member named 'eventHdl'
libxl/libxl_driver.c: In function 'libxlDomainSetVcpuAffinites':
libxl/libxl_driver.c:505: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:505: error: expected ';' before 'map'
libxl/libxl_driver.c:534: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlFreeMem':
libxl/libxl_driver.c:564: error: 'libxl_domain_config' has no member named 'dm_info'
libxl/libxl_driver.c:565: error: too many arguments to function 'libxl_domain_need_memory'
libxl/libxl_driver.c: In function 'libxlVmStart':
libxl/libxl_driver.c:668: warning: passing argument 4 of 'libxl_domain_create_new' from incompatible pointer type
/usr/include/libxl.h:503: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'pid_t *'
libxl/libxl_driver.c:668: warning: passing argument 5 of 'libxl_domain_create_new' from incompatible pointer type
/usr/include/libxl.h:503: note: expected 'const struct libxl_asyncprogress_how *' but argument is of type 'uint32_t *'
libxl/libxl_driver.c:672: warning: passing argument 4 of 'libxl_domain_create_restore' makes integer from pointer without a cast
/usr/include/libxl.h:508: note: expected 'int' but argument is of type 'pid_t *'
libxl/libxl_driver.c:672: warning: passing argument 5 of 'libxl_domain_create_restore' from incompatible pointer type
/usr/include/libxl.h:508: note: expected 'const struct libxl_asyncop_how *' but argument is of type 'uint32_t *'
libxl/libxl_driver.c:672: warning: passing argument 6 of 'libxl_domain_create_restore' makes pointer from integer without a cast
/usr/include/libxl.h:508: note: expected 'const struct libxl_asyncprogress_how *' but argument is of type 'int'
libxl/libxl_driver.c:720: warning: implicit declaration of function 'libxl_domain_config_destroy' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:720: warning: nested extern declaration of 'libxl_domain_config_destroy' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainShutdownFlags':
libxl/libxl_driver.c:1442: error: too many arguments to function 'libxl_domain_shutdown'
libxl/libxl_driver.c: In function 'libxlDomainReboot':
libxl/libxl_driver.c:1495: error: too many arguments to function 'libxl_domain_shutdown'
libxl/libxl_driver.c: In function 'libxlDoDomainSave':
libxl/libxl_driver.c:1867: warning: passing argument 2 of 'libxl_domain_suspend' makes integer from pointer without a cast
/usr/include/libxl.h:521: note: expected 'uint32_t' but argument is of type 'void *'
libxl/libxl_driver.c:1867: error: too few arguments to function 'libxl_domain_suspend'
libxl/libxl_driver.c: In function 'libxlDomainCoreDump':
libxl/libxl_driver.c:2043: error: too few arguments to function 'libxl_domain_core_dump'
libxl/libxl_driver.c: In function 'libxlDomainSetVcpusFlags':
libxl/libxl_driver.c:2215: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:2215: error: expected ';' before 'map'
libxl/libxl_driver.c:2295: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainPinVcpu':
libxl/libxl_driver.c:2415: error: 'libxl_cpumap' undeclared (first use in this function)
libxl/libxl_driver.c:2415: error: expected ';' before 'map'
libxl/libxl_driver.c:2434: error: 'map' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainGetVcpus':
libxl/libxl_driver.c:2515: warning: implicit declaration of function 'libxl_vcpuinfo_destroy' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:2515: warning: nested extern declaration of 'libxl_vcpuinfo_destroy' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainChangeEjectableMedia':
libxl/libxl_driver.c:2879: error: too few arguments to function 'libxl_cdrom_insert'
libxl/libxl_driver.c: In function 'libxlDomainAttachDeviceDiskLive':
libxl/libxl_driver.c:2935: error: too few arguments to function 'libxl_device_disk_add'
libxl/libxl_driver.c: In function 'libxlDomainDetachDeviceDiskLive':
libxl/libxl_driver.c:2988: warning: implicit declaration of function 'libxl_device_disk_del' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:2988: warning: nested extern declaration of 'libxl_device_disk_del' [-Wnested-externs]
libxl/libxl_driver.c: In function 'libxlDomainGetSchedulerType':
libxl/libxl_driver.c:3536: warning: implicit declaration of function 'libxl_get_sched_id' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3536: warning: nested extern declaration of 'libxl_get_sched_id' [-Wnested-externs]
libxl/libxl_driver.c:3546: error: 'XEN_SCHEDULER_SEDF' undeclared (first use in this function)
libxl/libxl_driver.c:3549: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3554: error: 'XEN_SCHEDULER_CREDIT2' undeclared (first use in this function)
libxl/libxl_driver.c:3557: error: 'XEN_SCHEDULER_ARINC653' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainGetSchedulerParametersFlags':
libxl/libxl_driver.c:3582: error: 'libxl_sched_credit' undeclared (first use in this function)
libxl/libxl_driver.c:3582: error: expected ';' before 'sc_info'
libxl/libxl_driver.c:3611: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3617: warning: implicit declaration of function 'libxl_sched_credit_domain_get' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3617: warning: nested extern declaration of 'libxl_sched_credit_domain_get' [-Wnested-externs]
libxl/libxl_driver.c:3617: error: 'sc_info' undeclared (first use in this function)
libxl/libxl_driver.c: In function 'libxlDomainSetSchedulerParametersFlags':
libxl/libxl_driver.c:3660: error: 'libxl_sched_credit' undeclared (first use in this function)
libxl/libxl_driver.c:3660: error: expected ';' before 'sc_info'
libxl/libxl_driver.c:3697: error: 'XEN_SCHEDULER_CREDIT' undeclared (first use in this function)
libxl/libxl_driver.c:3703: error: 'sc_info' undeclared (first use in this function)
libxl/libxl_driver.c:3720: warning: implicit declaration of function 'libxl_sched_credit_domain_set' [-Wimplicit-function-declaration]
libxl/libxl_driver.c:3720: warning: nested extern declaration of 'libxl_sched_credit_domain_set' [-Wnested-externs]
At top level:
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_libxl_la-libxl_driver.lo] Error 1
make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.KHU3WZ (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.KHU3WZ (%build)

Last edited by modctek; 10th October 2012 at 18:47. Reason: fixed my busted forum code tags
Reply With Quote
  #9  
Old 11th October 2012, 16:16
pratapsingh pratapsingh is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation

Even I am getting the same error with Centos6.3(x64) minimal.

HTML Code:
/tmp/tmp5Q4elR.c:1: warning: return type defaults to 'int'
/tmp/tmp5Q4elR.c:1: warning: '__dtrace' defined but not used
  CC     libvirt_qemu_la-libvirt-qemu.lo
  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'
libxl/libxl_conf.c:411: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:413: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:430: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:431: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:432: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:436: error: incompatible types when assigning to type 'libxl_defbool' from type 'int'
libxl/libxl_conf.c:447: error: 'libxl_domain_build_info' has no member named 'cur_vcpus'
libxl/libxl_conf.c:457: warning: assignment from incompatible pointer type
libxl/libxl_conf.c:470: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:470: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:471: error: 'libxl_domain_build_info' has no member named 'kernel'
libxl/libxl_conf.c:477: error: request for member 'path' in something not a structure or union
libxl/libxl_conf.c:487: warning: implicit declaration of function 'libxl_domain_build_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:487: warning: nested extern declaration of 'libxl_domain_build_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlMakeDisk':
libxl/libxl_conf.c:510: error: 'DISK_FORMAT_QCOW' undeclared (first use in this function)
libxl/libxl_conf.c:510: error: (Each undeclared identifier is reported only once
libxl/libxl_conf.c:510: error: for each function it appears in.)
libxl/libxl_conf.c:511: error: 'DISK_BACKEND_QDISK' undeclared (first use in this function)
libxl/libxl_conf.c:513: error: 'DISK_FORMAT_QCOW2' undeclared (first use in this function)
libxl/libxl_conf.c:516: error: 'DISK_FORMAT_VHD' undeclared (first use in this function)
libxl/libxl_conf.c:517: error: 'DISK_BACKEND_TAP' undeclared (first use in this function)
libxl/libxl_conf.c:520: error: 'DISK_FORMAT_RAW' undeclared (first use in this function)
libxl/libxl_conf.c:533: error: 'DISK_BACKEND_PHY' undeclared (first use in this function)
libxl/libxl_conf.c:547: error: 'libxl_device_disk' has no member named 'unpluggable'
libxl/libxl_conf.c:556: error: 'libxl_device_disk' has no member named 'domid'
libxl/libxl_conf.c: In function 'libxlMakeDiskList':
libxl/libxl_conf.c:586: warning: passing argument 1 of 'libxl_device_disk_destroy' from incompatible pointer type
/usr/include/libxl.h:713: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_disk *'
libxl/libxl_conf.c:586: error: too few arguments to function 'libxl_device_disk_destroy'
libxl/libxl_conf.c: In function 'libxlMakeNic':
libxl/libxl_conf.c:598: error: 'libxl_device_nic' has no member named 'domid'
libxl/libxl_conf.c:606: error: 'NICTYPE_IOEMU' undeclared (first use in this function)
libxl/libxl_conf.c:608: error: 'NICTYPE_VIF' undeclared (first use in this function)
libxl/libxl_conf.c: In function 'libxlMakeNicList':
libxl/libxl_conf.c:659: error: 'libxl_domain_config' has no member named 'vifs'
libxl/libxl_conf.c:660: error: 'libxl_domain_config' has no member named 'num_vifs'
libxl/libxl_conf.c:666: warning: passing argument 1 of 'libxl_device_nic_destroy' from incompatible pointer type
/usr/include/libxl.h:738: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_nic *'
libxl/libxl_conf.c:666: error: too few arguments to function 'libxl_device_nic_destroy'
libxl/libxl_conf.c: In function 'libxlMakeVfb':
libxl/libxl_conf.c:680: error: incompatible types when assigning to type 'libxl_sdl_info' from type 'int'
libxl/libxl_conf.c:682: error: 'libxl_device_vfb' has no member named 'display'
libxl/libxl_conf.c:687: error: 'libxl_device_vfb' has no member named 'xauthority'
libxl/libxl_conf.c:694: error: incompatible types when assigning to type 'libxl_vnc_info' from type 'int'
libxl/libxl_conf.c:696: error: 'libxl_device_vfb' has no member named 'vncunused'
libxl/libxl_conf.c:706: error: 'libxl_device_vfb' has no member named 'vncdisplay'
libxl/libxl_conf.c:711: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:711: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:712: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:725: error: 'libxl_device_vfb' has no member named 'domid'
libxl/libxl_conf.c: In function 'libxlMakeVfbList':
libxl/libxl_conf.c:753: error: too many arguments to function 'libxl_device_vfb_init'
libxl/libxl_conf.c:754: error: too many arguments to function 'libxl_device_vkb_init'
libxl/libxl_conf.c:768: warning: passing argument 1 of 'libxl_device_vfb_destroy' from incompatible pointer type
/usr/include/libxl.h:768: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_vfb *'
libxl/libxl_conf.c:768: error: too few arguments to function 'libxl_device_vfb_destroy'
libxl/libxl_conf.c:769: warning: passing argument 1 of 'libxl_device_vkb_destroy' from incompatible pointer type
/usr/include/libxl.h:755: note: expected 'struct libxl_ctx *' but argument is of type 'struct libxl_device_vkb *'
libxl/libxl_conf.c:769: error: too few arguments to function 'libxl_device_vkb_destroy'
libxl/libxl_conf.c: In function 'libxlMakeDeviceModelInfo':
libxl/libxl_conf.c:821: error: 'libxl_device_model_info' undeclared (first use in this function)
libxl/libxl_conf.c:821: error: 'dm_info' undeclared (first use in this function)
libxl/libxl_conf.c:821: error: 'libxl_domain_config' has no member named 'dm_info'
libxl/libxl_conf.c:825: warning: implicit declaration of function 'libxl_init_dm_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:825: warning: nested extern declaration of 'libxl_init_dm_info' [-Wnested-externs]
libxl/libxl_conf.c:827: error: 'libxl_domain_build_info' has no member named 'hvm'
libxl/libxl_conf.c:829: error: 'XENFV' undeclared (first use in this function)
libxl/libxl_conf.c:860: error: 'XENPV' undeclared (first use in this function)
libxl/libxl_conf.c:865: error: used struct type value where scalar is required
libxl/libxl_conf.c:869: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:872: error: 'libxl_device_vfb' has no member named 'vnclisten'
libxl/libxl_conf.c:882: error: 'libxl_device_vfb' has no member named 'vncdisplay'
libxl/libxl_conf.c:883: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:885: error: 'libxl_device_vfb' has no member named 'vncpasswd'
libxl/libxl_conf.c:889: error: used struct type value where scalar is required
libxl/libxl_conf.c:906: warning: implicit declaration of function 'libxl_device_model_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:906: warning: nested extern declaration of 'libxl_device_model_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlBuildDomainConfig':
libxl/libxl_conf.c:973: warning: implicit declaration of function 'libxl_domain_config_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:973: warning: nested extern declaration of 'libxl_domain_config_destroy' [-Wnested-externs]
At top level:
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_libxl_la-libxl_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/libvirt-0.9.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.MxNDu6 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.MxNDu6 (%build)
Reply With Quote
  #10  
Old 11th October 2012, 19:05
modctek modctek is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Maybe the Minimal build is missing something?
Reply With Quote
Reply

Bookmarks

Tags
xen

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing XEN on Centos 6.3 X86_64 ... Problem xen not starting...!!! rockey HOWTO-Related Questions 3 14th August 2012 12:54
Howto move from XEN to KVM gabrielpaulsson Suggest HOWTO 2 10th February 2010 22:35
Which XEN howto is recommended for webhosting? Hans HOWTO-Related Questions 2 29th June 2009 19:23
howto Windows domU on Xen3.3 - Ubuntu8.10 Xen Server dom0 murali.puligondla Suggest HOWTO 1 8th April 2009 14:09
The system is currently updating the configuration files. warlock General 8 21st February 2009 19:15


All times are GMT +2. The time now is 05:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.