Control: tags -1 pending Am 31.12.18 um 06:13 schrieb Le Gall Guillaume: > Hello, > > > and thank you very much for your answer. > > > First, about OpenJDK 11, and "debian/patches/javah.patch". You are > absolutely right to point that out. Actually, I had missed that the > "javah" tool was removed since OpenJDK 10. Sorry for that. > > I was able to reproduce the same error as the one you showed with > OpenJDK 11. > If we take care of a few more C headers include and constant export, it > works. At least for me. > Maybe just a thing to note: the path to "libjawt.so" has changed between > 8 and 11, and we need to remove the "${os.arch}" part when giving that > path to GCC, in "platform_build/linux_ant/build.xml". > > Please find attached a new version of the patch I proposed, including > those modifications specific to OpenJDK 11. > Should you want to try it, please apply after everything else, including > "javah.patch". (but not the previous version I sent). > > Please let me know if this works for you, or maybe what you think about it.
Thank you for the updated patch. I have applied it and intend to upload a new revision shortly. However I noticed that something still seems to be wrong with linking libjawt.so. Your observation that we can remove the ${os.arch} part is correct. However our debhelper tool dh_shlibdeps is unable to link libjawt.so into liblwjgl.so. I have to explicitly set the LD_LIBRARY_PATH in debian/rules when I override dh_shlibdeps but then I still get a warning: dpkg-shlibdeps: warning: can't extract name and version from library name 'libjawt.so' ldd shows: ldd /usr/lib/jni/liblwjgl.so libjawt.so => not found That is strange to say the least. Let me know if the new version works for you, otherwise we have to dig deeper into this problem. > Then, about "OpenGL" and "OpenGL ES": from what I understand they are > two versions of the same thing. [...] Thanks for your explanation! Regards, Markus
signature.asc
Description: OpenPGP digital signature