I'm trying to compile a program with a library downloaded from
internet (Regular Expression implementation). I compile both my code
and the library with mingw gcc 4.4.3 with no problem. When I try to
link the library with my app `ld' complains about undefined references
to `__gxx_personality_sj0' , `std::allocator<char>
>::basic_string(std::string const&)',  `_Unwind_SjLj_Unregister' and
some others. The error messages are many (probably hundreds).
According to what I have found in the Internet these errors come when
attempting to link object files compiled with different versions of
gcc. But I compiled them with only one and I used the `ld' that comes
with mingw.

Reply via email to