Open pegasus CIMOM compilation issue on Windows
Deepak <[email protected]> Mon, 2 Dec 2013 00:54:27 -0800 (PST)
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am trying to build Open Pegasus CIMOM on Windows platform. Most of the compilation is going through. However I am hitting one compiler error . Below is the issue generated during the build. Please let me know how to go about resolving this issue. cl -nologo -c -FoC:/Deepak/IIAS/pegasus212/pegasus/build/obj/Providers/ManagedSystem/ComputerSystem/ComputerSystem.obj -EHsc -GF -GL -Gy -GR -W3 -O2 -MD -DPEGASUS_PLATFORM_WIN32_IX86_MSVC -D_WIN32_WINNT=0x0600 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPEGASUS_ENABLE_CQL -DPEGASUS_DISABLE_PROV_USERCTXT -DPEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET -DPEGASUS_DISABLE_EXECQUERY -DPEGASUS_HAS_SSL -DPEGASUS_SSL_RANDOMFILE -DPEGASUS_ENABLE_SSL_CRL_VERIFICATION -DPEGASUS_ENABLE_AUDIT_LOGGER -DPEGASUS_ENABLE_IPV6 -DPEGASUS_ENABLE_INDICATION_COUNT -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -DPEGASUS_DISABLE_PERFINST -DPEGASUS_ENABLE_CMPI_PROVIDER_MANAGER -DPEGASUS_DEST_LIB_DIR=\"bin\" -DPEGASUS_EXTRA_PROVIDER_LIB_DIR=\"\" -IC:/Deepak/IIAS/pegasus212/pegasus/src ComputerSystem.cpp ComputerSystem.cpp c:\deepak\iias\pegasus212\pegasus\src\providers\managedsystem\computersystem\ComputerSystem_Stub.cpp(72) : error C2065: 'PEGASUS_CLASSNAME_PG_COMPUTERSYSTEM' : undeclared identifier c:\deepak\iias\pegasus212\pegasus\src\providers\managedsystem\computersystem\ComputerSystem_Stub.cpp(72) : error C2228: left of '.getString' must have class/struct/union type is ''unknown-type'' gnumake[4]: *** [C:/Deepak/IIAS/pegasus212/pegasus/build/obj/Providers/ManagedSystem/ComputerSystem/ComputerSystem.obj] Error 2 'PEGASUS_CLASSNAME_PG_COMPUTERSYSTEM' is declared as an extern variable in Constants.h I am not sure if I should include any addition library to provide the external linkage during compilation. Configuration is 64 bit machine(Windows 7), OP version : 2.12 OPenssl version : openssl 1.0.1e Regards Deepak