Balu Balasubramanian | 3 Jul 2007 02:29
Picon
Favicon

https support in openpegasus

A question about certificates: can openpegasus support dynamic certificates
via a certificate server or is the certificate required to be on the server
where the cimserver is executing?

Thanks.

    - balu

Fernandes, Sushma | 3 Jul 2007 05:26
Picon
Favicon

RE: https support in openpegasus

Balu,

The certificate needs to be where the cimserver is executing (in the
server truststore).

-Sushma 

-----Original Message-----
From: Balu Balasubramanian [mailto:balu <at> cisco.com] 
Sent: Monday, July 02, 2007 5:29 PM
To: pegasus-l <at> openpegasus.org
Subject: https support in openpegasus

A question about certificates: can openpegasus support dynamic
certificates via a certificate server or is the certificate required to
be on the server where the cimserver is executing?

Thanks.

    - balu

Picon
Favicon

getting the error ld: fatal symbol "multiply defined"

Hi,

     Iam getting the following errormultiply defined  while building Pegasus libraries(ver 2.5.4) on solaris 9.

Could any one help I fix this compilation problem

    

make[2]: Entering directory `/CLXBUILD/pegasus/src/Platforms'

make[2]: `all' is up to date.

make[2]: Leaving directory `/CLXBUILD/pegasus/src/Platforms'

make[2]: Entering directory `/CLXBUILD/pegasus/src/utils'

make[3]: Entering directory `/CLXBUILD/pegasus/src/utils/stripcrs'

make[3]: `/CLXBUILD/pegasus/bin/stripcrs' is up to date.

make[3]: Leaving directory `/CLXBUILD/pegasus/src/utils/stripcrs'

make[3]: Entering directory `/CLXBUILD/pegasus/src/utils/insertcrs'

make[3]: `/CLXBUILD/pegasus/bin/insertcrs' is up to date.

make[3]: Leaving directory `/CLXBUILD/pegasus/src/utils/insertcrs'

make[3]: Entering directory `/CLXBUILD/pegasus/src/utils/cnv2rootbundle'

make[3]: `/CLXBUILD/pegasus/bin/cnv2rootbundle' is up to date.

make[3]: Leaving directory `/CLXBUILD/pegasus/src/utils/cnv2rootbundle'

make[2]: Leaving directory `/CLXBUILD/pegasus/src/utils'

make[2]: Entering directory `/CLXBUILD/pegasus/src/Pegasus'

make[3]: Entering directory `/CLXBUILD/pegasus/src/Pegasus/Common'

CC -G -KPIC -mt -h libpegcommon.so -L/CLXBUILD/pegasus/lib -o /CLXBUILD/pegasus/lib/libpegcommon.so /CLXBUILD/pegasus/obj/Pegasus/Common/AnonymousPipe.o /CLXBUILD/pegasus/obj/Pegasus/Common/Array.o /CLXBUILD/pegasus/obj/Pegasus/Common/AsyncOpNode.o /CLXBUILD/pegasus/obj/Pegasus/Common/AtomicInt.o /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/AutoStreamer.o /CLXBUILD/pegasus/obj/Pegasus/Common/Base64.o /CLXBUILD/pegasus/obj/Pegasus/Common/BinaryStreamer.o /CLXBUILD/pegasus/obj/Pegasus/Common/Buffer.o /CLXBUILD/pegasus/obj/Pegasus/Common/CharSet.o /CLXBUILD/pegasus/obj/Pegasus/Common/LanguageParser.o /CLXBUILD/pegasus/obj/Pegasus/Common/AcceptLanguageList.o /CLXBUILD/pegasus/obj/Pegasus/Common/ContentLanguageList.o /CLXBUILD/pegasus/obj/Pegasus/Common/LanguageTag.o /CLXBUILD/pegasus/obj/Pegasus/Common/MessageLoader.o /CLXBUILD/pegasus/obj/Pegasus/Common/Char16Inline.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMClass.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMClassRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMDateTime.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMFlavor.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMInstance.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMInstanceRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessage.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageSerializer.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMethod.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMethodRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMName.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMNameInline.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMObject.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMObjectRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMObjectPath.o /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o /CLXBUILD/pegasus/obj/Pegasus/Common/CimomMessage.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMParameter.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMParameterRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMParamValue.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMParamValueRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMProperty.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMPropertyList.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMPropertyRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifier.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifierDecl.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifierDeclRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifierList.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifierNames.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMQualifierRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMScope.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMStatusCode.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMType.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMValue.o /CLXBUILD/pegasus/obj/Pegasus/Common/CIMValueInline.o /CLXBUILD/pegasus/obj/Pegasus/Common/Config.o /CLXBUILD/pegasus/obj/Pegasus/Common/DeclContext.o /CLXBUILD/pegasus/obj/Pegasus/Common/Dir.o /CLXBUILD/pegasus/obj/Pegasus/Common/DQueue.o /CLXBUILD/pegasus/obj/Pegasus/Common/DynamicLibrary.o /CLXBUILD/pegasus/obj/Pegasus/Common/Exception.o /CLXBUILD/pegasus/obj/Pegasus/Common/InternalException.o /CLXBUILD/pegasus/obj/Pegasus/Common/FileSystem.o /CLXBUILD/pegasus/obj/Pegasus/Common/Formatter.o /CLXBUILD/pegasus/obj/Pegasus/Common/HashTable.o /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPMessage.o /CLXBUILD/pegasus/obj/Pegasus/Common/Indentor.o /CLXBUILD/pegasus/obj/Pegasus/Common/IndicationFormatter.o /CLXBUILD/pegasus/obj/Pegasus/Common/IPC.o /CLXBUILD/pegasus/obj/Pegasus/Common/Logger.o /CLXBUILD/pegasus/obj/Pegasus/Common/Memory.o /CLXBUILD/pegasus/obj/Pegasus/Common/Message.o /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueue.o /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o /CLXBUILD/pegasus/obj/Pegasus/Common/ModuleController.o /CLXBUILD/pegasus/obj/Pegasus/Common/Monitor.o /CLXBUILD/pegasus/obj/Pegasus/Common/Mutex.o /CLXBUILD/pegasus/obj/Pegasus/Common/ObjectNormalizer.o /CLXBUILD/pegasus/obj/Pegasus/Common/OperationContext.o /CLXBUILD/pegasus/obj/Pegasus/Common/OperationContextInternal.o /CLXBUILD/pegasus/obj/Pegasus/Common/OptionManager.o /CLXBUILD/pegasus/obj/Pegasus/Common/Packer.o /CLXBUILD/pegasus/obj/Pegasus/Common/Pair.o /CLXBUILD/pegasus/obj/Pegasus/Common/QueryExpressionRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/Queue.o /CLXBUILD/pegasus/obj/Pegasus/Common/Resolver.o /CLXBUILD/pegasus/obj/Pegasus/Common/ResponseHandler.o /CLXBUILD/pegasus/obj/Pegasus/Common/ResponseHandlerRep.o /CLXBUILD/pegasus/obj/Pegasus/Common/Sharable.o /CLXBUILD/pegasus/obj/Pegasus/Common/Signal.o /CLXBUILD/pegasus/obj/Pegasus/Common/Socket.o /CLXBUILD/pegasus/obj/Pegasus/Common/SpinLock.o /CLXBUILD/pegasus/obj/Pegasus/Common/Stack.o /CLXBUILD/pegasus/obj/Pegasus/Common/StatisticalData.o /CLXBUILD/pegasus/obj/Pegasus/Common/Stopwatch.o /CLXBUILD/pegasus/obj/Pegasus/Common/String.o /CLXBUILD/pegasus/obj/Pegasus/Common/StringInline.o /CLXBUILD/pegasus/obj/Pegasus/Common/System.o /CLXBUILD/pegasus/obj/Pegasus/Common/TimeValue.o /CLXBUILD/pegasus/obj/Pegasus/Common/SSLContext.o /CLXBUILD/pegasus/obj/Pegasus/Common/SSLContextManager.o /CLXBUILD/pegasus/obj/Pegasus/Common/TLS.o /CLXBUILD/pegasus/obj/Pegasus/Common/TraceFileHandler.o /CLXBUILD/pegasus/obj/Pegasus/Common/Tracer.o /CLXBUILD/pegasus/obj/Pegasus/Common/Triad.o /CLXBUILD/pegasus/obj/Pegasus/Common/Thread.o /CLXBUILD/pegasus/obj/Pegasus/Common/Union.o /CLXBUILD/pegasus/obj/Pegasus/Common/XmlParser.o /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o /CLXBUILD/pegasus/obj/Pegasus/Common/XmlStreamer.o /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o /CLXBUILD/pegasus/obj/Pegasus/Common/MofWriter.o /CLXBUILD/pegasus/obj/Pegasus/Common/peg_authorization.o /CLXBUILD/pegasus/obj/Pegasus/Common/CommonUTF.o  -L/usr/pkg/openssl/lib -lssl -lcrypto -lpthread -ldl -lsocket -lnsl -lxnet -lCstd -lrt

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::LanguageTag>*Pegasus::ArrayRep<Pegasus::LanguageTag>::copy_on_write(Pegasus::ArrayRep<Pegasus::LanguageTag>*)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AcceptLanguageList.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/ContentLanguageList.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::LanguageTag>::reserveCapacity(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AcceptLanguageList.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/ContentLanguageList.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::LanguageTag>::remove(unsigned,unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AcceptLanguageList.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/ContentLanguageList.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::LanguageTag>*Pegasus::ArrayRep<Pegasus::LanguageTag>::alloc(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AcceptLanguageList.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/ContentLanguageList.o type=FUNC);

ld: fatal: symbol `bool Pegasus::Contains<Pegasus::CIMName>(const Pegasus::Array<__type_0>&,const __type_0&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMClassRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMInstanceRep.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessage.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::Pair<Pegasus::String,Pegasus::String> >*Pegasus::ArrayRep<Pegasus::Pair<Pegasus::String,Pegasus::String> >::alloc(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageSerializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessage.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::HTTPConnection*>::Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::HTTPConnection*>::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `unsigned Pegasus::Array<Pegasus::HTTPConnection*>::size()const' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `Pegasus::HTTPConnection*&Pegasus::Array<Pegasus::HTTPConnection*>::operator[](unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::HTTPConnection*>::remove(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::HTTPConnection*>::append(Pegasus::HTTPConnection*const&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::HTTPConnection*>::clear()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::HTTPConnection*>*Pegasus::ArrayRep<Pegasus::HTTPConnection*>::copy_on_write(Pegasus::ArrayRep<Pegasus::HTTPConnection*>*)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::HTTPConnection*>::remove(unsigned,unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::HTTPConnection*>::reserveCapacity(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::HTTPConnection*>*Pegasus::ArrayRep<Pegasus::HTTPConnection*>::alloc(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPAcceptor.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnector.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::append(const Pegasus::Pair<Pegasus::String,Pegasus::String>&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPMessage.o type=FUNC);

ld: fatal: symbol `unsigned Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::size()const' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageSerializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPMessage.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<Pegasus::Pair<Pegasus::String,Pegasus::String> >::reserveCapacity(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageDeserializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPMessage.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<Pegasus::Pair<Pegasus::String,Pegasus::String> >*Pegasus::ArrayRep<Pegasus::Pair<Pegasus::String,Pegasus::String> >::alloc(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/CIMMessageSerializer.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPMessage.o type=FUNC);

ld: fatal: symbol `bool Pegasus::Contains<Pegasus::String>(const Pegasus::Array<__type_0>&,const __type_0&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/IndicationFormatter.o type=FUNC);

ld: fatal: symbol `unsigned Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::count()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::AsyncDQueue(bool,unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::~AsyncDQueue()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `Pegasus::AsyncOpNode*Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::remove_first()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::insert_last_wait(Pegasus::AsyncOpNode*)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::shutdown_queue()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::empty_list()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::lock(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::unlock()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::_insert_prep()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::_insert_recover()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `void Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::operator delete(void*,unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `bool Pegasus::AsyncDQueue<Pegasus::AsyncOpNode>::is_full()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/Cimom.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/MessageQueueService.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/SSLContext.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/SSLContext.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/TLS.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>&Pegasus::Array<Pegasus::SSLCertificateInfo*>::operator=(const Pegasus::Array<Pegasus::SSLCertificateInfo*>&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/TLS.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::Array(const Pegasus::Array<Pegasus::SSLCertificateInfo*>&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/HTTPConnection.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/TLS.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<Pegasus::SSLCertificateInfo*>::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/AuthenticationInfoRep.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/TLS.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<const char*>::Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: symbol `Pegasus::Array<const char*>::~Array()' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: symbol `unsigned Pegasus::Array<const char*>::size()const' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<const char*>::append(const char*const&)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: symbol `void Pegasus::Array<const char*>::reserveCapacity(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: symbol `Pegasus::ArrayRep<const char*>*Pegasus::ArrayRep<const char*>::alloc(unsigned)' is multiply-defined:

        (file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlReader.o type=FUNC; file /CLXBUILD/pegasus/obj/Pegasus/Common/XmlWriter.o type=FUNC);

ld: fatal: File processing errors. No output written to /CLXBUILD/pegasus/lib/libpegcommon.so

make[2]: *** [/CLXBUILD/pegasus/lib/libpegcommon.so] Error 1

make[2]: Leaving directory `/CLXBUILD/pegasus/src/Pegasus/Common'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/CLXBUILD/pegasus/src/Pegasus'

make: *** [all] Error 2

Thanks and Regards,

dileep

____________________________

DILEEP KUMAR D

Hewlett Packard

E-mail:ddileep.kumar <at> hp.com

Bangalore

Picon
Favicon

Recall: getting the error ld: fatal symbol "multiply defined"

Dhaggupati, Dileep Kumar (STSD) would like to recall the message, "getting the error  ld: fatal symbol
"multiply defined"".

Andy Abendschein | 4 Jul 2007 16:10

Re: on subscription creation

Sorry for the delay in adding my comments here, but I have been 
backpacking in the backcountry of New Mexico, and thus have been out of 
touch with the rest of the world for about a week and a half...

As has been mentioned previously, CimNavigator is intended to be simply 
a browser, and therefore not dependent on specifics regarding the CIMOM 
it is connected to. Note that from time to time I have encountered 
CIMOM-specific behaviors that required 'creative' solutions in order to 
allow CimNavigator to work with all CIMOMs that I have access to.

While CimNavigator is not intended to be tied to any specific CIM 
Schema, a certain LEVEL of schema must be assumed when it comes to 
indications. I suppose that it would make sense for me to publish what 
that level is. In order to do so I will need to pick through the source 
code to see what qualifiers, indication classes, etc. that I depend on.

Regards,

Andy

Michael E. Brasher wrote:

> Hello Kusuma,
> I hope these responses help.
> #1. You might try writing an OpenPegasus subscription client to see if 
> you get the same error.
> This will tell whether the problem lies in OpenPegasus or CIM 
> navigator. Alternatively, you
> can try the cimlisten command, which is part of the CIMPLE distribution.
> #2. OpenPegasus ignores the Experimental qualifier on methods (the 
> compiler complains
> if you try to create a class with the experimental qualifier unless it 
> is overriden with the -aE
> option).
> #3. I don't think the experimental qualifier is a problem, but I could 
> be wrong. Perhaps, CIM
> navigator is generating the error.
> #4. That probably means that CIM navigator is working correctly.
> #5. I don't think cimnavigator depends on the Pegasus version. It uses 
> its own client library
> down to the wire, so it shoud not be sensitive to Pegasus versions. 
> Also, I doubt that
> cimnavigator has its own schema. I'm pretty sure, it uses the schema 
> of the server.
> Regards,
> Mike
>
>     -----Original Message-----
>     *From:* Ramaswamy, Kusuma [mailto:kusuma_ramaswamy <at> adaptec.com]
>     *Sent:* Friday, June 22, 2007 7:42 AM
>     *To:* pegasus-l <at> openpegasus.org
>     *Cc:* rkusuma <at> gmail.com
>     *Subject:* on subscription creation
>
>     HI,
>
>     I have few questions on cimnavigator usage with Pegasus-2.6 with
>     experimental - schema 2.13
>
>        1. I am having problem while creating subscription for
>           CIM_AlertIndication, I am getting an exception that
>           “AlertOnStateChange is not supported in
>           CIM_IndicationSubscription
>
>     Is this means, that cimnavigator has its own schema ?
>
>     I feel that cimnavigator should use the schema of the cimom to
>     which it connects to.
>
>     I am not aware of the client code, exactly how it is implemented .
>     If anyone could give explanation on this, I would appreciate.
>
>        2. I looked in to the MOFS , and I see that AlertOnStateChange
>           property has Experimental qualifier.
>        3. Is it that because of experimental qualifier, I am unable to
>           create a subscription.
>        4. I am having this doubt because my provider works fine with
>           cimnavigator with Pegasus -2.5.1 and 2.11 final schema
>        5. Is cimnavigator dependent on Pegasus version and schema
>           version (experimental/final schema)?
>
>     Regards
>
>     Kusuma
>

Baur, Mateus (OST R&D | 4 Jul 2007 20:15
Picon
Favicon

WMI Mapper Nightly Build

Hi Folks,

 

We are planning to have a system available in order to make available the results of a Nightly Build script of WMI Mapper (that is currently part of OpenPegasus source tree). I was wondering if the owners of Nightly Build scripts for Windows could send me a copy of the scripts or point me a location where I could get it in order to avoid some rework of related to that. I would appreciate any assistance on that.

 

Thanks and Regards,

Mateus

 

Peter.Lordan | 9 Jul 2007 18:26
Favicon

Hostname With Trailing Period

Hi:
    In the course of testing our provider with OpenPegasus 2.5.1 on RHEL5 I came across an interesting problem: the cimserver, as well as any tools that depend on it, become un-usable if the hostname ends with a '.' . Here is an example:
 

 

root <at> bird Tue Jul 03 14:27:58 /opt/Emulex/elxpegasus 797:
 : ./bin/cimuser -l
Failed to list the users.
CIM_ERR_FAILED: A general error occurred that is not covered by a more specific
error code: "malformed object name: bird.eng.ma.emulex.com
."
root <at> bird Tue Jul 03 14:28:08 /opt/Emulex/elxpegasus 798:
 : uname -a
Linux bird.eng.ma.emulex.com. 2.6.18-8.1.5.el5 #1 SMP Fri May 18 11:54:48 EDT 20
07 ia64 ia64 ia64 GNU/Linux
root <at> bird Tue Jul 03 14:30:24 /opt/Emulex/elxpegasus 799:

This error went away when I got rid of the trailing . that was being added by our DNS server.

From what I've read, there isn't complete agreement on whether including the dot as part of the name is a valid practice ( it is often added to indicate when a hostname is canonical; see http://www.mailarchive.ca/lists/comp.mail.sendmail/2000-05/1537.html or http://www.fiveanddime.net/sendmail-8.13.4-files-and-documentation/doc/op/op.txt.html ), so it's hard to say if this should even be considered a bug. If not, is this behavior documented anywhere? It would be good to be able to point to a statement in an OpenPegasus document if any questions come up about this.

 

                                                                                                            Thanks, Peter C. Lordan

                                                                                                          

dileep kumar d | 10 Jul 2007 14:56
Picon

Re: errors while building my application with pegasus


Hi,
iam getting following error while building my application with pegasus(g++ ver:3.3.2, solaris 9) . Iam geeting all errors in pegasus header files. But iam able to build pegasus libraries. Could any one help me on this.
 
bash-2.05# make -ef testmake HIXIVArun

( /usr/local/bin/g++ -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_GNU -DPEGASUS_OS_SOLARIS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DHIX_IVA -D__EXTERN_C__ -Dregister= -D_POSIX_PTHREAD_SEMANTICS -Wno-deprecated -DAUTOPASS_DISABLED   -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/HIXBUILD/V3.4.00/HIXsrc" -I/HIXBUILD/pegasus/src -I"/HIXBUILD/V3.4.00/HIXCommonLib" -O -c -o /HIXBUILD/V3.4.00/HIXobj/HIXBase.o /HIXBUILD/V3.4.00/HIXsrc/HIXBase.cpp );

In file included from /HIXBUILD/V3.4.00/HIXCommonLib/HIXLog.h:22,

                 from /HIXBUILD/V3.4.00/HIXCommonLib/HIXCallStack.h:4,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXHeader.h:27,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.h:4,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.cpp:1:

/HIXBUILD/V3.4.00/HIXCommonLib/HIXList.h:103: warning: friend declaration `

   std::ostream& operator<<(std::ostream&, const HIXList<NODETYPE>&)' declares

   a non-template function

/HIXBUILD/V3.4.00/HIXCommonLib/HIXList.h:103: warning: (if this is not what

   you intended, make sure the function template has already been declared and

   add <> after the function name here) -Wno-non-template-friend disables this

   warning

In file included from /HIXBUILD/pegasus/src/Pegasus/Common/Array.h:74,

                 from /HIXBUILD/pegasus/src/Pegasus/Common/CIMName.h:40,

                 from /HIXBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXIVAInterface.h:4,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXCaIVA.h:24,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.h:11,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.cpp:1:

/HIXBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: redefinition of `

   class Pegasus::Array<Boolean>'

/HIXBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: previous

   definition of `class Pegasus::Array<Boolean>'

In file included from /HIXBUILD/pegasus/src/Pegasus/Common/MessageLoader.h:42,

                 from /HIXBUILD/pegasus/src/Pegasus/Common/Exception.h:44,

                 from /HIXBUILD/pegasus/src/Pegasus/Common/CIMName.h:41,

                 from /HIXBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXIVAInterface.h:4,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXCaIVA.h:24,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.h:11,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.cpp:1:

/HIXBUILD/pegasus/src/Pegasus/Common/Formatter.h:114: error: `

   Pegasus::Formatter::Arg::Arg(int)' and `Pegasus::Formatter::Arg::Arg(int)'

   cannot be overloaded

In file included from /HIXBUILD/pegasus/src/Pegasus/Common/CIMProperty.h:40,

                 from /HIXBUILD/pegasus/src/Pegasus/Common/CIMObject.h:42,

                 from /HIXBUILD/pegasus/src/Pegasus/Client/CIMClient.h:41,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXIVAInterface.h:4,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXCaIVA.h:24,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.h:11,

                 from /HIXBUILD/V3.4.00/HIXsrc/HIXBase.cpp:1:

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:92: error: `

   Pegasus::CIMValue::CIMValue(int)' and `Pegasus::CIMValue::CIMValue(int)'

   cannot be overloaded

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:147: error: `

   Pegasus::CIMValue::CIMValue(const Pegasus::Array<Boolean>&)' and `

   Pegasus::CIMValue::CIMValue(const Pegasus::Array<Boolean>&)' cannot be

   overloaded

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:291: error: `void

   Pegasus::CIMValue::set(int)' and `void Pegasus::CIMValue::set(int)' cannot

   be overloaded

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:323: error: `void

   Pegasus::CIMValue::set(const Pegasus::Array<Boolean>&)' and `void

   Pegasus::CIMValue::set(const Pegasus::Array<Boolean>&)' cannot be overloaded

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:377: error: `void

   Pegasus::CIMValue::get(Sint32&) const' and `void

   Pegasus::CIMValue::get(Boolean&) const' cannot be overloaded

/HIXBUILD/pegasus/src/Pegasus/Common/CIMValue.h:409: error: `void

   Pegasus::CIMValue::get(Pegasus::Array<Boolean>&) const' and `void

   Pegasus::CIMValue::get(Pegasus::Array<Boolean>&) const' cannot be overloaded

make: *** [/HIXBUILD/V3.4.00/HIXsrc/HIXBase.or] Error 1
 
 
Thanks and Regards,
Dileep

Sergio Andreozzi | 11 Jul 2007 11:52
Picon
Picon
Favicon

Tutorial on writing providers for Pegasus

Hello,

what is the best documentation/tutorial for learning how to write 
providers for OpenPegasus?

The material produced for this event is publicly available?

http://wiki.opengroup.org/pegasus-wiki/doku.php?id=tech:mandevcon

Thanks in advance,
	Sergio

--

-- 
Sergio Andreozzi
INFN-CNAF,                    Tel: +39 051 609 2860
Viale Berti Pichat, 6/2       Fax: +39 051 609 2746
40126 Bologna (Italy)         Web: http://www.cnaf.infn.it/~andreozzi

Schiestl, Andrew J | 11 Jul 2007 16:53
Picon
Favicon

RE: Tutorial on writing providers for Pegasus

When I was getting started developing providers last year, this was the
document I found the most useful:

http://www.cimnavigator.com/resources/103.pdf

I was working against Pegasus 2.5 with CMPI providers, not C++ providers
as shown in the example in the document, but I still found it useful for
seeing all the pieces of creating a working provider.

Andy Schiestl

-----Original Message-----
From: Sergio Andreozzi [mailto:sergio.andreozzi <at> cnaf.infn.it] 
Sent: Wednesday, July 11, 2007 3:53 AM
To: pegasus-l <at> openpegasus.org
Subject: Tutorial on writing providers for Pegasus

Hello,

what is the best documentation/tutorial for learning how to write 
providers for OpenPegasus?

The material produced for this event is publicly available?

http://wiki.opengroup.org/pegasus-wiki/doku.php?id=tech:mandevcon

Thanks in advance,
	Sergio

--

-- 
Sergio Andreozzi
INFN-CNAF,                    Tel: +39 051 609 2860
Viale Berti Pichat, 6/2       Fax: +39 051 609 2746
40126 Bologna (Italy)         Web: http://www.cnaf.infn.it/~andreozzi


Gmane