Daniel, Thank you for your response. The function names are the same, for some reason CXX is producing different symbols. class U_COMMON_API UVector { public: typedef UBool (*Comparer)(void*, void*); Comparer setComparer(Comparer c); } UVector::Comparer UVector::setComparer(Comparer c) { Comparer old = comparer; comparer = c; return old; } /* other stuff */ } and in the other library I access the setComparer method: cacheIDs.setComparer(compareIDs); where compareIDs is: UBool Transliterator::compareIDs(void* a, void* b) { const UnicodeString* aa = (const UnicodeString*) a; const UnicodeString* bb = (const UnicodeString*) b; return *aa == *bb; } and cacheIDs is static UVector cacheIDs; On every other compiler I dont have the mentioned problem, but on CXX ...arrrgh! Ram "T. Daniel Crawford" wrote: > On Tue, 1 May 2001, Ram Viswanadha wrote: > > > Hi, > > Can anyone help me decipher this ? > > I am linking libicu18n.so with libicuuc.so, the error is that the linker > > finding undefined symbols. > > nm's output is given below: > > > > [raghu@ganesh source]# nm common/libicuuc.so | grep setComparer > > 0000000000057708 T __7setComparer__7UVectorFPFPvT1_Sc > > [raghu@ganesh source]# nm i18n/libicui18n.so | grep setComparer > > U __7setComparer__7UVectorFPFPvT1_c > > > > what is the difference here? > > > > Thanks in advance. > > > > Ram > > > > The "T" indicates the function is defined and the "U" indicates that > it's not. However, the two function names spat out by nm are slightly > different, are they not? > > -Daniel > > -- > T. Daniel Crawford Department of Chemistry > crawdad@vt.edu Virginia Tech > www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255 > -------------------- > PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt > -------------------- > "An open mind, so we are told, lets in everything. But so does a garbage can." > -Michael Long > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list