android / ndk

The Android Native Development Kit
2k stars 257 forks source link

[question] version-script failure #1157

Closed kakyoism closed 4 years ago

kakyoism commented 4 years ago

I'm building an autotool-based project against NDK for arm64 on macOS. The NDK is the builtin bundle of Android Studio 3.5.3.

But although I did my best to follow the guide, I still got a few problems in the config.log. I'd appreciate it if anyone could help:

Problem 1

configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -V >&5
clang++: error: argument to '-V' is missing (expected 1 value)
clang++: error: no input files
configure:5511: $? = 1
configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -qversion >&5
clang++: error: unknown argument '-qversion', did you mean '--version'?
clang++: error: no input files
configure:5511: $? = 1

Problem 2

configure:8600: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar cru libconftest.a @conftest.lst >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar: conftest.o: No such file or directory
configure:8603: $? = 1
configure:8615: result: @

Problem 3

configure:18684: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  -Wl,--version-script,conftest.map conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld:conftest.map:3: syntax error in VERSION script
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Problem 4

configure:19775: checking whether the C++ compiler works
configure:19791: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.cpp -lc -lgcc -ldl -stdlib=libc++  >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: warning: libc.so, needed by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so, not found (try using -rpath or -rpath-link)
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: warning: libdl.so, needed by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so, not found (try using -rpath or -rpath-link)
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoll_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__sF@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `freelocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memchr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_unlock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strcoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswxdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstol@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_signal@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_trylock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_timedwait@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `malloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_equal@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `syslog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtold_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `uselocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstof@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `read@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__ctype_get_mb_cur_max@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_key_create@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbsnrtowcs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__errno@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__cxa_finalize@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoull@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `android_set_abort_message@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_init@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_lock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswprint@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `abort@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcsnrtombs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__stack_chk_fail@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `open@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_self@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `localeconv@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtold@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbrlen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strxfrm@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sched_yield@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbrtowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswcntrl@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vasprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcsxfrm@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `calloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `realloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `close@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoul@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `swprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtod@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_detach@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoul@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcrtomb@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstold@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sscanf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `closelog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sysconf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `isupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `setlocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_getspecific@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vsscanf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswblank@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strlen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `islower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vsnprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__cxa_atexit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_wait@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `towlower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtof@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcscoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswalpha@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemchr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_once@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `getc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `towupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `newlocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `snprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `nanosleep@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fputc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memcpy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswpunct@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_settype@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memset@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vfprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtol@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strerror_r@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `isxdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fwrite@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemcpy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wctob@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `free@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `openlog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_broadcast@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `dl_iterate_phdr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strftime@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoull@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `posix_memalign@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemset@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbsrtowcs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstod@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `clock_gettime@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoull_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswlower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbtowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_init@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_setspecific@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fflush@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memmove@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemmove@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `btowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcslen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `toupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `tolower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_join@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `ungetc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswspace@LIBC'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
configure:19791: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:19800: result: no
configure:19804: error: Unable to find a working C++ compiler

Am I missing flags or simply hitting wrong toolchain?

Here is the complete config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by zeromq configure 4.3.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure CPP=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E CC=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang CXX=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ LD=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld AS=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-as AR=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar RANLIB=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib CFLAGS=--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  CPPFLAGS=--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  CXXFLAGS=--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  LDFLAGS=-L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  LIBS=-lc -lgcc -ldl -stdlib=libc++  PKG_CONFIG_LIBDIR=/Applications/Android/sdk/ndk-bundle/prebuilt/linux-x86_64/lib/pkgconfig PKG_CONFIG_PATH=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/pkgconfig PKG_CONFIG_SYSROOT_DIR=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot PKG_CONFIG_DIR= --with-sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --host=aarch64-linux-android --prefix=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr --disable-curve --without-docs

## --------- ##
## Platform. ##
## --------- ##

hostname = BEINANLI-MC0
uname -m = x86_64
uname -r = 18.7.0
uname -s = Darwin
uname -v = Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
     Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64
Kernel configured for up to 8 processors.
4 processors are physically available.
8 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3 4 5 6 7
Primary memory available: 16.00 gigabytes
Default processor set: 554 tasks, 3049 threads, 8 processors
Load average: 3.65, Mach factor: 4.34
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Applications/Android/sdk/ndk-bundle
PATH: /Applications/Android/sdk/platform-tools
PATH: /Applications/Android/sdk/tools
PATH: /Applications/Android/sdk/tools/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /Applications/flutter/bin
PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2970: checking for a BSD-compatible install
configure:3038: result: /usr/bin/install -c
configure:3049: checking whether build environment is sane
configure:3104: result: yes
configure:3163: checking for aarch64-linux-android-strip
configure:3193: result: no
configure:3203: checking for strip
configure:3219: found /usr/bin/strip
configure:3230: result: strip
configure:3255: checking for a thread-safe mkdir -p
configure:3294: result: config/install-sh -c -d
configure:3301: checking for gawk
configure:3331: result: no
configure:3301: checking for mawk
configure:3331: result: no
configure:3301: checking for nawk
configure:3331: result: no
configure:3301: checking for awk
configure:3317: found /usr/bin/awk
configure:3328: result: awk
configure:3339: checking whether make sets $(MAKE)
configure:3361: result: yes
configure:3390: checking whether make supports nested variables
configure:3407: result: yes
configure:3496: checking whether UID '501' is supported by ustar format
configure:3499: result: yes
configure:3506: checking whether GID '20' is supported by ustar format
configure:3509: result: yes
configure:3517: checking how to create a ustar tar archive
configure:3528: tar --version
bsdtar 2.8.3 - libarchive 2.8.3
configure:3531: $? = 0
configure:3571: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3574: $? = 0
configure:3578: tar -xf - <conftest.tar
configure:3581: $? = 0
configure:3583: cat conftest.dir/file
GrepMe
configure:3586: $? = 0
configure:3599: result: gnutar
configure:4062: checking whether make supports nested variables
configure:4079: result: yes
configure:4136: checking for aarch64-linux-android-gcc
configure:4163: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang
configure:4432: checking for C compiler version
configure:4441: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang --version >&5
Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
Target: aarch64-unknown-linux-android26
Thread model: posix
InstalledDir: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
configure:4452: $? = 0
configure:4441: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -v >&5
Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
Target: aarch64-unknown-linux-android26
Thread model: posix
InstalledDir: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
clang: warning: argument unused during compilation: '-fno-addrsig' [-Wunused-command-line-argument]
configure:4452: $? = 0
configure:4441: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4452: $? = 1
configure:4441: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -qversion >&5
clang: error: unknown argument '-qversion', did you mean '--version'?
clang: error: no input files
configure:4452: $? = 1
configure:4472: checking whether the C compiler works
configure:4494: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:4498: $? = 0
configure:4546: result: yes
configure:4549: checking for C compiler default output file name
configure:4551: result: a.out
configure:4557: checking for suffix of executables
configure:4564: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:4568: $? = 0
configure:4590: result: 
configure:4612: checking whether we are cross compiling
configure:4620: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:4624: $? = 0
configure:4631: ./conftest
./configure: line 4633: ./conftest: cannot execute binary file
configure:4635: $? = 126
configure:4650: result: yes
configure:4655: checking for suffix of object files
configure:4677: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:4681: $? = 0
configure:4702: result: o
configure:4706: checking whether we are using the GNU C compiler
configure:4725: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:4725: $? = 0
configure:4734: result: yes
configure:4743: checking whether /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang accepts -g
configure:4763: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c -g --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:4763: $? = 0
configure:4804: result: yes
configure:4821: checking for /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang option to accept ISO C89
configure:4884: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang  -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:4884: $? = 0
configure:4897: result: none needed
configure:4922: checking whether /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang understands -c and -o together
configure:4944: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c conftest.c -o conftest2.o
configure:4947: $? = 0
configure:4944: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c conftest.c -o conftest2.o
configure:4947: $? = 0
configure:4959: result: yes
configure:4979: checking whether make supports the include directive
configure:4994: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4997: $? = 0
configure:5016: result: yes (GNU style)
configure:5041: checking dependency style of /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang
configure:5152: result: gcc3
configure:5168: checking whether C compiler accepts -std=gnu11
configure:5187: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot   -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:5187: $? = 0
configure:5195: result: yes
configure:5491: checking for C++ compiler version
configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ --version >&5
Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
Target: aarch64-unknown-linux-android26
Thread model: posix
InstalledDir: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
configure:5511: $? = 0
configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -v >&5
Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
Target: aarch64-unknown-linux-android26
Thread model: posix
InstalledDir: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin
Found candidate GCC installation: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
clang++: warning: argument unused during compilation: '-fno-addrsig' [-Wunused-command-line-argument]
configure:5511: $? = 0
configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -V >&5
clang++: error: argument to '-V' is missing (expected 1 value)
clang++: error: no input files
configure:5511: $? = 1
configure:5500: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -qversion >&5
clang++: error: unknown argument '-qversion', did you mean '--version'?
clang++: error: no input files
configure:5511: $? = 1
configure:5515: checking whether we are using the GNU C++ compiler
configure:5534: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp >&5
configure:5534: $? = 0
configure:5543: result: yes
configure:5552: checking whether /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ accepts -g
configure:5572: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c -g --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp >&5
configure:5572: $? = 0
configure:5613: result: yes
configure:5638: checking dependency style of /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++
configure:5749: result: gcc3
configure:5764: checking for a sed that does not truncate output
configure:5828: result: /usr/bin/sed
configure:5846: checking whether to build with code coverage support
configure:5866: result: no
configure:6204: checking for a sed that does not truncate output
configure:6268: result: /usr/bin/sed
configure:6277: checking for gawk
configure:6304: result: awk
configure:6326: checking for aarch64-linux-android-pkg-config
configure:6359: result: no
configure:6369: checking for pkg-config
configure:6387: found /usr/local/bin/pkg-config
configure:6399: result: /usr/local/bin/pkg-config
configure:6411: WARNING: using cross tools not prefixed with host triplet
configure:6424: checking pkg-config is at least version 0.9.0
configure:6427: result: yes
configure:6441: checking for xmlto
configure:6474: result: no
configure:6482: checking for asciidoc
configure:6515: result: no
configure:6524: checking build system type
configure:6538: result: x86_64-apple-darwin18.7.0
configure:6558: checking host system type
configure:6571: result: aarch64-unknown-linux-android
configure:7012: checking how to print strings
configure:7039: result: printf
configure:7060: checking for a sed that does not truncate output
configure:7124: result: /usr/bin/sed
configure:7142: checking for grep that handles long lines and -e
configure:7200: result: /usr/bin/grep
configure:7205: checking for egrep
configure:7267: result: /usr/bin/grep -E
configure:7272: checking for fgrep
configure:7334: result: /usr/bin/grep -F
configure:7369: checking for ld used by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang
configure:7436: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld
configure:7443: checking if the linker (/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld) is GNU ld
configure:7458: result: yes
configure:7470: checking for BSD- or MS-compatible name lister (nm)
configure:7524: result: no
configure:7538: checking for aarch64-linux-android-dumpbin
configure:7568: result: no
configure:7538: checking for aarch64-linux-android-link
configure:7568: result: no
configure:7582: checking for dumpbin
configure:7612: result: no
configure:7582: checking for link
configure:7598: found /bin/link
configure:7609: result: link -dump
configure:7654: checking the name lister (nm) interface
configure:7661: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:7664: nm "conftest.o"
configure:7667: output
0000000000000000 b $d.0
0000000000000000 n $d.1
0000000000000000 B some_variable
configure:7674: result: BSD nm
configure:7677: checking whether ln -s works
configure:7681: result: yes
configure:7689: checking the maximum length of command line arguments
configure:7820: result: 196608
configure:7868: checking how to convert x86_64-apple-darwin18.7.0 file names to aarch64-unknown-linux-android format
configure:7908: result: func_convert_file_noop
configure:7915: checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format
configure:7935: result: func_convert_file_noop
configure:7942: checking for /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld option to reload object files
configure:7949: result: -r
configure:7983: checking for aarch64-linux-android-objdump
configure:8010: result: objdump
configure:8079: checking how to recognize dependent libraries
configure:8279: result: pass_all
configure:8324: checking for aarch64-linux-android-dlltool
configure:8351: result: dlltool
configure:8421: checking how to associate runtime and link libraries
configure:8448: result: printf %s\n
configure:8464: checking for aarch64-linux-android-ar
configure:8491: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar
configure:8572: checking for archiver @FILE support
configure:8589: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:8589: $? = 0
configure:8592: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar cru libconftest.a @conftest.lst >&5
configure:8595: $? = 0
configure:8600: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar cru libconftest.a @conftest.lst >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar: conftest.o: No such file or directory
configure:8603: $? = 1
configure:8615: result: @
configure:8633: checking for aarch64-linux-android-strip
configure:8660: result: strip
configure:8732: checking for aarch64-linux-android-ranlib
configure:8759: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib
configure:8901: checking command to parse nm output from /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang object
configure:9054: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:9057: $? = 0
configure:9061: nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:9064: $? = 0
configure:9130: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.c conftstm.o >&5
configure:9133: $? = 0
configure:9171: result: ok
configure:9218: checking for sysroot
configure:9248: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot
configure:9255: checking for a working dd
configure:9293: result: /bin/dd
configure:9297: checking how to truncate binary pipes
configure:9312: result: /bin/dd bs=4096 count=1
configure:9601: checking for aarch64-linux-android-mt
configure:9631: result: no
configure:9641: checking for mt
configure:9671: result: no
configure:9691: checking if : is a manifest tool
configure:9697: : '-?'
configure:9705: result: no
configure:10382: checking how to run the C preprocessor
configure:10452: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E
configure:10472: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c
configure:10472: $? = 0
configure:10486: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:10486: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:10515: checking for ANSI C header files
configure:10535: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10535: $? = 0
configure:10619: result: yes
configure:10632: checking for sys/types.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for sys/stat.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for stdlib.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for string.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for memory.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for strings.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for inttypes.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for stdint.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10632: checking for unistd.h
configure:10632: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10632: $? = 0
configure:10632: result: yes
configure:10646: checking for dlfcn.h
configure:10646: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:10646: $? = 0
configure:10646: result: yes
configure:10881: checking for objdir
configure:10896: result: .libs
configure:11160: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang supports -fno-rtti -fno-exceptions
configure:11178: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -fno-rtti -fno-exceptions conftest.c >&5
configure:11182: $? = 0
configure:11195: result: yes
configure:11553: checking for /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang option to produce PIC
configure:11560: result: -fPIC -DPIC
configure:11568: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang PIC flag -fPIC -DPIC works
configure:11586: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -fPIC -DPIC -DPIC conftest.c >&5
configure:11590: $? = 0
configure:11603: result: yes
configure:11632: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang static flag -static works
configure:11660: result: yes
configure:11675: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang supports -c -o file.o
configure:11696: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -o out/conftest2.o conftest.c >&5
configure:11700: $? = 0
configure:11722: result: yes
configure:11730: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang supports -c -o file.o
configure:11777: result: yes
configure:11810: checking whether the /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang linker (/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld) supports shared libraries
configure:13069: result: yes
configure:13106: checking whether -lc should be explicitly linked in
configure:13114: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:13117: $? = 0
configure:13132: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:13135: $? = 0
configure:13149: result: no
configure:13309: checking dynamic linker characteristics
configure:14127: result: Android linker
configure:14249: checking how to hardcode library paths into programs
configure:14274: result: immediate
configure:14822: checking whether stripping libraries is possible
configure:14844: result: no
configure:14862: checking if libtool supports shared libraries
configure:14864: result: yes
configure:14867: checking whether to build shared libraries
configure:14892: result: yes
configure:14895: checking whether to build static libraries
configure:14899: result: yes
configure:14922: checking how to run the C++ preprocessor
configure:14949: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp
configure:14949: $? = 0
configure:14963: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:14963: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:14988: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E
configure:15008: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp
configure:15008: $? = 0
configure:15022: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp
conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:15022: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:15184: checking for ld used by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++
configure:15251: result: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld
configure:15258: checking if the linker (/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld) is GNU ld
configure:15273: result: yes
configure:15328: checking whether the /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ linker (/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld) supports shared libraries
configure:16401: result: yes
configure:16437: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp >&5
configure:16440: $? = 0
configure:16921: checking for /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ option to produce PIC
configure:16928: result: -fPIC -DPIC
configure:16936: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ PIC flag -fPIC -DPIC works
configure:16954: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:16958: $? = 0
configure:16971: result: yes
configure:16994: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ static flag -static works
configure:17022: result: yes
configure:17034: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ supports -c -o file.o
configure:17055: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -o out/conftest2.o conftest.cpp >&5
configure:17059: $? = 0
configure:17081: result: yes
configure:17086: checking if /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ supports -c -o file.o
configure:17133: result: yes
configure:17163: checking whether the /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ linker (/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld) supports shared libraries
configure:17203: result: yes
configure:17344: checking dynamic linker characteristics
configure:18089: result: Android linker
configure:18154: checking how to hardcode library paths into programs
configure:18179: result: immediate
configure:18254: checking for valgrind
configure:18284: result: no
configure:18561: checking linker version script flag
configure:18594: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  -Wl,--version-script,conftest.map conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:18594: $? = 0
configure:18684: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  -Wl,--version-script,conftest.map conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld:conftest.map:3: syntax error in VERSION script
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:18684: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| int show, hide;
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:18702: result: --version-script
configure:18709: checking if version scripts can use complex wildcards
configure:18742: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  -Wl,--version-script,conftest.map conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:18742: $? = 0
configure:18759: result: yes
configure:18807: checking for working posix_memalign
configure:18841: result: no
configure:18946: checking whether /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ supports C++11 features by default
configure:19240: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.cpp >&5
configure:19240: $? = 0
configure:19247: result: yes
configure:19611: checking whether the C compiler works
configure:19627: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.c -lc -lgcc -ldl -stdlib=libc++  >&5
configure:19627: $? = 0
configure:19636: result: yes
configure:19644: checking whether we are using Intel C compiler
configure:19663: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
conftest.c:29:8: error: use of undeclared identifier 'error'
       error if not ICC
       ^
1 error generated.
configure:19663: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __INTEL_COMPILER
|        error if not ICC
| #endif
| 
|   ;
|   return 0;
| }
configure:19671: result: no
configure:19673: checking whether we are using Sun Studio C compiler
configure:19692: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
conftest.c:29:8: error: use of undeclared identifier 'error'
       error if not sun studio
       ^
1 error generated.
configure:19692: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #if !defined(__SUNPRO_CC) && !defined(__SUNPRO_C)
|        error if not sun studio
| #endif
| 
|   ;
|   return 0;
| }
configure:19700: result: no
configure:19702: checking whether we are using clang C compiler
configure:19721: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:19721: $? = 0
configure:19729: result: yes
configure:19731: checking whether we are using gcc >= 4 C compiler
configure:19750: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -c --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11 --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  conftest.c >&5
configure:19750: $? = 0
configure:19758: result: yes
configure:19775: checking whether the C++ compiler works
configure:19791: /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -o conftest --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  --sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include  -L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android  conftest.cpp -lc -lgcc -ldl -stdlib=libc++  >&5
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: warning: libc.so, needed by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so, not found (try using -rpath or -rpath-link)
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: warning: libdl.so, needed by /Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so, not found (try using -rpath or -rpath-link)
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoll_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__sF@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `freelocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memchr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_unlock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strcoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswxdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstol@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_signal@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_trylock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_timedwait@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `malloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_equal@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `syslog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtold_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `uselocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstof@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `read@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__ctype_get_mb_cur_max@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_key_create@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbsnrtowcs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__errno@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__cxa_finalize@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoull@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `android_set_abort_message@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_init@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_lock@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswprint@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `abort@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcsnrtombs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__stack_chk_fail@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `open@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_self@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `localeconv@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtold@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbrlen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strxfrm@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sched_yield@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbrtowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswcntrl@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vasprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcsxfrm@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `calloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `realloc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `close@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoul@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `swprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtod@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_detach@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoul@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcrtomb@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstold@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sscanf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `closelog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `sysconf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `isupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `setlocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_getspecific@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vsscanf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswblank@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strlen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `islower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vsnprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `__cxa_atexit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_wait@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `towlower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtof@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcscoll@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswalpha@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemchr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_once@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `getc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `towupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `newlocale@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `snprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `nanosleep@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fputc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memcpy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswpunct@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_settype@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memset@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `vfprintf@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtol@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strerror_r@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `isxdigit@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fwrite@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemcpy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wctob@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `free@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `openlog@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_cond_broadcast@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `dl_iterate_phdr@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strftime@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoull@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `posix_memalign@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemset@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbsrtowcs@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutexattr_destroy@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcstod@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `clock_gettime@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `strtoull_l@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswlower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `mbtowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_mutex_init@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_setspecific@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `fflush@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `memmove@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemmove@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `btowc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wcslen@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `toupper@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `wmemcmp@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `tolower@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `pthread_join@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `ungetc@LIBC'
/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/aarch64-linux-android/libc++_shared.so: undefined reference to `iswspace@LIBC'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
configure:19791: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zeromq"
| #define PACKAGE_TARNAME "zeromq"
| #define PACKAGE_VERSION "4.3.2"
| #define PACKAGE_STRING "zeromq 4.3.2"
| #define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
| #define PACKAGE_URL ""
| #define PACKAGE "zeromq"
| #define VERSION "4.3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_CXX11 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:19800: result: no
configure:19804: error: Unable to find a working C++ compiler

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-apple-darwin18.7.0
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_ASCIIDOC_set=
ac_cv_env_ASCIIDOC_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include '
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E'
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot '
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android '
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-lc -lgcc -ldl -stdlib=libc++ '
ac_cv_env_LIBUNWIND_CFLAGS_set=
ac_cv_env_LIBUNWIND_CFLAGS_value=
ac_cv_env_LIBUNWIND_LIBS_set=
ac_cv_env_LIBUNWIND_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=set
ac_cv_env_PKG_CONFIG_LIBDIR_value=/Applications/Android/sdk/ndk-bundle/prebuilt/linux-x86_64/lib/pkgconfig
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMLTO_set=
ac_cv_env_XMLTO_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_gssapi_krb5_CFLAGS_set=
ac_cv_env_gssapi_krb5_CFLAGS_value=
ac_cv_env_gssapi_krb5_LIBS_set=
ac_cv_env_gssapi_krb5_LIBS_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=aarch64-linux-android
ac_cv_env_norm_CFLAGS_set=
ac_cv_env_norm_CFLAGS_value=
ac_cv_env_norm_LIBS_set=
ac_cv_env_norm_LIBS_value=
ac_cv_env_pgm_CFLAGS_set=
ac_cv_env_pgm_CFLAGS_value=
ac_cv_env_pgm_LIBS_set=
ac_cv_env_pgm_LIBS_value=
ac_cv_env_sodium_CFLAGS_set=
ac_cv_env_sodium_CFLAGS_value=
ac_cv_env_sodium_LIBS_set=
ac_cv_env_sodium_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=aarch64-unknown-linux-android
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_prog_AR=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar
ac_cv_prog_AWK=awk
ac_cv_prog_CC=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang
ac_cv_prog_CPP='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E'
ac_cv_prog_CXXCPP='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E'
ac_cv_prog_DLLTOOL=dlltool
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_DUMPBIN='link -dump'
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
am_cv_prog_tar_ustar=gnutar
ax_cv_check_cflags___std_gnu11=yes
ax_cv_check_vscript_complex_wildcards=yes
ax_cv_check_vscript_flag=--version-script
ax_cv_cxx_compile_cxx11=yes
ax_cv_func_posix_memalign_works=no
libzmq_cv_c_clang_compiler=yes
libzmq_cv_c_compiler_works=yes
libzmq_cv_c_gcc4_compiler=yes
libzmq_cv_c_intel_compiler=no
libzmq_cv_c_sun_studio_compiler=no
libzmq_cv_cxx_compiler_works=no
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld
lt_cv_path_LDCXX=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld
lt_cv_path_NM=no
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=yes
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[   ]\([BCDEGRST][BCDEGRST]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'

## ----------------- ##
## Output variables. ##
## ----------------- ##

            $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-tool VALGRIND_TOOL=$(tool); \
        $(if $(VALGRIND_HAVE_TOOL_$(tool))$(VALGRIND_HAVE_TOOL_exp_$(tool)), \
        ) \
        LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
        LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
        LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
        LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
        LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
        LOG_FLAGS="$(valgrind_$(VALGRIND_TOOL)_flags)" \
        LOG_FLAGS="$(valgrind_drd_flags)" \
        LOG_FLAGS="$(valgrind_helgrind_flags)" \
        LOG_FLAGS="$(valgrind_memcheck_flags)" \
        LOG_FLAGS="$(valgrind_sgcheck_flags)" \
        TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
        TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
        TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
        TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
        TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
        TEST_SUITE_LOG=test-suite-$(VALGRIND_TOOL).log
        TEST_SUITE_LOG=test-suite-drd.log
        TEST_SUITE_LOG=test-suite-helgrind.log
        TEST_SUITE_LOG=test-suite-memcheck.log
        TEST_SUITE_LOG=test-suite-sgcheck.log
    $(MAKE) check-TESTS \
    $(MAKE) check-TESTS \
    $(MAKE) check-TESTS \
    $(MAKE) check-TESTS \
    $(MAKE) check-TESTS \
    $(TESTS_ENVIRONMENT) \
    $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
    $(valgrind_lt) \
    )
    -$(foreach tool,$(valgrind_tools), \
    @echo "Need to reconfigure with --enable-code-coverage"
    @echo "Need to reconfigure with --enable-code-coverage"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    @echo "Need to reconfigure with --enable-valgrind"
    G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
    G_SLICE=always-malloc,debug-blocks \
    env VALGRIND=$(VALGRIND) \
 $(CODE_COVERAGE_IGNORE_PATTERN);
 $(CODE_COVERAGE_OUTPUT_FILE);
#
#
#
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
#    (Default: $(top_builddir))
#    (Default: --num-callers=30)
#    (Default: empty)
#    Multiple directories may be specified, separated by whitespace.
#    by lcov for code coverage. (Default:
#    collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
#    files to load. (Default: empty)
#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
#    lcov instance. (Default: empty)
#    memcheck, helgrind, drd, sgcheck). (Default: various)
#    reports to be created. (Default:
#    set to 0 to disable it and leave empty to stay with the default.
#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
#  - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
#  - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
#  - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
# $(PACKAGE_VERSION). In order to add the current git hash to the title,
# Capture code coverage data
# Code coverage
# Hook rule executed before code-coverage-capture, overridable by the user
# Internal use
# Optional variables
# Optional variables
# Optional:
# Optional:
# Support running with and without libtool.
# The generated report will be titled using the $(PACKAGE_NAME) and
# Use recursive makes in order to ignore errors during check
# Use recursive makes in order to ignore errors during check
# Valgrind check
# Valgrind running
# sanitizes the test-name: replaces with underscores: dashes and dots
# use the git-version-gen script, available online.
$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
'
'
--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
.PHONY: check-valgrind check-valgrind-tool
ACLOCAL='${SHELL} /tmp/android_build/llvm/libzmq/config/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AM_DISTCHECK_CONFIGURE_FLAGS ?=
AM_V='$(V)'
AR='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ar'
AS='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-as'
ASCIIDOC=''
AUTOCONF='${SHELL} /tmp/android_build/llvm/libzmq/config/missing autoconf'
AUTOHEADER='${SHELL} /tmp/android_build/llvm/libzmq/config/missing autoheader'
AUTOMAKE='${SHELL} /tmp/android_build/llvm/libzmq/config/missing automake-1.16'
AWK='awk'
BUILD_DOC_FALSE=''
BUILD_DOC_TRUE=''
BUILD_GSSAPI_FALSE=''
BUILD_GSSAPI_TRUE=''
BUILD_TIPC_FALSE=''
BUILD_TIPC_TRUE=''
CC='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang'
CCDEPMODE='depmode=gcc3'
CFLAGS='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot  -std=gnu11'
CLANG_FORMAT=''
CODE_COVERAGE_BRANCH_COVERAGE ?=
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_CPPFLAGS=''
CODE_COVERAGE_CXXFLAGS=''
CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
CODE_COVERAGE_ENABLED='no'
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE='#'
CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
CODE_COVERAGE_IGNORE_PATTERN ?=
CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_LIBS=''
CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
CODE_COVERAGE_RULES='
CPP='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang -E'
CPPFLAGS='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I/Applications/Android/sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include '
CXX='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++'
CXXCPP='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android26-clang++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='--sysroot=/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot '
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=':'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_ASAN_FALSE=''
ENABLE_ASAN_TRUE=''
ENABLE_CURVE_KEYGEN_FALSE=''
ENABLE_CURVE_KEYGEN_TRUE=''
ENABLE_DRAFTS_FALSE=''
ENABLE_DRAFTS_TRUE=''
ENABLE_PERF_FALSE=''
ENABLE_PERF_TRUE=''
ENABLE_RADIX_TREE_FALSE=''
ENABLE_RADIX_TREE_TRUE=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
FGREP='/usr/bin/grep -F'
GCOV=''
GENHTML=''
GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
GITIGNOREFILES ?=
GREP='/usr/bin/grep'
HAVE_CURVE_FALSE=''
HAVE_CURVE_TRUE=''
HAVE_CXX11='1'
HAVE_FORK_FALSE=''
HAVE_FORK_TRUE=''
HAVE_IPC_PEERCRED_FALSE=''
HAVE_IPC_PEERCRED_TRUE=''
HAVE_NORM_FALSE=''
HAVE_NORM_TRUE=''
HAVE_PGM_FALSE=''
HAVE_PGM_TRUE=''
HAVE_VMCI_FALSE=''
HAVE_VMCI_TRUE=''
HAVE_VSCRIPT_COMPLEX_FALSE='#'
HAVE_VSCRIPT_COMPLEX_TRUE=''
HAVE_VSCRIPT_FALSE='#'
HAVE_VSCRIPT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_MAN_FALSE=''
INSTALL_MAN_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LCOV=''
LD='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ld'
LDFLAGS='-L/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib -L/Applications/Android/sdk/ndk-bundle/sysroot/usr/lib/aarch64-linux-android '
LIBOBJS=''
LIBS='-lc -lgcc -ldl -stdlib=libc++ '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIBUNWIND_CFLAGS=''
LIBUNWIND_LIBS=''
LIBZMQ_EXTRA_CFLAGS=''
LIBZMQ_EXTRA_CXXFLAGS=''
LIBZMQ_EXTRA_LDFLAGS=''
LIBZMQ_VMCI_CXXFLAGS=''
LIBZMQ_VMCI_LDFLAGS=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LTVER='7:2:2'
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /tmp/android_build/llvm/libzmq/config/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='config/install-sh -c -d'
MOSTLYCLEANFILES += $(valgrind_log_files)
MOSTLYCLEANFILES ?=
NM='nm'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
ON_ANDROID_FALSE=''
ON_ANDROID_TRUE=''
ON_CYGWIN_FALSE=''
ON_CYGWIN_TRUE=''
ON_GNU_FALSE=''
ON_GNU_TRUE=''
ON_LINUX_FALSE=''
ON_LINUX_TRUE=''
ON_MINGW_FALSE=''
ON_MINGW_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='zeromq'
PACKAGE_BUGREPORT='zeromq-dev@lists.zeromq.org'
PACKAGE_NAME='zeromq'
PACKAGE_STRING='zeromq 4.3.2'
PACKAGE_TARNAME='zeromq'
PACKAGE_URL=''
PACKAGE_VERSION='4.3.2'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
PKG_CONFIG_LIBDIR='/Applications/Android/sdk/ndk-bundle/prebuilt/linux-x86_64/lib/pkgconfig'
PKG_CONFIG_PATH='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/lib/pkgconfig'
RANLIB='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/aarch64-linux-android-ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
USE_LIBSODIUM_FALSE=''
USE_LIBSODIUM_TRUE=''
USE_TWEETNACL_FALSE=''
USE_TWEETNACL_TRUE=''
USE_WEPOLL_FALSE=''
USE_WEPOLL_TRUE=''
VALGRIND=''
VALGRIND_CHECK_RULES='
VALGRIND_ENABLED='no'
VALGRIND_ENABLED_FALSE=''
VALGRIND_ENABLED_TRUE='#'
VALGRIND_FLAGS ?= --num-callers=30
VALGRIND_HAVE_TOOL_drd=''
VALGRIND_HAVE_TOOL_exp_sgcheck=''
VALGRIND_HAVE_TOOL_helgrind=''
VALGRIND_HAVE_TOOL_memcheck=''
VALGRIND_LOG_COMPILER = \
VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
VALGRIND_TESTS_ENVIRONMENT = \
VALGRIND_drd_FLAGS ?=
VALGRIND_helgrind_FLAGS ?= --history-level=approx
VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
VALGRIND_sgcheck_FLAGS ?=
VERSION='4.3.2'
VSCRIPT_LDFLAGS='-Wl,--version-script'
WITH_CLANG_FORMAT=''
WITH_CLANG_FORMAT_FALSE=''
WITH_CLANG_FORMAT_TRUE=''
XMLTO=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN='link -dump'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin18.7.0'
build_alias=''
build_cpu='x86_64'
build_os='darwin18.7.0'
build_vendor='apple'
check-code-coverage:
check-valgrind-drd:
check-valgrind-helgrind:
check-valgrind-memcheck:
check-valgrind-sgcheck:
check-valgrind-tool:
check-valgrind:
code-coverage-capture-hook:
code-coverage-capture: code-coverage-capture-hook
code_coverage_quiet = $(code_coverage_quiet_$(V))
code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
code_coverage_quiet_0 = --quiet
code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_genhtml_0 = @echo "  GEN   " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"\
code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"\
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
else
else
else
else
else
else
else
endif
endif
endif
endif
endif
endif
endif
exec_prefix='NONE'
gssapi_krb5_CFLAGS=''
gssapi_krb5_LIBS=''
host='aarch64-unknown-linux-android'
host_alias='aarch64-linux-android'
host_cpu='aarch64'
host_os='linux-android'
host_vendor='unknown'
htmldir='${docdir}'
ifeq ($(VALGRIND_ENABLED),yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifeq ($(VALGRIND_ENABLED),yes)
ifneq ($(LIBTOOL),)
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/android_build/llvm/libzmq/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libzmq_getconf=''
libzmq_have_asciidoc=''
libzmq_have_xmlto=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
norm_CFLAGS=''
norm_LIBS=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pgm_CFLAGS=''
pgm_LIBS=''
pkg_config_defines=''
pkg_config_libs_private=''
pkg_config_names_private=''
pkgconfigdir=''
prefix='/Applications/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sodium_CFLAGS=''
sodium_LIBS=''
sysconfdir='${prefix}/etc'
target_alias=''
valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
valgrind_lt =
valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
valgrind_quiet = $(valgrind_quiet_$(V))
valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
valgrind_quiet_0 = --quiet
valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
valgrind_tools = memcheck helgrind drd sgcheck

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "zeromq"
#define PACKAGE_TARNAME "zeromq"
#define PACKAGE_VERSION "4.3.2"
#define PACKAGE_STRING "zeromq 4.3.2"
#define PACKAGE_BUGREPORT "zeromq-dev@lists.zeromq.org"
#define PACKAGE_URL ""
#define PACKAGE "zeromq"
#define VERSION "4.3.2"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CXX11 1

configure: exit 1
enh-google commented 4 years ago

that's how configure works. it tries a bunch of things and -- based on what works and what doesn't -- guesses what your system looks like. some failures in the log are normal.

enh-google commented 4 years ago

note that zeromq has documentation and scripts for building on Android. you're probably better off there: https://github.com/zeromq/libzmq/tree/master/builds/android

kakyoism commented 4 years ago

note that zeromq has documentation and scripts for building on Android. you're probably better off there: https://github.com/zeromq/libzmq/tree/master/builds/android

Actually all my work is based on their build system which is outdated and does not support arm64. Seems I'm alone on this effort for now. I intend to fix the build script and send a pull request to them.