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.