undefined symbol when using -c compiling option
807575Aug 16 2006 — edited Oct 17 2007{
std::vector<int> v;
v.push_back(1);
}
after I compile the code above in a library using the -c option and I run nm -u I see an undefined symbol:
__1cDstdGvector4Cin0AJallocator4Ci___M__insert_aux6Mpirki_v_
The library is loaded using dlopen by an external executable. The executable crashes and my guess is that it happens because of that symbol. Any suggestions are most welcome. Thank you.
Message was edited by:
oulisee