link errors, std::xxx on SGI. Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hopefully you can help save some of the hair I have left.... ;)

I'm using gcc v3.4 (we recently downloaded and built it) on an SGI with Irix 6.5. I've built a static library fine with no problems. Now, I'm trying to link to it with a small test program. I'm receiving a few link errors, all concerning the same thing. Here is the output:

---------------------------
ld32: ERROR 33: Unresolved text symbol "std::_Rb_tree_insert_and_rebalance(...)" -- 1st referenced by <a file in the library>
ld32: ERROR 33: Unresolved text symbol "std::_Rb_tree_decrement(...)" -- 1st referenced by <a file in our library>
ld32: ERROR 33: Unresolved text symbol "std::_Rb_tree_increment(...)" -- 1st referenced by <a file in our library>
ld32: ERROR 33: Unresolved text symbol "std::_List_node_base::hook(...)" -- 1st referenced by <a file in our library>
ld32: ERROR 33: Unresolved text symbol "std::_List_node_base::unhook(...)" -- 1st referenced by <a file in our library>
ld32: ERROR 33: Unresolved text symbol "std::_Rb_tree_insert_and_rebalance_for_erase(...)" -- 1st referenced by <a file in our library>
---------------------------

Does anyone have any ideas? I have no idea what these are; searches on the internet turned up nothing. Some around here I have talked to think maybe my include paths are not right when building the library. I added the lstdc++ library to link with, but no change in errors. I also have to link with glib-2.0. 

Thanks,

Tom


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux