Zhou, Runfang | 1 Aug 2007 19:16
Picon
Favicon

Regarding the error message you reported

Hi, Balu,

I tried your test case on Pegasus 2.6.0, Pegasus 2.6.1, Pegasus 2.5.5
and Pegasus 2.7.0. For all the pegasus versions, your request can be
parsed. I didn't get the error message you reported. 

I only got the message like this:
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="2007:6:24:3:1:30:58:132" PROTOCOLVERSION="1.0">
<SIMPLERSP>
<IMETHODRESPONSE NAME="GetInstance">
<ERROR CODE="6" DESCRIPTION="CIM_ERR_NOT_FOUND: The requested object
could not be found:
&quot;PG_CIMXMLCommunicationMechanism.CreationClassName=&quot;PG_CIMXMLC
ommunicationMechanism&quot;,Name=&quot;PEGASUSCOMMhttp&quot;,SystemCreat
ionClassName=&quot;PG_ComputerSystem&quot;,SystemName=&quot;switch-vegas
&quot;&quot;"/>
</IMETHODRESPONSE>
</SIMPLERSP>
</MESSAGE>
</CIM>

That is because there is no instance of type
"PG_CIMXMLCommunicationMechanism" in the repository.

Would you please give me more data if you still have "request-not-valid"
error?

Thanks and Regards,
(Continue reading)

Martin Kirk | 1 Aug 2007 22:00
Picon
Favicon

ManDevcon - 3rd Call for Papers

Hi Folks,

A repeat of the call for papers. Please, if you are contemplating 
submitting an OpenPegasus related paper, send an e-mail to 
pegasus-mandevcon <at> opengroup.org and we will aim to include you in the 
OpenPegasus track.

We are interested in any presentations based on any aspects of 
OpenPegasus, its development, its features, and its use.

The deadline for submissions is this Friday, August 3rd.

===================================================================================

Once again, The Open Group is co-sponsoring the Management 
Developer's Conference, the industry's leading conference devoted to 
standards-based systems and network management. This the 3rd annual 
conference, and I would wholeheartedly recommend it to anyone with an 
interest in CIM-based management.

This year's event will be held at the Santa Clara Marriott, December 
3-6, 2007, and full details can be found at www.mandevcon.com.

The Call for Papers is now open, and full instructions can be found 
at www.mandevcon.com/call_for_papers.php. The deadline for submission 
of abstracts is August 3rd.

This year we anticipate having a full track devoted to OpenPegasus. 
If you are submitting an abstract for consideration, and you think 
that it would be appropriate for inclusion in the OpenPegasus track, 
(Continue reading)

Balu Balasubramanian | 1 Aug 2007 22:24
Picon
Favicon

Re: Regarding the error message you reported

Runfang,

Sorry, that was my mistake. I had made some changes to Pegasus
sources while debugging a different problem and had forgotten to
revert to the original code when I ran into this issue. Things
work fine after I backed out my modifications.

    - balu

Zhou, Runfang wrote:

>Hi, Balu,
>
>I tried your test case on Pegasus 2.6.0, Pegasus 2.6.1, Pegasus 2.5.5
>and Pegasus 2.7.0. For all the pegasus versions, your request can be
>parsed. I didn't get the error message you reported. 
>
>I only got the message like this:
><?xml version="1.0" encoding="utf-8"?>
><CIM CIMVERSION="2.0" DTDVERSION="2.0">
><MESSAGE ID="2007:6:24:3:1:30:58:132" PROTOCOLVERSION="1.0">
><SIMPLERSP>
><IMETHODRESPONSE NAME="GetInstance">
><ERROR CODE="6" DESCRIPTION="CIM_ERR_NOT_FOUND: The requested object
>could not be found:
>&quot;PG_CIMXMLCommunicationMechanism.CreationClassName=&quot;PG_CIMXMLC
>ommunicationMechanism&quot;,Name=&quot;PEGASUSCOMMhttp&quot;,SystemCreat
>ionClassName=&quot;PG_ComputerSystem&quot;,SystemName=&quot;switch-vegas
>&quot;&quot;"/>
></IMETHODRESPONSE>
(Continue reading)

Ed Boden | 2 Aug 2007 18:19
Picon
Favicon

Review document [PEP#274 - Implementation architecture for infrastructure of CIM APIs in OpenPegasus 1.7] created

This message is generated by The Open Group's web service 
because you are a subscriber to the pegasus-l list

A review document has just been created by Ed Boden.

Web:       OpenPegasus PEPs
Title:     PEP#274 - Implementation architecture for infrastructure of CIM APIs in OpenPegasus 1.7
URL:       http://www.openpegasus.org/pp/revdoc.tpl?grid=2422

Further details:-

   Abstract: This describes the implementation of direct access CIM
   function for OpenPegasus 2.7.

----
To unsubscribe from this and/or other mailing lists administered by
The Open Group please visit http://www.opengroup.org/sophocles/unsubscribe.tpl
or send a request to webmaster <at> opengroup.org (please include the text
of this message). 

[platoalert2 2.8]

Arthi_Anand | 2 Aug 2007 22:58
Picon
Favicon

Pegasus 2.6 WMI Mapper build errors

Hi,

  I am getting errors when trying to build the WMIMapper in Pegasus 2.6. I am using Windows XP and Visual Studio .NET 2003. The Pegasus server compiles fine, but the mapper is giving errors. Has anyone successfully compiled the WMIMapper in any version of Pegasus? If so, what changes need to be made in order to compile the mapper? Below is a snippet of the error that I get. Any help is appreciated.

Thanks,

Arthi.

cl -nologo -c -FoC:/wmimapper/obj/WMIMapper/WMIProvider/WMIMethodProvider.obj -Wp64 -EHsc -Gs -GF -Gy -GR -W3 -O2 -MD   -DPEGASUS_WMIPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0400 -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_SLP -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DEST_LIB_DIR=\"bin\"  -IC:/pegasus/pegasus/src  WMIMethodProvider.cpp

WMIMethodProvider.cpp

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(51) : error C2908: explicit specialization; 'Pegasus::Array<PEGASUS_ARRAY_T>' has already been instantiated

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2766: explicit specialization; 'Pegasus::Array<Pegasus::CIMInstance>' has already been defined

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::~Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::~Array'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance> &Pegasus::Array<Pegasus::CIMInstance>::operator =(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`=''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::clear(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::clear'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::grow(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::grow'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::swap(Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::swap'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::size(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::size'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::getCapacity(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : error C2535: 'const Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::getData(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getData'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : error C2535: 'Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : error C2535: 'const Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::appendArray(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::appendArray'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32,Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : error C2535: 'Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::_data(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_data'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : error C2086: 'void *Pegasus::Array<Pegasus::CIMInstance>::_rep' : redefinition

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_rep'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__delDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__vecDelDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

make[2]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper/WMIProvider'

make[1]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper'

Error: An error occured during the build.

Rafael Neumann de Menezes | 3 Aug 2007 14:53
Picon

Re: Pegasus 2.6 WMI Mapper build errors

You are right Arthi,
it does not build successfully.

This is the last status I know about WMI Mapper, from an email received in the beginning of June:

The WMI Mapper version available on OpenPegasus CVS is actually not compiling. We plan to do some work during next weeks in order to make it compilable again in Main and 2.6 branches of CVS.

 

Cheers,

Mateus



On 8/2/07, Arthi_Anand <at> dell.com <Arthi_Anand <at> dell.com> wrote:

Hi,

  I am getting errors when trying to build the WMIMapper in Pegasus 2.6. I am using Windows XP and Visual Studio .NET 2003. The Pegasus server compiles fine, but the mapper is giving errors. Has anyone successfully compiled the WMIMapper in any version of Pegasus? If so, what changes need to be made in order to compile the mapper? Below is a snippet of the error that I get. Any help is appreciated.

Thanks,

Arthi.

cl -nologo -c -FoC:/wmimapper/obj/WMIMapper/WMIProvider/WMIMethodProvider.obj -Wp64 -EHsc -Gs -GF -Gy -GR -W3 -O2 -MD   -DPEGASUS_WMIPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0400 -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_SLP -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DEST_LIB_DIR=\"bin\"  -IC:/pegasus/pegasus/src  WMIMethodProvider.cpp

WMIMethodProvider.cpp

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(51) : error C2908: explicit specialization; 'Pegasus::Array<PEGASUS_ARRAY_T>' has already been instantiated

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2766: explicit specialization; 'Pegasus::Array<Pegasus::CIMInstance>' has already been defined

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::~Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::~Array'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance> &Pegasus::Array<Pegasus::CIMInstance>::operator =(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`=''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::clear(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::clear'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::grow(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::grow'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::swap(Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::swap'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::size(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::size'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::getCapacity(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : error C2535: 'const Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::getData(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getData'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : error C2535: 'Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : error C2535: 'const Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::appendArray(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::appendArray'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32,Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : error C2535: 'Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::_data(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_data'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : error C2086: 'void *Pegasus::Array<Pegasus::CIMInstance>::_rep' : redefinition

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_rep'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__delDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__vecDelDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

make[2]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper/WMIProvider'

make[1]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper'

Error: An error occured during the build.


Padmanabhachar, Dhananjaya | 3 Aug 2007 15:34
Picon

RE: Pegasus 2.6 WMI Mapper build errors

Hi Arthi,

 

You are right!! We are also trying to build WMIMapper in Pegasus 2.6, but we are not able to do so. There seems to be some issues with the code. Keep informed to the group if you get any work around for the same.

 

 

Thanks and Best Regards

 

 

Dhananjaya 

Unisys Global Services - India | 'Purva Premier', 135/1, Residency Road, Bangalore -560 025 |  Tel:+91 (80)4159 4000 Dir:+91 (80)4159 4663


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

 

 

 

 

From: Arthi_Anand <at> Dell.com [mailto:Arthi_Anand <at> Dell.com]
Sent: Friday, August 03, 2007 2:28 AM
To: pegasus-l <at> openpegasus.org
Subject: Pegasus 2.6 WMI Mapper build errors

 

Hi,

  I am getting errors when trying to build the WMIMapper in Pegasus 2.6. I am using Windows XP and Visual Studio .NET 2003. The Pegasus server compiles fine, but the mapper is giving errors. Has anyone successfully compiled the WMIMapper in any version of Pegasus? If so, what changes need to be made in order to compile the mapper? Below is a snippet of the error that I get. Any help is appreciated.

Thanks,

Arthi.

cl -nologo -c -FoC:/wmimapper/obj/WMIMapper/WMIProvider/WMIMethodProvider.obj -Wp64 -EHsc -Gs -GF -Gy -GR -W3 -O2 -MD   -DPEGASUS_WMIPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0400 -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_SLP -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DEST_LIB_DIR=\"bin\"  -IC:/pegasus/pegasus/src  WMIMethodProvider.cpp

WMIMethodProvider.cpp

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(51) : error C2908: explicit specialization; 'Pegasus::Array<PEGASUS_ARRAY_T>' has already been instantiated

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2766: explicit specialization; 'Pegasus::Array<Pegasus::CIMInstance>' has already been defined

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::~Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::~Array'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance> &Pegasus::Array<Pegasus::CIMInstance>::operator =(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`=''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::clear(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::clear'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::grow(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::grow'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::swap(Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::swap'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::size(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::size'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::getCapacity(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : error C2535: 'const Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::getData(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getData'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : error C2535: 'Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : error C2535: 'const Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::appendArray(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::appendArray'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32,Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : error C2535: 'Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::_data(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_data'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : error C2086: 'void *Pegasus::Array<Pegasus::CIMInstance>::_rep' : redefinition

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_rep'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__delDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__vecDelDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

make[2]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper/WMIProvider'

make[1]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper'

Error: An error occured during the build.

Bernhard Bercher | 3 Aug 2007 15:53
Picon
Favicon

build client libraries on Windows 64 bit AMD


Hi all,
I'm trying to build libraries pegcommon.dll, pegclient.dll and
pegslp_client.dll on Windows 64 bit AMD processor, with compiler Microsoft
Visual Studio 8, for Pegasus version 2.5
It looks like the libraries build fine.
I use the libs for linking an own DLL, which also looks fine.
But the DLL does not work (as does the stuff built for Windows 32 with same
Pegasus), in fact the program hangs while trying to run or load the code in
the DLL. (I also provided compiler DLLs msvcp80.dll and msvcr80.dll  in the
path)

Did someone succeed to build and run Pegasus on Windows 64 bit AMD ?
With Pegasus 2.5 or a later release ?

The following is my build script for the pegasus libraries:

set PATH=c:\cygwin\bin;c:\cygwin;%PATH%
cd %1/pegasus/2-5/common/pegasus-2.5/src/Pegasus/Client
set PEGASUS_PLATFORM=WIN32_IX86_MSVC
REM set PEGASUS_HOME to where you want repository and executables
set PEGASUS_HOME=%1/pegasus/2-5/common/WIN64
REM set PEGASUS_ROOT to top of source tree
set PEGASUS_ROOT=%1/pegasus/2-5/common/pegasus-2.5
REM call the standard Microsoft .bat for VC 8 setup.
call "D:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat"
amd64

cd %1\pegasus\2-5\common\pegasus-2.5\src\Pegasus\Common
C:\cygwin\bin\make

cd \
cd %1\pegasus\2-5\common\pegasus-2.5\src\Pegasus\Client
C:\cygwin\bin\make

Mit freundlichem Gruss / Best regards
Bernhard Bercher

Kst. 3124  DB2 PE Development, Tel. (0)7031-16-2561, Fax -4892,
email:  bbe <at> de.ibm.com
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

Baur, Mateus (OST R&D | 3 Aug 2007 17:26
Picon
Favicon

RE: Pegasus 2.6 WMI Mapper build errors

Hi Folks,

 

Did you use Microsoft Platform SDK in this attempt to build WMI Mapper? If you build WMI Mapper using VC++ 6.0 or 7.0 (2003), you need to have the MS Platform SDK installed and MSSDK environment defined in order to build WMI Mapper.

 

If you use VC++ 8.0 (2005), there is no need of having MS Platform SDK installed. I would recommend that if it is possible. However, in this case, you will also need to incorporate the fix of Bugzila 6685 (http://cvs.opengroup.org/bugzilla/attachment.cgi?id=4411) in your sources if you are using the 2.6 branch.

 

BTW, I also recommend the utilization of OpenPegasus 2.7 branch (you can download the head of OpenPegasus CVS). I’ve fixed some defects on this version and I don’t intend to apply those changes back to the 2.6 branch. Using the 2.7 branch, you should be able to build WMI Mapper by copying mu, gnumake, and the attached .bat file (renamed to txt) to the pegasus root directory and executing the .bat file.

 

I hope it helps.

 

Cheers,

Mateus

 

 

 

 

From: Padmanabhachar, Dhananjaya [mailto:Dhananjaya.Padmanabhachar <at> in.unisys.com]
Sent: sexta-feira, 3 de agosto de 2007 10:35
To: Arthi_Anand <at> Dell.com
Cc: pegasus-l <at> opengroup.org
Subject: RE: Pegasus 2.6 WMI Mapper build errors

 

Hi Arthi,

 

You are right!! We are also trying to build WMIMapper in Pegasus 2.6, but we are not able to do so. There seems to be some issues with the code. Keep informed to the group if you get any work around for the same.

 

 

Thanks and Best Regards

 

 

Dhananjaya 

Unisys Global Services - India | 'Purva Premier', 135/1, Residency Road, Bangalore -560 025 |  Tel:+91 (80)4159 4000 Dir:+91 (80)4159 4663


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

 

 

 

 

From: Arthi_Anand <at> Dell.com [mailto:Arthi_Anand <at> Dell.com]
Sent: Friday, August 03, 2007 2:28 AM
To: pegasus-l <at> openpegasus.org
Subject: Pegasus 2.6 WMI Mapper build errors

 

Hi,

  I am getting errors when trying to build the WMIMapper in Pegasus 2.6. I am using Windows XP and Visual Studio .NET 2003. The Pegasus server compiles fine, but the mapper is giving errors. Has anyone successfully compiled the WMIMapper in any version of Pegasus? If so, what changes need to be made in order to compile the mapper? Below is a snippet of the error that I get. Any help is appreciated.

Thanks,

Arthi.

cl -nologo -c -FoC:/wmimapper/obj/WMIMapper/WMIProvider/WMIMethodProvider.obj -Wp64 -EHsc -Gs -GF -Gy -GR -W3 -O2 -MD   -DPEGASUS_WMIPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0400 -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_SLP -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DEST_LIB_DIR=\"bin\"  -IC:/pegasus/pegasus/src  WMIMethodProvider.cpp

WMIMethodProvider.cpp

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(51) : error C2908: explicit specialization; 'Pegasus::Array<PEGASUS_ARRAY_T>' has already been instantiated

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2766: explicit specialization; 'Pegasus::Array<Pegasus::CIMInstance>' has already been defined

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::~Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::~Array'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance> &Pegasus::Array<Pegasus::CIMInstance>::operator =(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`=''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::clear(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::clear'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::grow(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::grow'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::swap(Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::swap'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::size(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::size'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::getCapacity(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : error C2535: 'const Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::getData(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getData'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : error C2535: 'Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : error C2535: 'const Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::appendArray(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::appendArray'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32,Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : error C2535: 'Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::_data(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_data'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : error C2086: 'void *Pegasus::Array<Pegasus::CIMInstance>::_rep' : redefinition

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_rep'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__delDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__vecDelDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

make[2]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper/WMIProvider'

make[1]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper'

Error: An error occured during the build.

SET PEGASUS_PLATFORM=WIN32_IX86_MSVC
SET OPENSSL_HOME=D:/Projects/openssl
SET PEGASUS_ROOT=D:/Projects/pegasus
SET PEGASUS_HOME=%PEGASUS_ROOT%/build
SET PATH=%PEGASUS_HOME%\bin;%PEGASUS_ROOT%;%OPENSSL_HOME%\bin;%PATH%

SET PEGASUS_HAS_SSL=true
SET PEGASUS_ENABLE_IPV6=false
SET PEGASUS_BUILD_WMIMAPPER=true
SET PEGASUS_WMIMAPPER=true

call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
rem gmake
gnumake



Arthi_Anand | 3 Aug 2007 17:47
Picon
Favicon

RE: Pegasus 2.6 WMI Mapper build errors

Mateus,

 Yes I am using the MS Platform SDK and have the MSSDK env variable set. I’ll try the 2.7 branch with the file you sent. Thanks for the info.

 

Thanks,

Arthi.

 

From: Baur, Mateus (OST R&D) [mailto:mateus.baur <at> hp.com]
Sent: Friday, August 03, 2007 10:26 AM
To: Padmanabhachar, Dhananjaya; Anand, Arthi
Cc: pegasus-l <at> opengroup.org
Subject: RE: Pegasus 2.6 WMI Mapper build errors

 

Hi Folks,

 

Did you use Microsoft Platform SDK in this attempt to build WMI Mapper? If you build WMI Mapper using VC++ 6.0 or 7.0 (2003), you need to have the MS Platform SDK installed and MSSDK environment defined in order to build WMI Mapper.

 

If you use VC++ 8.0 (2005), there is no need of having MS Platform SDK installed. I would recommend that if it is possible. However, in this case, you will also need to incorporate the fix of Bugzila 6685 (http://cvs.opengroup.org/bugzilla/attachment.cgi?id=4411) in your sources if you are using the 2.6 branch.

 

BTW, I also recommend the utilization of OpenPegasus 2.7 branch (you can download the head of OpenPegasus CVS). I’ve fixed some defects on this version and I don’t intend to apply those changes back to the 2.6 branch. Using the 2.7 branch, you should be able to build WMI Mapper by copying mu, gnumake, and the attached .bat file (renamed to txt) to the pegasus root directory and executing the .bat file.

 

I hope it helps.

 

Cheers,

Mateus

 

 

 

 

From: Padmanabhachar, Dhananjaya [mailto:Dhananjaya.Padmanabhachar <at> in.unisys.com]
Sent: sexta-feira, 3 de agosto de 2007 10:35
To: Arthi_Anand <at> Dell.com
Cc: pegasus-l <at> opengroup.org
Subject: RE: Pegasus 2.6 WMI Mapper build errors

 

Hi Arthi,

 

You are right!! We are also trying to build WMIMapper in Pegasus 2.6, but we are not able to do so. There seems to be some issues with the code. Keep informed to the group if you get any work around for the same.

 

 

Thanks and Best Regards

 

 

Dhananjaya 

Unisys Global Services - India | 'Purva Premier', 135/1, Residency Road, Bangalore -560 025 |  Tel:+91 (80)4159 4000 Dir:+91 (80)4159 4663


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

 

 

 

 

From: Arthi_Anand <at> Dell.com [mailto:Arthi_Anand <at> Dell.com]
Sent: Friday, August 03, 2007 2:28 AM
To: pegasus-l <at> openpegasus.org
Subject: Pegasus 2.6 WMI Mapper build errors

 

Hi,

  I am getting errors when trying to build the WMIMapper in Pegasus 2.6. I am using Windows XP and Visual Studio .NET 2003. The Pegasus server compiles fine, but the mapper is giving errors. Has anyone successfully compiled the WMIMapper in any version of Pegasus? If so, what changes need to be made in order to compile the mapper? Below is a snippet of the error that I get. Any help is appreciated.

Thanks,

Arthi.

cl -nologo -c -FoC:/wmimapper/obj/WMIMapper/WMIProvider/WMIMethodProvider.obj -Wp64 -EHsc -Gs -GF -Gy -GR -W3 -O2 -MD   -DPEGASUS_WMIPROVIDER_INTERNAL -DPEGASUS_INTERNALONLY -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0400 -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_EMBEDDED_INSTANCE_SUPPORT -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_ENABLE_SLP -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DEST_LIB_DIR=\"bin\"  -IC:/pegasus/pegasus/src  WMIMethodProvider.cpp

WMIMethodProvider.cpp

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(51) : error C2908: explicit specialization; 'Pegasus::Array<PEGASUS_ARRAY_T>' has already been instantiated

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2766: explicit specialization; 'Pegasus::Array<Pegasus::CIMInstance>' has already been defined

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(57) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(64) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(71) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(79) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::Array(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(87) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::__ctor'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance>::~Array(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(92) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::~Array'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : error C2535: 'Pegasus::Array<Pegasus::CIMInstance> &Pegasus::Array<Pegasus::CIMInstance>::operator =(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(99) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`=''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::clear(void)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(105) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::clear'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(116) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::reserveCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::grow(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(125) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::grow'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::swap(Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(133) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::swap'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::size(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(139) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::size'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : error C2535: 'Pegasus::Uint32 Pegasus::Array<Pegasus::CIMInstance>::getCapacity(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(145) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getCapacity'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : error C2535: 'const Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::getData(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(151) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::getData'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : error C2535: 'Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(158) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : error C2535: 'const Pegasus::CIMInstance &Pegasus::Array<Pegasus::CIMInstance>::operator [](Pegasus::Uint32) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(166) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::operator`[]''

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(173) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::append(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(179) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::append'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::appendArray(const Pegasus::Array<Pegasus::CIMInstance> &)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(186) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::appendArray'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(193) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::prepend(const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(201) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::prepend'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T &)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(208) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::insert(Pegasus::Uint32,const PEGASUS_ARRAY_T *,Pegasus::Uint32)' : member function already defined or declared

        with

        [

            PEGASUS_ARRAY_T=Pegasus::CIMInstance

        ]

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(217) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::insert'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(224) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : error C2535: 'void Pegasus::Array<Pegasus::CIMInstance>::remove(Pegasus::Uint32,Pegasus::Uint32)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(233) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::remove'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : error C2535: 'Pegasus::CIMInstance *Pegasus::Array<Pegasus::CIMInstance>::_data(void) const' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(237) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_data'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : error C2086: 'void *Pegasus::Array<Pegasus::CIMInstance>::_rep' : redefinition

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(239) : see declaration of 'Pegasus::Array<Pegasus::CIMInstance>::_rep'

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__delDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : error C2535: 'void *Pegasus::Array<Pegasus::CIMInstance>::__vecDelDtor(unsigned int)' : member function already defined or declared

        C:/pegasus\pegasus\src\Pegasus\Common\ArrayInter.h(240) : compiler has generated 'Pegasus::Array<Pegasus::CIMInstance>::Array' here

make[2]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper/WMIProvider'

make[1]: Leaving directory `C:/pegasus/pegasus/src/WMIMapper'

Error: An error occured during the build.


Gmane