View Single Post
  #2  
Old 9th October 2012, 07: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 07:37. Reason: Added errors
Reply With Quote