Open dexmagic opened 10 months ago
The Android support has been contributed by external contributors, so this is not something that we can help with. I'm putting the label "help wanted" on it to see if anyone else can help you out.
O.K. Thank you. I just now got AtomVM to build in Android Studio from source. So that's great! But I would still like help to understand why those symbols are missing from the linker and what the workaround might be.
Cheers.
Could you describe the steps you are using to cross-compile Erlang / OTP and your setup (NDK versions, etc.)?
I've been able to build OTP 26 for Android successfully following the Android-specific documentation from https://github.com/erlang/otp/blob/master/HOWTO/INSTALL-ANDROID.md
Describe the bug I'm trying to build OTP on Android. At a mimimum I need to build the BEAM vm so compiled Erlang code can be run. I've got a setup that will successfully compile BEAM, but the linker fails because these symbols are not defined.
To Reproduce Build BEAM on Android.
Expected behavior A successful build with just the VM in a library that can be linked into a native Android application.
Affected versions OTP 26.
Additional context
Here are the errors: I can't find these symbols in the code, so what should I do about those? Perhaps there's a workaround?