[Libvirt-cim] libvirt-cim compil errors

Bouabid Amine bouabid.medamine at gmail.com
Mon Jan 27 08:41:58 UTC 2014


Thanks for the response, but i get again the same errors:

Virt_VirtualSystemManagementService.c: In function '_update_resources_for':
Virt_VirtualSystemManagementService.c:3292:17: warning: implicit 
declaration of function 'cu_merge_instances' 
[-Wimplicit-function-declaration]
                  s = cu_merge_instances(rasd, orig_inst);
                  ^
Virt_VirtualSystemManagementService.c:3292: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/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libvirt-cim/libvirt-cim'
make: *** [all] Error 2


On 27/01/2014 09:19, Jincheng Miao wrote:
> On 01/27/2014 04:06 PM, Bouabid Mohamed Amine wrote:
>> Hello,
>>
>> I have compile errors when installing libvirt-cim from sources on UBUNTU
>> 13.10 (amd-64 platform)
>>
>> I am using openpegasus as cimom, and i installed libcmpiutil successfully
>>
>> Bellow are the errors i get after make command (i followed instructions on
>> the websitehttp://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 clonehttp://libvirt.org/hg/libcmpiutil/
>> $ hg clonehttp://libvirt.org/hg/libvirt-cim/
>>
>> the server says :
>> abort: HTTP Error 404: Not Found
>
> libvirt-cim is hosted by git server, check out:
> git clone git://libvirt.org/libvirt-cim.git
>
>> Best Regards
>> Amine Bouabid
>>
>>
>> _______________________________________________
>> Libvirt-cim mailing list
>> Libvirt-cim at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-cim
>
>
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20140127/4a850732/attachment.htm>


More information about the Libvirt-cim mailing list