Thank you again,
I have an old version of libcmpiutil headers installed,
The compile process is working fine,
I have to create a symbolic link of the /usr/lib64/include/libcmpiutil
to /usr/local/include/libncmpiutil default headers dirctory search
Best regards
Amine Bouabid
On 27/01/2014 10:20, Jincheng Miao wrote:
On 01/27/2014 04:41 PM, Bouabid Amine wrote:
> 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
I am not sure about this, do you install your new built libcmpiutil?
This cu_merge_instances()
will return CMPIStatus, but the error seems it return int.
>
>
> 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(a)redhat.com
>>>
https://www.redhat.com/mailman/listinfo/libvirt-cim
>>
>>
>>
>> _______________________________________________
>> Libvirt-cim mailing list
>> Libvirt-cim(a)redhat.com
>>
https://www.redhat.com/mailman/listinfo/libvirt-cim
>
>
>
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/libvirt-cim
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim