UnsatisfiedLinkError (gxx and gcj) with JNI and C++ but not C
Andrew Richardson
a.chardson@gmail.com
Mon Feb 28 15:19:00 GMT 2011
> Hmm, let's see. When the error is about missing __gcc_personality_v0, you should link with -lgcc_s. For __gxx_personality_v0, -lstdc++. Let's try and guess where __gcj_personality_v0 might come from. -lgcj maybe?
>
> --
> Marc Glisse
You, sir, are a hero. Thanks sincerely. I've updated a post on StackOverflow to hopefully make this clearer to others.
Thanks again for your help, gents.
Andrew
More information about the Gcc-help
mailing list