newbie: undefined reference to __gxx_personality_v0



Hi,

I've got a very simple c-file (only one function which is actually just
a name wrapper):

--------------

#include <glib.h>
gchar*  test_f(gdouble dblValue,gchar *chrOut,gint intLength){
        g_ascii_dtostr(chrOut,intLength,dblValue);
        return chrOut;
}

--------------

With gcc it compiles ok but when I link it to my application I get the
following error in that file: undefined reference to
'__gxx_personality_v0'.

Two hints:
(1) The same file is compiled and linked allright with mingw32 on a MS
box.
(2) When I delete the function g_ascii_dtostr then I dont get that
error.

Thank You for any help.

Felix




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