[Libvirt-cim] errors when compilling libvirt-cim

bouabid at dtri.cerist.dz bouabid at dtri.cerist.dz
Sun Jan 26 08:00:12 UTC 2014


Hello,

I have compile errors when installing libvirt-cim from sources on UBUNTU
13.10 (amd-64 plateform)

I am using openpegasus as cimom, and i installed libcmpiutil successfully

Bellow are the erros i get after make command (i followed instructions on
the website http://wiki.libvirt.org/page/Libvirt-cim_setup)

.....
make[2]: Entering directory
`/usr/local/src/libvirt-cim/libvirt-cim-0.6.3/src'
  CC       Virt_VirtualSystemManagementService.lo
Virt_VirtualSystemManagementService.c: In function '_update_resources_for':
Virt_VirtualSystemManagementService.c:2936:17: warning: implicit
declaration of function 'cu_merge_instances'
[-Wimplicit-function-declaration]
                 s = cu_merge_instances(rasd, orig_inst);
                 ^
Virt_VirtualSystemManagementService.c:2936:19: error: incompatible types
when assigning to type 'CMPIStatus' from type 'int'
                 s = cu_merge_instances(rasd, orig_inst);
                   ^
make[2]: *** [Virt_VirtualSystemManagementService.lo] Error 1
make[2]: Leaving directory `/usr/local/src/libvirt-cim/libvirt-cim-0.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt-cim/libvirt-cim-0.6.3'
make: *** [all] Error 2
...

PS:
the following  commands do not working:

$ hg clone http://libvirt.org/hg/libcmpiutil/
$ hg clone http://libvirt.org/hg/libvirt-cim/

the server says :
abort: HTTP Error 404: Not Found

Best Regards
Amine Bouabid






More information about the Libvirt-cim mailing list