This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-cim] Compilation problems

To: "Jim Fehlig" <jfehlig@xxxxxxxxxx>, <xen-cim@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-cim] Compilation problems
From: "Kohn, Rodolfo" <rodolfo.kohn@xxxxxxxxx>
Date: Fri, 17 Aug 2007 06:11:38 -0700
Delivery-date: Fri, 17 Aug 2007 06:11:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46C4DF0C.10505@xxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfgXgTKmcWV9HLPQmGqB78JGRms9QAcOP/w
Thread-topic: [Xen-cim] Compilation problems

Now you mention openWBEM, I've noted other problem with cmpimacs.h in
openWBEM: it seems to be not updated for the last versions of CMPI.
Looking at sfcb, the broker I'm using, and OpenPegasus, their cmpimacs.h
seem to be more up-to-date.

I've noted that with Instance provider functions SetInstance and
ModifyInstance (which is newer as I understand but not sure).
ModifyInstance is not found in openWBEM's cmpimacs.h header.


>-----Original Message-----
>From: Jim Fehlig [mailto:jfehlig@xxxxxxxxxx]
>Sent: Thursday, August 16, 2007 8:35 PM
>To: Kohn, Rodolfo
>Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-cim] Compilation problems
>Kohn, Rodolfo wrote:
>> Hi,
>> I downloaded the xenCIM code and compiled it.
>> I got a compilation error in file cmpilify.h because constant
>> was not recognized.
>> I changed it by CMPI_EXTERN_C which is the one that appears in
>> cmpimacs.h header file and it compiled. I suppose this is the one
>> was intended to be used. Is that correct?
>Yes.  cmpimacs.h packaged with openwbem defines EXTERN_C and not
>CMPI_EXTERN_C.  I will submit a patch to OW.
>> If that is correct I think cmpilify.h should include cmpimacs.h or
>> should define EXTERN_C itself.
>Given the issue with OW and the desire to support unpatched versions I
>will change cmpilify.h to include cmpimacs.h _and_ add
>#ifndef CMPI_EXTERN_C
>  #ifdef __cplusplus
>    #define CMPI_EXTERN_C extern "C"
>  #else
>    #define CMPI_EXTERN_C
>  #endif
>FYI, I have not compiled/run the providers under pegasus in some time
>(several months).  Good luck and let us know if you have any issues.
>Thanks for the report.

Xen-cim mailing list

<Prev in Thread] Current Thread [Next in Thread>