This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined symbol _Rb_tree_decrement... using gcc-3.4.0?


Yesterday I ran into a link error on a medium sized C++ program
when compiled with gcc-3.4.0 (it was fine on gcc-2.95.3 and gcc-3.3.3).
Googling around, I only saw one similar report:
http://ufies.org/pipermail/xfmail-users/2004-May/000466.html (gcc-3.4.0 20040324):

inc.o(.gnu.linkonce.t._ZN10__gnu_norm4listI13_retrieve_srcSaIS1_EE8_M_eraseENS_14_List_iteratorIS1_EE+0xd): In function `__gnu_norm::list<_retrieve_src,
std::allocator<_retrieve_src>
>::_M_erase(__gnu_norm::_List_iterator<_retrieve_src>)':
: undefined reference to `__gnu_norm::_List_node_base::unhook()'
../mail/.libs/libmail.so: undefined reference to
`std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
../mail/.libs/libmail.so: undefined reference to
`std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)'
collect2: ld returned 1 exit status
make[2]: *** [xfmail] Error 1

Come Monday, I'll try to whittle down
my real world case down to something standalone, but
I was hoping the above report would be enough to ring a bell.
Anyone know what might cause this kind of error?

Thanks,
Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]