This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/13686] Missing symbol in libstdc++ from std::map


------- Additional Comments From bangerth at dealii dot org  2004-01-14 21:33 -------
Actually, this wasn't even so hard. Take this example: 
-------------------------- 
#include <map> 
 
int main () 
{ 
  std::map<int,int> m; 
  m[1]        = 1; 
} 
-------------------------- 
 
This yields: 
lib/base> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc 
lib/base> ./a.out  
./a.out: relocation error: ./a.out: symbol 
_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_, version 
GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference 
 
I'm on x86 linux, btw. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13686


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