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] | |
Sal> I finally figured the problem out. I rebuilt the SWT OpenGL dll with Sal> mingw32, for some reason Sun's VM loads mangled names in JNI dlls and Sal> GCJ doesn't.
That is strange, since we have special Windows code in our JNI implementation to do the mangling. That is, if you mean mangling like appending "@NNN" to the function name. Can you describe more what is going wrong? What you expected, what the symbol names are, and what they are after you recompiled?
Maybe there's a bug in our code. If so that could even be a regression... what version are you using again?
Exception in thread "main" java.lang.UnsatisfiedLinkError: gluPerspective at 0x00651f8e (Unknown Source) at 0x00651962 (Unknown Source) at 0x006528d4 (Unknown Source) at 0x006962e4 (Unknown Source) [... etc ...]
'mingw32 enhanced' DLL:
261 104 00007EF9 Java_org_eclipse_swt_opengl_GL_glPushClientAttrib
262 105 00007F11 Java_org_eclipse_swt_opengl_GL_glPushMatrix
263 106 00007F20 Java_org_eclipse_swt_opengl_GL_glPushName
264 107 00007F38 Java_org_eclipse_swt_opengl_GL_glRasterPos2d
265 108 00007F57 Java_org_eclipse_swt_opengl_GL_glRasterPos2dv| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |