View Single Post
  #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