473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

linking errors pointing to rogue wave & std classes during c++ application migration

Hi,

At present application was built on solaris 9 using sun studio 9 (Sun C++ 5.6) & rouguewave sorce pro 5. We are planning to port the same application onto SuSE Linux 9.5.0 using GCC 3.3.3 & RW source pro 9. My application heavily uses RW tools through wrapper classes on the top existing RW classes. RW libraries were built using gcc on linux platform and standalong RW examples are working fine. Since the application compilation is moving from Sun CC to GCC, we have taken care all my application template classes declaration & its implementation. Code compiles perfectly but throws lot of linking errors with undefined reference. Most of these errors are pointing inside RW template classes or std:: classes. I am not sure whether i am missing something w.r.t roguewave during my compilation (like some RW macros). Does anyone have idea whats the underlying problem please. Here I am attaching part of linking errors...

linking option :
----------------
g++ -D_RWCONFIG_15dn2 -D_REENTRANT=1 -pthread -O3 -D__ORA_THREADS -fPIC -DRW_MULTI_THREAD -DCSTRING_MUTEX_COUNT=61 -DUSE_SPROC=0 -DUSE_PRIVATE_HEAPS=0 -Wno-deprecated -mcpu=x86-64 -L/usr/lib64 -L/lib64 -L/utils -L/main -L/usr/roguewave/RogueWave/SourcePro/native2/lib -I/usr/include -DSQLCA_NONE -DORACA_NONE -Dlint -fno-implicit-templates -D__DEBUG -DRW_CLASSIC_STRING_CLASSES -I/usr/roguewave/RogueWave/SourcePro/native2 -I/usr/roguewave/RogueWave/SourcePro/native2/lib -I/drivermodule -I/include -I/utils -I/eventhandler -I/todmodule -I/orderexecution -I/servicemodule -I/wsdlpull/src -I/dboracle/orabase/product/db/10.2.0.3_64bit/precomp/public -I/dboracle/orabase/product/db/10.2.0.3_64bit/rdbms/demo -I/dboracle/orabase/product/db/10.2.0.3_64bit/rdbms/public -I/dboracle/orabase/product/db/10.2.0.3_64bit/xdk/include -I/dboracle/orabase/product/db/10.2.0.3_64bit/xdk/demo/cpp/new/ -o main.exe main.cc ../utils/libutils.a ../orderexecution/liborderexecution.a ../wsdlpull/src/xmlpull/libxmlpull.a ../wsdlpull/src/schemaparser/libschema.a ../wsdlpull/src/wsdlparser/libwsdl.a ../servicemodule/libservicemodule.a ../eventhandlermodule/libeventhandler.a ../todmodule/libtodmodule.a -ldrivermodule -L/dboracle/orabase/product/db/10.2.0.3_64bit/lib -lclient10 -lsql10 -lntcp10 -ln10 -lnl10 -lnldap10 -lnhost10 -lntns10 -lnoname10 -lnus10 -lntcps10 -lnro10 -lnsslb10 -lcommon10 -lgeneric10 -lmm -lnls10 -lcore10 -lclntsh -lxml10 -lunls10 -ldl `cat /dboracle/orabase/product/db/10.2.0.3_64bit/lib/sysliblist` -lm -lfactory1415dn2 -lfunctor2315dn2 -lfunctor_list2315dn2 -lfunctor_map2315dn2 -li18n1415dn2 -litc2315dn2 -lpointer2515dn2 -lserial2015dn2 -lstreams1315dn2 -lsync2415dn2 -lthread2415dn2 -lthrexcept2315dn2 -ltls71015dn2 -ltrace2315dn2 -ltypes1315dn2 -lxmlabstractions1515dn2 -lxmlstreams1415dn2 -lpthread -lc -lrt -lnsl


Linking errors:
===============
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: warning: libicudata.so.34, needed by /usr/roguewave/RogueWave/SourcePro/native2/lib/libi18n1415dn2.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: warning: libicui18n.so.34, needed by /usr/roguewave/RogueWave/SourcePro/native2/lib/libi18n1415dn2.so, not found (try using -rpath or -rpath-link)
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: warning: libicuuc.so.34, needed by /usr/roguewave/RogueWave/SourcePro/native2/lib/libi18n1415dn2.so, not found (try using -rpath or -rpath-link)
../utils/libutils.a(cexceptions.o)(.text+0x926): In function `DEBUG_STD_FUNC(unsigned long, GenString const&, int, CObjList<GenString>*)':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, GenString*>, std::_Select1st<std:air><GenString* const, GenString*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >::find(GenString* const&)'
../utils/libutils.a(cexceptions.o)(.text+0x9b2): In function `DEBUG_STD_FUNC(unsigned long, GenString const&, int, CObjList<GenString>*)':
: undefined reference to `RWCTokenizer::RWCTokenizer[in-charge](RWClassicCString const&)'
../utils/libutils.a(genstring.o)(.text+0x19e2): In function `GenString::ExtractTagAndIndex(int const&, GenString&, GenString&, GenString&, bool&, int&, bool&, unsigned long&)':
: undefined reference to `RWCRegexp::RWCRegexp[in-charge](RWClassicCString const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN16CMapStringToListI9GenStringE6HelperEPKS0_RP8CO bjListIS0_EPv+0x8): In function `CMapStringToList<GenString>::Helper(GenString const*, CObjList<GenString>*&, void*)':
: undefined reference to `RW_PSeq<rw_slist><GenString*, std::allocator><GenString*> >, RWTPtrSlist<GenString, std::allocator><GenString*> >, GenString>::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringEC2Ev+0x5): In function `CObjList<GenString>::CObjList[not-in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::rw_slist[not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringEC1Ev+0x5): In function `CObjList<GenString>::CObjList[in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::rw_slist[not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED2Ev+0x12): In function `CObjList<GenString>::~CObjList [not-in-charge]()':
: undefined reference to `RW_PSeq<rw_slist><GenString*, std::allocator><GenString*> >, RWTPtrSlist<GenString, std::allocator><GenString*> >, GenString>::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED2Ev+0x1a): In function `CObjList<GenString>::~CObjList [not-in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::~rw_slist [not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED2Ev+0x37): In function `CObjList<GenString>::~CObjList [not-in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::~rw_slist [not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED1Ev+0x12): In function `CObjList<GenString>::~CObjList [in-charge]()':
: undefined reference to `RW_PSeq<rw_slist><GenString*, std::allocator><GenString*> >, RWTPtrSlist<GenString, std::allocator><GenString*> >, GenString>::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED1Ev+0x1a): In function `CObjList<GenString>::~CObjList [in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::~rw_slist [not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringED1Ev+0x37): In function `CObjList<GenString>::~CObjList [in-charge]()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::~rw_slist [not-in-charge]()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED1Ev+0x2 1): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><GenString>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, RWTPtrMap<GenString, CObjList><GenString>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, GenString, CObjList<GenString>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED1Ev+0xa 2): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><GenString>*>, std::_Select1st<std:air><GenString* const, CObjList><GenString>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><GenString>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED1Ev+0x1 50): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><GenString>*>, std::_Select1st<std:air><GenString* const, CObjList><GenString>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><GenString>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED2Ev+0x2 1): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><GenString>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, RWTPtrMap<GenString, CObjList><GenString>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, GenString, CObjList<GenString>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED2Ev+0xa 2): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><GenString>*>, std::_Select1st<std:air><GenString* const, CObjList><GenString>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><GenString>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI9GenStringEED2Ev+0x1 50): In function `CMapStringToObj<CObjList><GenString> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><GenString>*>, std::_Select1st<std:air><GenString* const, CObjList><GenString>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><GenString>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN16CMapStringToListI9GenStringED1Ev+0xb4): In function `CMapStringToList<GenString>::~CMapStringToList [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><GenString>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, RWTPtrMap<GenString, CObjList><GenString>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, GenString, CObjList<GenString>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN16CMapStringToListI9GenStringED2Ev+0xb4): In function `CMapStringToList<GenString>::~CMapStringToList [not-in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><GenString>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, RWTPtrMap<GenString, CObjList><GenString>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><GenString>*> > >, GenString, CObjList<GenString>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI9GenStringED1Ev+0x21): In function `CMapStringToObj<GenString>::~CMapStringToObj [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, GenString*, rw_deref_compare><std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >, RWTPtrMap<GenString, GenString, std::less><GenString>, std::allocator<std:air><GenString* const, GenString*> > >, GenString, GenString, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI9GenStringED1Ev+0xa2): In function `CMapStringToObj<GenString>::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, GenString*>, std::_Select1st<std:air><GenString* const, GenString*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, GenString*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI9GenStringED1Ev+0x150): In function `CMapStringToObj<GenString>::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, GenString*>, std::_Select1st<std:air><GenString* const, GenString*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, GenString*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI9GenStringED2Ev+0x150): In function `CMapStringToObj<GenString>::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, GenString*>, std::_Select1st<std:air><GenString* const, GenString*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, GenString*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED1Ev+0x21): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, XMLArray*, rw_deref_compare><std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >, RWTPtrMap<GenString, XMLArray, std::less><GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >, GenString, XMLArray, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED1Ev+0xa2): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, XMLArray*>, std::_Select1st<std:air><GenString* const, XMLArray*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, XMLArray*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED1Ev+0x150): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, XMLArray*>, std::_Select1st<std:air><GenString* const, XMLArray*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, XMLArray*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED2Ev+0x21): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [not-in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, XMLArray*, rw_deref_compare><std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >, RWTPtrMap<GenString, XMLArray, std::less><GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >, GenString, XMLArray, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED2Ev+0xa2): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, XMLArray*>, std::_Select1st<std:air><GenString* const, XMLArray*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, XMLArray*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8XMLArrayED2Ev+0x150): In function `CMapStringToObj<XMLArray>::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, XMLArray*>, std::_Select1st<std:air><GenString* const, XMLArray*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, XMLArray*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, XMLArray*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED1Ev+0x21 ): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><XMLArray>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >, RWTPtrMap<GenString, CObjList><XMLArray>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >, GenString, CObjList<XMLArray>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED1Ev+0xa2 ): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><XMLArray>*>, std::_Select1st<std:air><GenString* const, CObjList><XMLArray>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><XMLArray>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED1Ev+0x15 0): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><XMLArray>*>, std::_Select1st<std:air><GenString* const, CObjList><XMLArray>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><XMLArray>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED2Ev+0x21 ): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, CObjList><XMLArray>*, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >, RWTPtrMap<GenString, CObjList><XMLArray>, std::less<GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >, GenString, CObjList<XMLArray>, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED2Ev+0xa2 ): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><XMLArray>*>, std::_Select1st<std:air><GenString* const, CObjList><XMLArray>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><XMLArray>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEED2Ev+0x15 0): In function `CMapStringToObj<CObjList><XMLArray> >::~CMapStringToObj [not-in-charge]()':
: undefined reference to `std::_Rb_tree<GenString*, std:air><GenString* const, CObjList><XMLArray>*>, std::_Select1st<std:air><GenString* const, CObjList><XMLArray>*> >, rw_deref_compare<std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, CObjList><XMLArray>*> > >::_M_erase(std::_Rb_tree_node<std:air><GenStrin g* const, CObjList><XMLArray>*> >*)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN15CMapStringToObjI8CObjListI8XMLArrayEE5PrintEv+ 0xaa): In function `CMapStringToObj<CObjList><XMLArray> >::Print()':
: undefined reference to `CObjList<XMLArray>::Print()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE8PrintDrvEv+0x45): In function `CObjList<GenString>::PrintDrv()':
: undefined reference to `RWTPtrSlistIterator<GenString, std::allocator><GenString*> >::operator++()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE8PrintDrvEv+0xac): In function `CObjList<GenString>::PrintDrv()':
: undefined reference to `RWTPtrSlistIterator<GenString, std::allocator><GenString*> >::operator++()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE5PrintEv+0x34): In function `CObjList<GenString>::Print()':
: undefined reference to `RWTPtrSlistIterator<GenString, std::allocator><GenString*> >::operator++()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE5PrintEv+0x79): In function `CObjList<GenString>::Print()':
: undefined reference to `RWTPtrSlistIterator<GenString, std::allocator><GenString*> >::operator++()'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE4SortEv+0x176): In function `CObjList<GenString>::Sort()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::erase(rw_slist<GenString*, std::allocator><GenString*> >::Iterator)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE4SortEv+0x1da): In function `CObjList<GenString>::Sort()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::erase(rw_slist<GenString*, std::allocator><GenString*> >::Iterator)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE4SortEv+0x25b): In function `CObjList<GenString>::Sort()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::insert(rw_slist<GenString*, std::allocator><GenString*> >::Iterator, GenString* const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN8CObjListI9GenStringE4SortEv+0x2e4): In function `CObjList<GenString>::Sort()':
: undefined reference to `rw_slist<GenString*, std::allocator><GenString*> >::insert(rw_slist<GenString*, std::allocator><GenString*> >::Iterator, GenString* const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN14RWTThreadLocalIiE9createKeyEv+0x129): In function `RWTThreadLocal<int>::createKey()':
: undefined reference to `RWTHRResourceLimit::RWTHRResourceLimit[in-charge](RWClassicCString const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN14RWTThreadLocalIiE9createKeyEv+0x192): In function `RWTThreadLocal<int>::createKey()':
: undefined reference to `RWTHRResourceLimit::RWTHRResourceLimit[in-charge](RWClassicCString const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN14RWTThreadLocalIiE3setEPv+0xf2): In function `RWTThreadLocal<int>::set(void*)':
: undefined reference to `RWTHRResourceLimit::RWTHRResourceLimit[in-charge](RWClassicCString const&)'
../utils/libutils.a(osdtemplateinstant.o)(.gnu.linkonce.t._ ZN14RWTThreadLocalIiE8setValueERKi+0x51): In function `RWTThreadLocal<int>::setValue(int const&)':
: undefined reference to `vtable for RWTTLD<int>'
../utils/libutils.a(shareddatastore.o)(.text+0x22c): In function `XMLArray::~XMLArray [in-charge]()':
: undefined reference to `RW_PMapAssoc<std::map><GenString*, GenString*, rw_deref_compare><std::less><GenString>, GenString>, std::allocator<std:air><GenString* const, GenString*> > >, RWTPtrMap<GenString, GenString, std::less><GenString>, std::allocator<std:air><GenString* const, GenString*> > >, GenString, GenString, std::less<GenString> >::clearAndDestroy()'
../utils/libutils.a(shareddatastore.o)(.text+0x234): In function `XMLArray::~XMLArray [in-charge]()':
: undefined reference to `RW_PSeq<rw_slist><GenString*, std::allocator><GenString*> >, RWTPtrSlist<GenString, std::allocator><GenString*> >, GenString>::clearAndDestroy()'


Thanks
Raju
Jul 2 '07 #1
2 2699
weaknessforcats
9,208 Expert Mod 8TB
I expect you are not building the the RW software correctly. RW has a lot of switches you need to set.

Linker errors mean so code you need has not been included. Those RW templates have a lot of conditional code based on the target platform.

If everything fails, contact RW.
Jul 2 '07 #2
RW has been built with the available options using RCB. Infact stand alone RW test examples are working fine. Here is compilation & linking options for RW and its examples.

RW example compilation options
------------------------------------------------
g++ -m32 -D_RWCONFIG=15d03 -I./../../.. -I.. -I. -D_RWBUILD_tls -fPIC -g -pthread --pedantic -DRW_CLASSIC_STRING_CLASSES -Wall -W -Wno-long-long -c ../btree.cpp

g++ -m32 -D_RWCONFIG=15d03 -I/usr/roguewave/RogueWave/SourcePro/Ed9/3rdparty/icu-3.4/suse/amd64-32b-gcc3.3.3/include -I./../../../.. -I.. -I. -g -pthread -DRW_CLASSIC_STRING_CLASSES -c ../SortingStrings.cpp


RW examples compilation option
------------------------------------------------
g++ -m32 -DRW_CLASSIC_STRING_CLASSES -pthread -L./../../../../lib -L/usr/roguewave/RogueWave/SourcePro/Ed9/3rdparty/icu-3.4/suse/amd64-32b-gcc3.3.3/lib -o RegularExpressionWordBreaks RegularExpressionWordBreaks.o -li18n1415d03 -licudata -licui18n -licuuc -lthread2415d03 -litc2315d03 -lfunctor_list2315d03 -lfunctor2315d03 -lpointer2515d03 -lsync2415d03 -lthrexcept2315d03 -ltrace2315d03 -ltls71015d03 -lnsl
Jul 3 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Thomas Lenarz | last post by:
Hello, we have got C++-programs (older SUN-Compiler) using the Rogue-Wave-Class-Library and consider to port the application to AIX 5.2 (GNU gcc/g++) The only drawback we could find ist the...
1
by: Don Tucker | last post by:
Hello, I am receiving the following compile-time error: /opt/include/rw/dcomplex.h line 218 error(1420): argument list for class template "complex" is missing typedef complex DComplex when...
3
by: Saurabh Aggrawal | last post by:
Hi, I am porting an application for 64-bit AMD processor and while linking the application i am getting the following errors: Processing directory uidll... Linking DLL...
5
by: Old Wolf | last post by:
The following code causes a deallocation of a random amount of bytes, with the Rogue Wave STL supplied with Borland C++ 5.5.1 : #include <vector> int main() { std::vector<char> v, w(1); v =...
0
by: sebor | last post by:
Hi all, The latest release of the Rogue Wave C++ Standard Library, version 4.1.0, has just been released into public domain under the Apache License, version 2.0, as the Apache stdcxx project:...
0
by: Drew | last post by:
I am attempting to clean up some code by breaking a large mixed-mode Managed C++ library into two. I cannot get the darn thing to compile or link (depending on what I do). I have two...
5
by: prakash.mirji | last post by:
I am using evaluation copy of RW 9.0 for porting one of C++ application on RHEL4 (x86 platform). We are getting some issues into RW template classes. Please need assistance on this issue. Here...
5
by: etoile | last post by:
The code is on a SUN platform. From a detailed design point of view, what is needed to eliminate Rogue Wave from the C++ code. Just scanning for RW in the code, here is a list: RWCstring...
1
by: Steven Backus | last post by:
I inherited a Solaris c++ program that uses Rogue Wave and am trying to port it to linux. It seg faults in this code: for (int size = entries() - 1; size 1; --size) { RWOrderedIterator...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.