Skip to content

Instantly share code, notes, and snippets.

@r10s
Created December 9, 2019 21:58
Show Gist options
  • Save r10s/3c620bddc01d8640e62287b966b10f93 to your computer and use it in GitHub Desktop.
Save r10s/3c620bddc01d8640e62287b966b10f93 to your computer and use it in GitHub Desktop.
Android NDK: WARNING: APP_PLATFORM android-18 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-18. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
[armeabi-v7a] SharedLibrary : libnative-utils.so
jni/armeabi-v7a/libdeltachat.a(hostname-0a8736a21f46cf36.hostname.9899jd1u-cgu.7.rcgu.o):hostname.9899jd1u-cgu.7:function hostname::nix::set::h1643adb87487a6f1: error: undefined reference to 'sethostname'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [obj/local/armeabi-v7a/libnative-utils.so] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment