From: SourceForge.net <no...@so...> - 2009-02-20 16:43:04
|
Bugs item #2620513, was opened at 2009-02-20 10:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116214&aid=2620513&group_id=16214 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Matt Gulick (mattgulick) Assigned to: Nobody/Anonymous (nobody) Summary: Provider Compile Failures Initial Comment: Under both OpenSuSE 11.1 on an i686 platform and Fedora 10, I get errors when building openwbem. I downloaded the latest OpenWBEM-3.2.2. and ran ./configure which with no errors. I the ran make (as root) and I get the following error: ( I also tried OpenWBEM-3.1.0 and got different errors - See below) make[3]: Entering directory `/usr/local/openwbem-3.2.2/src/provideragent' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/common -I../../src/client -I../../src/common/socket -I../../src/cim -I../../src/ifcs -I../../src/http/common -I../../src/http/client -I../../src/services/http -I../../src/providerifcs/cpp -I../../src/provider -fno-enforce-eh-specs -g -O2 -fPIC -D_REENTRANT -D_GNU_SOURCE -pipe -DNDEBUG -O3 -MT OW_ProviderAgentCIMOMHandle.o -MD -MP -MF ".deps/OW_ProviderAgentCIMOMHandle.Tpo" -c -o OW_ProviderAgentCIMOMHandle.o OW_ProviderAgentCIMOMHandle.cpp; \ then mv -f ".deps/OW_ProviderAgentCIMOMHandle.Tpo" ".deps/OW_ProviderAgentCIMOMHandle.Po"; else rm -f ".deps/OW_ProviderAgentCIMOMHandle.Tpo"; exit 1; fi In file included from /usr/include/c++/4.3/backward/hash_map:64, from ../../src/common/OW_HashMap.hpp:40, from ../../src/common/OW_Cache.hpp:38, from OW_ProviderAgentEnvironment.hpp:46, from OW_ProviderAgentCIMOMHandle.hpp:45, from OW_ProviderAgentCIMOMHandle.cpp:38: /usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from ../../src/common/OW_Cache.hpp:38, from OW_ProviderAgentEnvironment.hpp:46, from OW_ProviderAgentCIMOMHandle.hpp:45, from OW_ProviderAgentCIMOMHandle.cpp:38: ../../src/common/OW_HashMap.hpp:60: error: ‘hash’ is not a template ../../src/common/OW_HashMap.hpp:61: error: explicit specialization of non-template ‘std::hash’ ../../src/common/OW_HashMap.hpp: In member function ‘size_t std::hash::operator()(const OpenWBEM4::String&) const’: ../../src/common/OW_HashMap.hpp:64: error: ‘std::hash’ is not a template In file included from OW_ProviderAgentEnvironment.hpp:46, from OW_ProviderAgentCIMOMHandle.hpp:45, from OW_ProviderAgentCIMOMHandle.cpp:38: ../../src/common/OW_Cache.hpp: At global scope: ../../src/common/OW_Cache.hpp:100: error: ISO C++ forbids declaration of ‘hash_map’ with no type ../../src/common/OW_Cache.hpp:100: error: typedef name may not be a nested-name-specifier ../../src/common/OW_Cache.hpp:100: error: expected ‘;’ before ‘<’ token ../../src/common/OW_Cache.hpp:102: error: ‘cache_index_t’ does not name a type ../../src/common/OW_Cache.hpp: In member function ‘void OpenWBEM4::Cache<T>::addToCache(const T&, const OpenWBEM4::String&)’: ../../src/common/OW_Cache.hpp:118: error: ‘theCacheIndex’ was not declared in this scope ../../src/common/OW_Cache.hpp:129: error: ‘theCacheIndex’ was not declared in this scope ../../src/common/OW_Cache.hpp:129: error: ‘cache_index_t’ has not been declared ../../src/common/OW_Cache.hpp: In member function ‘T OpenWBEM4::Cache<T>::getFromCache(const OpenWBEM4::String&)’: ../../src/common/OW_Cache.hpp:139: error: ‘cache_index_t’ has not been declared ../../src/common/OW_Cache.hpp:139: error: expected initializer before ‘ii’ ../../src/common/OW_Cache.hpp:140: error: ‘ii’ was not declared in this scope ../../src/common/OW_Cache.hpp:140: error: ‘theCacheIndex’ was not declared in this scope ../../src/common/OW_Cache.hpp: In member function ‘void OpenWBEM4::Cache<T>::removeFromCache(const OpenWBEM4::String&)’: ../../src/common/OW_Cache.hpp:159: error: ‘cache_index_t’ has not been declared ../../src/common/OW_Cache.hpp:159: error: expected initializer before ‘i’ ../../src/common/OW_Cache.hpp:160: error: ‘i’ was not declared in this scope ../../src/common/OW_Cache.hpp:160: error: ‘theCacheIndex’ was not declared in this scope ../../src/common/OW_Cache.hpp: In member function ‘void OpenWBEM4::Cache<T>::clearCache()’: ../../src/common/OW_Cache.hpp:174: error: ‘theCacheIndex’ was not declared in this scope ../../src/common/OW_Cache.hpp: In member function ‘void OpenWBEM4::Cache<T>::setMaxCacheSize(OpenWBEM4::UInt32)’: ../../src/common/OW_Cache.hpp:185: error: ‘theCacheIndex’ was not declared in this scope make[3]: *** [OW_ProviderAgentCIMOMHandle.o] Error 1 make[3]: Leaving directory `/usr/local/openwbem-3.2.2/src/provideragent' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/openwbem-3.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/openwbem-3.2.2' make: *** [all] Error 2 When I tried OpenWBEM-3.1.0, I got different errors: source='OW_CIMDataType.cpp' object='OW_CIMDataType.o' libtool=no \ depfile='.deps/OW_CIMDataType.Po' tmpdepfile='.deps/OW_CIMDataType.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/common -I../../src/ifcs -fno-enforce-eh-specs -fPIC -D_REENTRANT -D_GNU_SOURCE -pipe -DNDEBUG -O3 -c -o OW_CIMDataType.o `test -f 'OW_CIMDataType.cpp' || echo './'`OW_CIMDataType.cpp source='OW_CIMDateTime.cpp' object='OW_CIMDateTime.o' libtool=no \ depfile='.deps/OW_CIMDateTime.Po' tmpdepfile='.deps/OW_CIMDateTime.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/common -I../../src/ifcs -fno-enforce-eh-specs -fPIC -D_REENTRANT -D_GNU_SOURCE -pipe -DNDEBUG -O3 -c -o OW_CIMDateTime.o `test -f 'OW_CIMDateTime.cpp' || echo './'`OW_CIMDateTime.cpp OW_CIMDateTime.cpp: In function ‘void OpenWBEM::fillDateTimeData(OpenWBEM::CIMDateTime::DateTimeData&, const char*)’: OW_CIMDateTime.cpp:339: error: ‘atoi’ was not declared in this scope OW_CIMDateTime.cpp:353: error: ‘atoi’ was not declared in this scope make[3]: *** [OW_CIMDateTime.o] Error 1 make[3]: Leaving directory `/usr/local/openwbem-3.1.0/src/cim' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/openwbem-3.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/openwbem-3.1.0' make: *** [all] Error 2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116214&aid=2620513&group_id=16214 |