<div dir="ltr"><div>I found RTLD_NOLOAD in the headers for android-21 (Android 5.0) but not android-19, but I guess it's not available because of our low minSdkVersion. Anyway, it's not needed at all on Android so I got rid of it there.</div><div><br></div><div>While that fixed the Android libapplication.so compile, I'm not actually able to produce an .apk for testing. I got an error that android-30 isn't supported by my SDK. I tried going back to a previous commit where we used android-29 and got a javac error that java 1.5 isn't supported anymore. Guess I need to upgrade.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 20 Aug 2022 at 01:15, James Paige via Ohrrpgce <<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The android build VM was broken, but after I fixed it, looks like it is still having trouble compiling recently nightlyies</div><div><br></div><div><font size="-1">ni/../jni/application/ohrrpgce/tmp//os_unix.c: In function 'dylib_noload':<br>
jni/../jni/application/ohrrpgce/tmp//os_unix.c:237:42: error: 'RTLD_NOLOAD' undeclared (first use in this function)<br>
  void *ret = dlopen(libname, RTLD_LAZY | RTLD_NOLOAD);<br>
                                          ^<br>
jni/../jni/application/ohrrpgce/tmp//os_unix.c:237:42: note: each undeclared identifier is reported only once for each function it appears in<br>
/home/james/misc/android-ndk-r12b/build/core/<a href="http://build-binary.mk:472" rel="noreferrer" target="_blank">build-binary.mk:472</a>: recipe for target 'obj/local/armeabi/objs-debug/application/ohrrpgce/tmp//os_unix.o' failed<br>
make: *** [obj/local/armeabi/objs-debug/application/ohrrpgce/tmp//os_unix.o] Error 1<br>
Failed to build Android apk for arch 32</font></div></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>