Undefined externals for rope

Steve Ellcey sje@cup.hp.com
Fri Jan 11 10:19:00 GMT 2002

OK, I should be able to figure this out myself but I can't seem to get
it quite right.  On HP-UX, with shared libraries and the latest sources,
I get the following two undefines because HP-UX requires explicit
external declarations.  I know that I want to add explicit
instantiations of these functions to libstdc++-v3/src/ext-inst.cc but I
can't seem to get the syntax/types/names quite right.  Can anyone help?
If someone wants to make the change and do the patch that would be
great, I don't have write permission to the FSF tree.  Otherwise I can
make and test a patch once I have the correct magic to add to

[hpadl731] $ cat m.cc
int main() { return 0;}

[hpadl731] $ /usr/local/bin/g++ m.cc -o m
ld: (Warning) Unsatisfied symbol "std::rope<wchar_t, std::allocator<wchar_t> >::_S_fetch(std::_Rope_RopeRep<wchar_t, std::allocator<wchar_t> >*, unsigned long)" in file /usr/local/lib/gcc-lib/ia64-hp-hpux11.20/3.1/../../../hpux32/libstdc++.so
ld: (Warning) Unsatisfied symbol "std::rope<char, std::allocator<char> >::_S_fetch(std::_Rope_RopeRep<char, std::allocator<char> >*, unsigned long)" in file /usr/local/lib/gcc-lib/ia64-hp-hpux11.20/3.1/../../../hpux32/libstdc++.so
2 warnings.

Steve Ellcey

More information about the Libstdc++ mailing list