gxx_personality_v0

  • I am working on a Java project that uses private embedded frameworks and
    JNI and universal binaries. My native code is in C++. I am using
    Xcode 2.2
    on an Intel Mac.

    My project is running correctly in the Deployment configuration. But
    when
    I try to run the app from the Finder, I see in the console that the app
    launched, but when it hit the loadLibrary() for my JNI, I got this
    message:

    resolveUndefined( ___gxx_personality_v0 ) (followed by a reference to
    my jnilib).

    My google search shows that this is usually solved by linking to stdc+
    + or by
    using g++ instead of gcc 4.0. Well, I don't see an option to use g++.
    I tried
    setting a linker flag of "-lstdc++" in both of my targets that use C+
    +, but
    it didn't fix the problem. What can I try?
    ======================================
    Ray Swartz
    X-Rite, Inc.
previous month december 2005 next month
MTWTFSS
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Go to today