View Single Post
  #8  
Old 10th October 2012, 17: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 17:47. Reason: fixed my busted forum code tags
Reply With Quote