pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
533 stars 248 forks source link

Problems with NDK 15b and iconv #75

Closed gerstrong closed 7 years ago

gerstrong commented 7 years ago

I tried to ./changeAppSettings -a after updating some data for Commander Genius and now I have issues with libiconv.

It seems that it tries using the clang compiler and fails because some system references are undefined. The config.log tells me something like:

configure:4159: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain /home/gerstrong/apps/android-$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:384: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:289: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:319: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:346: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:376: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:420: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:505: error: undefined reference to 'abort' clang: error: linker command failed with exit code 1 (use -v to see invocation)

pelya commented 7 years ago

Did you update iconv sources submodule? Please try to do git submodule update project/jni/iconv/src Which library failed to compile? There are libiconv, icu, icu-le-hb, and harfbuzz. Which architecture failed to compile? I will need full config.log file from the failed library, this short log does not show compiler command parameters. If you want a quick easy solution, here's an archive with these libraries compiled, simply unpack it to your SDL directory: https://sourceforge.net/projects/libsdl-android/files/tmp/prebuilt-libraries.tar.xz/download

On Sat, Jul 8, 2017 at 10:20 AM, Gerhard Stein notifications@github.com wrote:

I tried to ./changeAppSettings -a after updating some data for Commander Genius and now I have issues with libiconv.

It seems that it tries using the clang compiler and fails because some system references are undefined. The config.log tells me something like:

configure:4159: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain /home/gerstrong/apps/android-$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /home/gerstrong/apps/android-dev/android-ndk-r15b-linux- x86_64/build/toolchains/arm-linux-androideabi-4.9/ prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../a$ /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:384: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:289: error: undefined reference to 'abort' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:319: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:346: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:376: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:420: error: undefined reference to 'memcpy' /usr/local/google/buildbot/src/android/gcc/toolchain/ build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:505: error: undefined reference to 'abort' clang: error: linker command failed with exit code 1 (use -v to see invocation)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/75, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewA0NBJBNq3Wsa16YPpvlFzJMxypeks5sLy28gaJpZM4ORqUG .

gerstrong commented 7 years ago

Yes, I did, actually with "cd project/jni/iconv/src" and then "git pull". After that I went back and "git submodule update". Libiconv was the one that failed. Ahh architecture, I think it was ARM64. The first line is "configure:4159: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang" mentions clang. You are right, the information is insufficient. I will try to build it again and report back or close if I can solve it or I did something irritating.

Prebuilt libs is a nice idea, but I want to build it with the latest stuff of android.

gerstrong commented 7 years ago

I made the update still the same issue. I think we need to tell configure to use clang.


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

It was created by libiconv configure 1.15, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --host=arm-linux-androideabi --prefix=/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/.. --enable-static --enable-shared

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

hostname = gerhard-desktop
uname -m = x86_64
uname -r = 4.9.35-1-MANJARO
uname -s = Linux
uname -v = #1 SMP PREEMPT Fri Jun 30 06:42:12 UTC 2017

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
PATH: /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/lib/jvm/default/bin
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
PATH: /home/gerstrong/apps/android-dev/android-sdk-linux/
PATH: /home/gerstrong/apps/android-dev/android-sdk-linux/platform-tools/
PATH: /home/gerstrong/apps/android-dev/android-sdk-linux/tools/
PATH: /home/gerstrong/apps/android-dev/android-ndk/
PATH: /home/gerstrong/apps/android-dev/android-ndk/build
PATH: /home/gerstrong/apps/android-dev/android-sdk-linux/build-tools/25.0.0
PATH: /usr/lib/jvm/java-8-openjdk

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

configure:3195: checking for a BSD-compatible install
configure:3263: result: /usr/bin/install -c
configure:3274: checking whether build environment is sane
configure:3329: result: yes
configure:3388: checking for arm-linux-androideabi-strip
configure:3415: result: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
configure:3480: checking for a thread-safe mkdir -p
configure:3519: result: /usr/bin/mkdir -p
configure:3526: checking for gawk
configure:3542: found /usr/bin/gawk
configure:3553: result: gawk
configure:3564: checking whether make sets $(MAKE)
configure:3586: result: yes
configure:3615: checking whether make supports nested variables
configure:3632: result: yes
configure:3760: checking whether make sets $(MAKE)
configure:3782: result: yes
configure:3801: checking for arm-linux-androideabi-gcc
configure:3828: result: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
configure:4097: checking for C compiler version
configure:4106: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --version >&5
Android clang version 5.0.300080  (based on LLVM 5.0.300080)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin
configure:4117: $? = 0
configure:4106: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -v >&5
Android clang version 5.0.300080  (based on LLVM 5.0.300080)
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.1.1
Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.1.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
... rest of stderr output deleted ...
configure:4117: $? = 0
configure:4106: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4117: $? = 1
configure:4106: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:4117: $? = 1
configure:4137: checking whether the C compiler works
configure:4159: /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -mthumb -O2 -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=300 -DANDROID -Wall -Wno-unused -Wa,--noexecstack -Wformat -Werror=format-security -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../sdl-1.2/include   -I/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/android/support/include   --sysroot=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../../obj/local/armeabi  -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/lib -lc -lm -ldl -llog -lz -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lsupc++  -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi -landroid_support -lgcc -latomic -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi conftest.c  >&5
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lm
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llog
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lz
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lgnustl_static
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsupc++
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot open /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libandroid_support.a: No such file or directory
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lc
/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -ldl
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:378: error: undefined reference to 'abort'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/arm/pr-support.c:384: error: undefined reference to 'abort'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:289: error: undefined reference to 'abort'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:319: error: undefined reference to 'memcpy'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:346: error: undefined reference to 'memcpy'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:376: error: undefined reference to 'memcpy'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:420: error: undefined reference to 'memcpy'
/usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-arm-common.inc:505: error: undefined reference to 'abort'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4163: $? = 1
configure:4201: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libiconv"
| #define PACKAGE_TARNAME "libiconv"
| #define PACKAGE_VERSION "1.15"
| #define PACKAGE_STRING "libiconv 1.15"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libiconv"
| #define VERSION "1.15"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4206: error: in `/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15':
configure:4208: error: C compiler cannot create executables
See `config.log' for more details

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

ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -mthumb -O2 -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=300 -DANDROID -Wall -Wno-unused -Wa,--noexecstack -Wformat -Werror=format-security -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../sdl-1.2/include   -I/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/android/support/include'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -E -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -mthumb -O2 -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=300 -DANDROID -Wall -Wno-unused -Wa,--noexecstack -Wformat -Werror=format-security -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../sdl-1.2/include   -I/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/android/support/include'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' --sysroot=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../../obj/local/armeabi  -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/lib -lc -lm -ldl -llog -lz -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lsupc++  -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi -landroid_support -lgcc -latomic -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
ac_cv_prog_STRIP=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

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

ACLOCAL='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/missing aclocal-1.15'
ALLOCA=''
ALLOCA_H=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
APPLE_UNIVERSAL_BUILD=''
AR='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar'
ARFLAGS=''
AS='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-as'
ASM_SYMBOL_PREFIX=''
AUTOCONF='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/missing automake-1.15'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
BROKEN_WCHAR_H=''
CC='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang'
CCDEPMODE=''
CFLAGS='-gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -mthumb -O2 -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=300 -DANDROID -Wall -Wno-unused -Wa,--noexecstack -Wformat -Werror=format-security -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../sdl-1.2/include   -I/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/android/support/include'
CFLAG_VISIBILITY=''
CP=''
CPP='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -E -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -mthumb -O2 -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=300 -DANDROID -Wall -Wno-unused -Wa,--noexecstack -Wformat -Werror=format-security -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -isystem/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../sdl-1.2/include   -I/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/android/support/include'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DLL_VARIABLE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EILSEQ=''
EMULTIHOP_HIDDEN=''
EMULTIHOP_VALUE=''
ENOLINK_HIDDEN=''
ENOLINK_VALUE=''
EOVERFLOW_HIDDEN=''
EOVERFLOW_VALUE=''
ERRNO_H=''
EXEEXT=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE=''
GL_GENERATE_ALLOCA_H_FALSE=''
GL_GENERATE_ALLOCA_H_TRUE=''
GL_GENERATE_ERRNO_H_FALSE=''
GL_GENERATE_ERRNO_H_TRUE=''
GL_GENERATE_LIMITS_H_FALSE=''
GL_GENERATE_LIMITS_H_TRUE=''
GL_GENERATE_STDBOOL_H_FALSE=''
GL_GENERATE_STDBOOL_H_TRUE=''
GL_GENERATE_STDDEF_H_FALSE=''
GL_GENERATE_STDDEF_H_TRUE=''
GL_GENERATE_STDINT_H_FALSE=''
GL_GENERATE_STDINT_H_TRUE=''
GMSGFMT=''
GMSGFMT_015=''
GNULIB_ATOLL=''
GNULIB_CALLOC_POSIX=''
GNULIB_CANONICALIZE_FILE_NAME=''
GNULIB_CHDIR=''
GNULIB_CHOWN=''
GNULIB_CLOSE=''
GNULIB_DPRINTF=''
GNULIB_DUP2=''
GNULIB_DUP3=''
GNULIB_DUP=''
GNULIB_ENVIRON=''
GNULIB_EUIDACCESS=''
GNULIB_FACCESSAT=''
GNULIB_FCHDIR=''
GNULIB_FCHMODAT=''
GNULIB_FCHOWNAT=''
GNULIB_FCLOSE=''
GNULIB_FCNTL=''
GNULIB_FDATASYNC=''
GNULIB_FDOPEN=''
GNULIB_FFLUSH=''
GNULIB_FFSL=''
GNULIB_FFSLL=''
GNULIB_FGETC=''
GNULIB_FGETS=''
GNULIB_FOPEN=''
GNULIB_FPRINTF=''
GNULIB_FPRINTF_POSIX=''
GNULIB_FPURGE=''
GNULIB_FPUTC=''
GNULIB_FPUTS=''
GNULIB_FREAD=''
GNULIB_FREOPEN=''
GNULIB_FSCANF=''
GNULIB_FSEEK=''
GNULIB_FSEEKO=''
GNULIB_FSTAT=''
GNULIB_FSTATAT=''
GNULIB_FSYNC=''
GNULIB_FTELL=''
GNULIB_FTELLO=''
GNULIB_FTRUNCATE=''
GNULIB_FUTIMENS=''
GNULIB_FWRITE=''
GNULIB_GETC=''
GNULIB_GETCHAR=''
GNULIB_GETCWD=''
GNULIB_GETDELIM=''
GNULIB_GETDOMAINNAME=''
GNULIB_GETDTABLESIZE=''
GNULIB_GETGROUPS=''
GNULIB_GETHOSTNAME=''
GNULIB_GETLINE=''
GNULIB_GETLOADAVG=''
GNULIB_GETLOGIN=''
GNULIB_GETLOGIN_R=''
GNULIB_GETPAGESIZE=''
GNULIB_GETSUBOPT=''
GNULIB_GETTIMEOFDAY=''
GNULIB_GETUSERSHELL=''
GNULIB_GRANTPT=''
GNULIB_GROUP_MEMBER=''
GNULIB_ISATTY=''
GNULIB_LCHMOD=''
GNULIB_LCHOWN=''
GNULIB_LINK=''
GNULIB_LINKAT=''
GNULIB_LSEEK=''
GNULIB_LSTAT=''
GNULIB_MALLOC_POSIX=''
GNULIB_MBSCASECMP=''
GNULIB_MBSCASESTR=''
GNULIB_MBSCHR=''
GNULIB_MBSCSPN=''
GNULIB_MBSLEN=''
GNULIB_MBSNCASECMP=''
GNULIB_MBSNLEN=''
GNULIB_MBSPBRK=''
GNULIB_MBSPCASECMP=''
GNULIB_MBSRCHR=''
GNULIB_MBSSEP=''
GNULIB_MBSSPN=''
GNULIB_MBSSTR=''
GNULIB_MBSTOK_R=''
GNULIB_MBTOWC=''
GNULIB_MEMCHR=''
GNULIB_MEMMEM=''
GNULIB_MEMPCPY=''
GNULIB_MEMRCHR=''
GNULIB_MKDIRAT=''
GNULIB_MKDTEMP=''
GNULIB_MKFIFO=''
GNULIB_MKFIFOAT=''
GNULIB_MKNOD=''
GNULIB_MKNODAT=''
GNULIB_MKOSTEMP=''
GNULIB_MKOSTEMPS=''
GNULIB_MKSTEMP=''
GNULIB_MKSTEMPS=''
GNULIB_MKTIME=''
GNULIB_NANOSLEEP=''
GNULIB_NONBLOCKING=''
GNULIB_OBSTACK_PRINTF=''
GNULIB_OBSTACK_PRINTF_POSIX=''
GNULIB_OPEN=''
GNULIB_OPENAT=''
GNULIB_OVERRIDES_WINT_T=''
GNULIB_PCLOSE=''
GNULIB_PERROR=''
GNULIB_PIPE2=''
GNULIB_PIPE=''
GNULIB_POPEN=''
GNULIB_POSIX_OPENPT=''
GNULIB_PREAD=''
GNULIB_PRINTF=''
GNULIB_PRINTF_POSIX=''
GNULIB_PTHREAD_SIGMASK=''
GNULIB_PTSNAME=''
GNULIB_PTSNAME_R=''
GNULIB_PUTC=''
GNULIB_PUTCHAR=''
GNULIB_PUTENV=''
GNULIB_PUTS=''
GNULIB_PWRITE=''
GNULIB_QSORT_R=''
GNULIB_RAISE=''
GNULIB_RANDOM=''
GNULIB_RANDOM_R=''
GNULIB_RAWMEMCHR=''
GNULIB_READ=''
GNULIB_READLINK=''
GNULIB_READLINKAT=''
GNULIB_REALLOC_POSIX=''
GNULIB_REALPATH=''
GNULIB_REMOVE=''
GNULIB_RENAME=''
GNULIB_RENAMEAT=''
GNULIB_RMDIR=''
GNULIB_RPMATCH=''
GNULIB_SCANF=''
GNULIB_SECURE_GETENV=''
GNULIB_SETENV=''
GNULIB_SETHOSTNAME=''
GNULIB_SIGACTION=''
GNULIB_SIGNAL_H_SIGPIPE=''
GNULIB_SIGPROCMASK=''
GNULIB_SLEEP=''
GNULIB_SNPRINTF=''
GNULIB_SPRINTF_POSIX=''
GNULIB_STAT=''
GNULIB_STDIO_H_NONBLOCKING=''
GNULIB_STDIO_H_SIGPIPE=''
GNULIB_STPCPY=''
GNULIB_STPNCPY=''
GNULIB_STRCASESTR=''
GNULIB_STRCHRNUL=''
GNULIB_STRDUP=''
GNULIB_STRERROR=''
GNULIB_STRERROR_R=''
GNULIB_STRNCAT=''
GNULIB_STRNDUP=''
GNULIB_STRNLEN=''
GNULIB_STRPBRK=''
GNULIB_STRPTIME=''
GNULIB_STRSEP=''
GNULIB_STRSIGNAL=''
GNULIB_STRSTR=''
GNULIB_STRTOD=''
GNULIB_STRTOK_R=''
GNULIB_STRTOLL=''
GNULIB_STRTOULL=''
GNULIB_STRVERSCMP=''
GNULIB_SYMLINK=''
GNULIB_SYMLINKAT=''
GNULIB_SYSTEM_POSIX=''
GNULIB_TIMEGM=''
GNULIB_TIME_R=''
GNULIB_TIME_RZ=''
GNULIB_TMPFILE=''
GNULIB_TTYNAME_R=''
GNULIB_UNISTD_H_NONBLOCKING=''
GNULIB_UNISTD_H_SIGPIPE=''
GNULIB_UNLINK=''
GNULIB_UNLINKAT=''
GNULIB_UNLOCKPT=''
GNULIB_UNSETENV=''
GNULIB_USLEEP=''
GNULIB_UTIMENSAT=''
GNULIB_VASPRINTF=''
GNULIB_VDPRINTF=''
GNULIB_VFPRINTF=''
GNULIB_VFPRINTF_POSIX=''
GNULIB_VFSCANF=''
GNULIB_VPRINTF=''
GNULIB_VPRINTF_POSIX=''
GNULIB_VSCANF=''
GNULIB_VSNPRINTF=''
GNULIB_VSPRINTF_POSIX=''
GNULIB_WCTOMB=''
GNULIB_WRITE=''
GNULIB__EXIT=''
GREP=''
HAVE_ATOLL=''
HAVE_C99_STDINT_H=''
HAVE_CANONICALIZE_FILE_NAME=''
HAVE_CHOWN=''
HAVE_DECL_ENVIRON=''
HAVE_DECL_FCHDIR=''
HAVE_DECL_FDATASYNC=''
HAVE_DECL_FPURGE=''
HAVE_DECL_FSEEKO=''
HAVE_DECL_FTELLO=''
HAVE_DECL_GETDELIM=''
HAVE_DECL_GETDOMAINNAME=''
HAVE_DECL_GETLINE=''
HAVE_DECL_GETLOADAVG=''
HAVE_DECL_GETLOGIN=''
HAVE_DECL_GETLOGIN_R=''
HAVE_DECL_GETPAGESIZE=''
HAVE_DECL_GETUSERSHELL=''
HAVE_DECL_LOCALTIME_R=''
HAVE_DECL_MEMMEM=''
HAVE_DECL_MEMRCHR=''
HAVE_DECL_OBSTACK_PRINTF=''
HAVE_DECL_SETENV=''
HAVE_DECL_SETHOSTNAME=''
HAVE_DECL_SNPRINTF=''
HAVE_DECL_STRDUP=''
HAVE_DECL_STRERROR_R=''
HAVE_DECL_STRNDUP=''
HAVE_DECL_STRNLEN=''
HAVE_DECL_STRSIGNAL=''
HAVE_DECL_STRTOK_R=''
HAVE_DECL_TTYNAME_R=''
HAVE_DECL_UNSETENV=''
HAVE_DECL_VSNPRINTF=''
HAVE_DPRINTF=''
HAVE_DUP2=''
HAVE_DUP3=''
HAVE_EUIDACCESS=''
HAVE_FACCESSAT=''
HAVE_FCHDIR=''
HAVE_FCHMODAT=''
HAVE_FCHOWNAT=''
HAVE_FCNTL=''
HAVE_FDATASYNC=''
HAVE_FFSL=''
HAVE_FFSLL=''
HAVE_FSEEKO=''
HAVE_FSTATAT=''
HAVE_FSYNC=''
HAVE_FTELLO=''
HAVE_FTRUNCATE=''
HAVE_FUTIMENS=''
HAVE_GETDTABLESIZE=''
HAVE_GETGROUPS=''
HAVE_GETHOSTNAME=''
HAVE_GETLOGIN=''
HAVE_GETPAGESIZE=''
HAVE_GETSUBOPT=''
HAVE_GETTIMEOFDAY=''
HAVE_GRANTPT=''
HAVE_GROUP_MEMBER=''
HAVE_INTTYPES_H=''
HAVE_LCHMOD=''
HAVE_LCHOWN=''
HAVE_LINK=''
HAVE_LINKAT=''
HAVE_LONG_LONG_INT=''
HAVE_LSTAT=''
HAVE_MAX_ALIGN_T=''
HAVE_MBSLEN=''
HAVE_MEMCHR=''
HAVE_MEMPCPY=''
HAVE_MKDIRAT=''
HAVE_MKDTEMP=''
HAVE_MKFIFO=''
HAVE_MKFIFOAT=''
HAVE_MKNOD=''
HAVE_MKNODAT=''
HAVE_MKOSTEMP=''
HAVE_MKOSTEMPS=''
HAVE_MKSTEMP=''
HAVE_MKSTEMPS=''
HAVE_MSVC_INVALID_PARAMETER_HANDLER=''
HAVE_NANOSLEEP=''
HAVE_OPENAT=''
HAVE_OS_H=''
HAVE_PCLOSE=''
HAVE_PIPE2=''
HAVE_PIPE=''
HAVE_POPEN=''
HAVE_POSIX_OPENPT=''
HAVE_POSIX_SIGNALBLOCKING=''
HAVE_PREAD=''
HAVE_PTHREAD_SIGMASK=''
HAVE_PTSNAME=''
HAVE_PTSNAME_R=''
HAVE_PWRITE=''
HAVE_QSORT_R=''
HAVE_RAISE=''
HAVE_RANDOM=''
HAVE_RANDOM_H=''
HAVE_RANDOM_R=''
HAVE_RAWMEMCHR=''
HAVE_READLINK=''
HAVE_READLINKAT=''
HAVE_REALPATH=''
HAVE_RENAMEAT=''
HAVE_RPMATCH=''
HAVE_SECURE_GETENV=''
HAVE_SETENV=''
HAVE_SETHOSTNAME=''
HAVE_SIGACTION=''
HAVE_SIGHANDLER_T=''
HAVE_SIGINFO_T=''
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_SIGSET_T=''
HAVE_SLEEP=''
HAVE_STDINT_H=''
HAVE_STPCPY=''
HAVE_STPNCPY=''
HAVE_STRCASESTR=''
HAVE_STRCHRNUL=''
HAVE_STRPBRK=''
HAVE_STRPTIME=''
HAVE_STRSEP=''
HAVE_STRTOD=''
HAVE_STRTOLL=''
HAVE_STRTOULL=''
HAVE_STRUCT_RANDOM_DATA=''
HAVE_STRUCT_SIGACTION_SA_SIGACTION=''
HAVE_STRUCT_TIMEVAL=''
HAVE_STRVERSCMP=''
HAVE_SYMLINK=''
HAVE_SYMLINKAT=''
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_LOADAVG_H=''
HAVE_SYS_PARAM_H=''
HAVE_SYS_TIME_H=''
HAVE_SYS_TYPES_H=''
HAVE_TIMEGM=''
HAVE_TIMEZONE_T=''
HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=''
HAVE_UNISTD_H=''
HAVE_UNLINKAT=''
HAVE_UNLOCKPT=''
HAVE_UNSIGNED_LONG_LONG_INT=''
HAVE_USLEEP=''
HAVE_UTIMENSAT=''
HAVE_VASPRINTF=''
HAVE_VDPRINTF=''
HAVE_VISIBILITY=''
HAVE_WCHAR_H=''
HAVE_WCHAR_T=''
HAVE_WINSOCK2_H=''
HAVE__BOOL=''
HAVE__EXIT=''
ICONV_CONST=''
INCLUDE_NEXT=''
INCLUDE_NEXT_AS_FIRST_DIRECTIVE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_PROGRAM_ENV=''
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/llvm/prebuilt/linux-x86_64/bin/clang'
LDFLAGS=' --sysroot=/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/../../obj/local/armeabi  -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/platforms/android-14/arch-arm/usr/lib -lc -lm -ldl -llog -lz -L/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi -lgnustl_static -no-canonical-prefixes -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -lsupc++  -L/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi -landroid_support -lgcc -latomic -gcc-toolchain /home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -target armv5te-none-linux-androideabi'
LIBICONV=''
LIBICRT_LIBDEPS=''
LIBICRT_LTLIBDEPS=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE=''
LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE=''
LIBUNISTRING_UNITYPES_H=''
LIBUNISTRING_UNIWIDTH_H=''
LIMITS_H=''
LIPO=''
LN=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=''
NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=''
NEXT_AS_FIRST_DIRECTIVE_LIMITS_H=''
NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=''
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=''
NEXT_AS_FIRST_DIRECTIVE_STDINT_H=''
NEXT_AS_FIRST_DIRECTIVE_STDIO_H=''
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=''
NEXT_AS_FIRST_DIRECTIVE_STRING_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H=''
NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=''
NEXT_AS_FIRST_DIRECTIVE_TIME_H=''
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=''
NEXT_ERRNO_H=''
NEXT_FCNTL_H=''
NEXT_LIMITS_H=''
NEXT_SIGNAL_H=''
NEXT_STDDEF_H=''
NEXT_STDINT_H=''
NEXT_STDIO_H=''
NEXT_STDLIB_H=''
NEXT_STRING_H=''
NEXT_SYS_STAT_H=''
NEXT_SYS_TIME_H=''
NEXT_SYS_TYPES_H=''
NEXT_TIME_H=''
NEXT_UNISTD_H=''
NM='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm'
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libiconv'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libiconv'
PACKAGE_STRING='libiconv 1.15'
PACKAGE_TARNAME='libiconv'
PACKAGE_URL=''
PACKAGE_VERSION='1.15'
PATH_SEPARATOR=':'
POSUB=''
PRAGMA_COLUMNS=''
PRAGMA_SYSTEM_HEADER=''
PTHREAD_H_DEFINES_STRUCT_TIMESPEC=''
PTRDIFF_T_SUFFIX=''
RANLIB='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib'
RC=''
RELOCATABLE=''
RELOCATABLE_BUILD_DIR=''
RELOCATABLE_CONFIG_H_DIR=''
RELOCATABLE_LDFLAGS=''
RELOCATABLE_LIBRARY_PATH=''
RELOCATABLE_SRC_DIR=''
RELOCATABLE_STRIP=''
RELOCATABLE_VIA_LD_FALSE=''
RELOCATABLE_VIA_LD_TRUE=''
RELOCATABLE_VIA_WRAPPER_FALSE=''
RELOCATABLE_VIA_WRAPPER_TRUE=''
REPLACE_CALLOC=''
REPLACE_CANONICALIZE_FILE_NAME=''
REPLACE_CHOWN=''
REPLACE_CLOSE=''
REPLACE_DPRINTF=''
REPLACE_DUP2=''
REPLACE_DUP=''
REPLACE_FCHOWNAT=''
REPLACE_FCLOSE=''
REPLACE_FCNTL=''
REPLACE_FDOPEN=''
REPLACE_FFLUSH=''
REPLACE_FOPEN=''
REPLACE_FPRINTF=''
REPLACE_FPURGE=''
REPLACE_FREOPEN=''
REPLACE_FSEEK=''
REPLACE_FSEEKO=''
REPLACE_FSTAT=''
REPLACE_FSTATAT=''
REPLACE_FTELL=''
REPLACE_FTELLO=''
REPLACE_FTRUNCATE=''
REPLACE_FUTIMENS=''
REPLACE_GETCWD=''
REPLACE_GETDELIM=''
REPLACE_GETDOMAINNAME=''
REPLACE_GETDTABLESIZE=''
REPLACE_GETGROUPS=''
REPLACE_GETLINE=''
REPLACE_GETLOGIN_R=''
REPLACE_GETPAGESIZE=''
REPLACE_GETTIMEOFDAY=''
REPLACE_GMTIME=''
REPLACE_ISATTY=''
REPLACE_LCHOWN=''
REPLACE_LINK=''
REPLACE_LINKAT=''
REPLACE_LOCALTIME=''
REPLACE_LOCALTIME_R=''
REPLACE_LSEEK=''
REPLACE_LSTAT=''
REPLACE_MALLOC=''
REPLACE_MBTOWC=''
REPLACE_MEMCHR=''
REPLACE_MEMMEM=''
REPLACE_MKDIR=''
REPLACE_MKFIFO=''
REPLACE_MKNOD=''
REPLACE_MKSTEMP=''
REPLACE_MKTIME=''
REPLACE_NANOSLEEP=''
REPLACE_NULL=''
REPLACE_OBSTACK_PRINTF=''
REPLACE_OPEN=''
REPLACE_OPENAT=''
REPLACE_PERROR=''
REPLACE_POPEN=''
REPLACE_PREAD=''
REPLACE_PRINTF=''
REPLACE_PTHREAD_SIGMASK=''
REPLACE_PTSNAME=''
REPLACE_PTSNAME_R=''
REPLACE_PUTENV=''
REPLACE_PWRITE=''
REPLACE_QSORT_R=''
REPLACE_RAISE=''
REPLACE_RANDOM_R=''
REPLACE_READ=''
REPLACE_READLINK=''
REPLACE_READLINKAT=''
REPLACE_REALLOC=''
REPLACE_REALPATH=''
REPLACE_REMOVE=''
REPLACE_RENAME=''
REPLACE_RENAMEAT=''
REPLACE_RMDIR=''
REPLACE_SETENV=''
REPLACE_SLEEP=''
REPLACE_SNPRINTF=''
REPLACE_SPRINTF=''
REPLACE_STAT=''
REPLACE_STDIO_READ_FUNCS=''
REPLACE_STDIO_WRITE_FUNCS=''
REPLACE_STPNCPY=''
REPLACE_STRCASESTR=''
REPLACE_STRCHRNUL=''
REPLACE_STRDUP=''
REPLACE_STRERROR=''
REPLACE_STRERROR_R=''
REPLACE_STRNCAT=''
REPLACE_STRNDUP=''
REPLACE_STRNLEN=''
REPLACE_STRSIGNAL=''
REPLACE_STRSTR=''
REPLACE_STRTOD=''
REPLACE_STRTOK_R=''
REPLACE_STRUCT_TIMEVAL=''
REPLACE_SYMLINK=''
REPLACE_SYMLINKAT=''
REPLACE_TIMEGM=''
REPLACE_TMPFILE=''
REPLACE_TTYNAME_R=''
REPLACE_UNLINK=''
REPLACE_UNLINKAT=''
REPLACE_UNSETENV=''
REPLACE_USLEEP=''
REPLACE_UTIMENSAT=''
REPLACE_VASPRINTF=''
REPLACE_VDPRINTF=''
REPLACE_VFPRINTF=''
REPLACE_VPRINTF=''
REPLACE_VSNPRINTF=''
REPLACE_VSPRINTF=''
REPLACE_WCTOMB=''
REPLACE_WRITE=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIZE_T_SUFFIX=''
SRCLIBOBJS=''
STDBOOL_H=''
STDDEF_H=''
STDINT_H=''
STRIP='/home/gerstrong/apps/android-dev/android-ndk-r15b-linux-x86_64/build/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip'
SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=''
TIME_H_DEFINES_STRUCT_TIMESPEC=''
UNDEFINE_STRTOK_R=''
UNISTD_H_DEFINES_STRUCT_TIMESPEC=''
UNISTD_H_HAVE_WINSOCK2_H=''
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=''
USE_EXTRA_ENCODINGS=''
USE_MBSTATE_T=''
USE_NLS=''
VERSION='1.15'
WCHAR_T_SUFFIX=''
WINDOWS_64_BIT_OFF_T=''
WINDOWS_64_BIT_ST_SIZE=''
WINDRES=''
WINT_T_SUFFIX=''
WOE32=''
WOE32DLL=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gl_LIBOBJS=''
gl_LTLIBOBJS=''
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
gltests_WITNESS=''
host='arm-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/gerstrong/workspace/SDLAndroid/project/jni/iconv/src/armeabi/libiconv-1.15/..'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME "libiconv"
#define PACKAGE_TARNAME "libiconv"
#define PACKAGE_VERSION "1.15"
#define PACKAGE_STRING "libiconv 1.15"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libiconv"
#define VERSION "1.15"

configure: exit 77
gerstrong commented 7 years ago

Solved! I had to use [ -z "$PLATFORMVER" ] && PLATFORMVER=android-15

in the files setCrossEnvironment-armeabi-v7a.sh setCrossEnvironment-armeabi.sh and setCrossEnvironment-x86.sh

Unfortunately I cannot push these changes to the pelya repository. Can you change it?

pelya commented 7 years ago

Gerhard, you have a write access to the repository. Maybe your repository URL is misconfigured? Anyway, I will do the change, thanks.

On Wed, Jul 19, 2017 at 10:53 PM, Gerhard Stein notifications@github.com wrote:

Solved! I had to use [ -z "$PLATFORMVER" ] && PLATFORMVER=android-15

in the files setCrossEnvironment-armeabi-v7a.sh setCrossEnvironment-armeabi.sh and setCrossEnvironment-x86.sh

Unfortunately I cannot push these changes to the pelya repository. Can you change it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/75#issuecomment-316497886, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewDrio3E8zPHZhRcx-QiE5GaakLCUks5sPl7AgaJpZM4ORqUG .

gerstrong commented 7 years ago

Thanks, if that's the case I will have to check, anyways, this works again...Closing issue...

pelya commented 7 years ago

Oops, sorry, that was different repository. I've pushed the fix, and granted you write access just in case.

On Thu, Jul 20, 2017 at 6:18 PM, Gerhard Stein notifications@github.com wrote:

Closed #75 https://github.com/pelya/commandergenius/issues/75.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/75#event-1172327806, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewGc71hrZsBPwICHfEnmmn-8gx_axks5sP2_QgaJpZM4ORqUG .