Forum Stats

  • 3,853,730 Users
  • 2,264,259 Discussions


Mysterious objectfile name in library

I am having a trouble with Forte C++ as it gives undefined symbol error
during link phase and I can't figure out from which file this symbol comes.

I am, however, 110% sure that in the library that compiler claims to have undefined std::copy(....) function, there is definedly no std::copy functions used. Neither there is no STL containers used that contain "unsigned long*" type values. Can any-one tell how I can "demangle" cryptic name of object file "wE6nQgLu6Bb-BQHSTdLQ.o" in the error message below so that I can really try to find from where this comes.

Undefined first referenced
symbol in file
__type_1 std::copy<const unsigned long*,unsigned long*>(__type_0,__type_0,__type_1) /home/wise/sparc-sun-solaris2.6/CC/lib/libWSParameters-0.86-CC6.a(wE6nQgLu6Bb-BQHSTdLQ.o)
ld: fatal: Symbol referencing errors. No output written to ../bin.SunOS-5.6/SMART-2000.1

This same library is used in another program of ours and there is no such problem at all. Also HP's aCC and gnu g++ compile this same program OK.
This discussion has been closed.