This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I compiled the lastest GCJ from SVN head today, and when linking to my application that uses JNI invocation and worked well before, I recieved a "undefined symbols" error about _JNI_CreateJavaVM and _JNI_GetDefaultJavaVMInitArgs.
And indeed, these symbols seem not to be exported anymore, as this does not show any results:
nm /usr/local/lib/libgcj.7.0.0.dylib | grep _JNI_CreateJavaVM
Is this a mistake on my side, or did something change here in the meantime? I previously used gcc 4.1.1.
These functions are now defined in libjvm.so. This change was made to provide compatibility with JNI binaries built against other VMs.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |