[Ohrrpgce] Android build
Ralph Versteegen
teeemcee at gmail.com
Fri Aug 19 21:08:20 PDT 2022
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.
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.
On Sat, 20 Aug 2022 at 01:15, James Paige via Ohrrpgce <
ohrrpgce at lists.motherhamster.org> wrote:
> The android build VM was broken, but after I fixed it, looks like it is
> still having trouble compiling recently nightlyies
>
> ni/../jni/application/ohrrpgce/tmp//os_unix.c: In function 'dylib_noload':
> jni/../jni/application/ohrrpgce/tmp//os_unix.c:237:42: error:
> 'RTLD_NOLOAD' undeclared (first use in this function)
> void *ret = dlopen(libname, RTLD_LAZY | RTLD_NOLOAD);
> ^
> jni/../jni/application/ohrrpgce/tmp//os_unix.c:237:42: note: each
> undeclared identifier is reported only once for each function it appears in
> /home/james/misc/android-ndk-r12b/build/core/build-binary.mk:472: recipe
> for target
> 'obj/local/armeabi/objs-debug/application/ohrrpgce/tmp//os_unix.o' failed
> make: ***
> [obj/local/armeabi/objs-debug/application/ohrrpgce/tmp//os_unix.o] Error 1
> Failed to build Android apk for arch 32
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20220820/4587aea6/attachment.htm>
More information about the Ohrrpgce
mailing list