leffuy/andsdl-test — Issue #2: ndk-build iconv.h not found
Author: patrickjennings
Created: 2012-01-27 03:04:37+00:00
State: open

```
$ ndk-build V=1
rm -f /home/patrick/Work/andsdl-test/libs/x86/lib*.so /home/patrick/Work/andsdl-test/libs/armeabi/lib*.so /home/patrick/Work/andsdl-test/libs/armeabi-v7a/lib*.so
rm -f /home/patrick/Work/andsdl-test/libs/x86/gdbserver /home/patrick/Work/andsdl-test/libs/armeabi/gdbserver /home/patrick/Work/andsdl-test/libs/armeabi-v7a/gdbserver
rm -f /home/patrick/Work/andsdl-test/libs/x86/gdb.setup /home/patrick/Work/andsdl-test/libs/armeabi/gdb.setup /home/patrick/Work/andsdl-test/libs/armeabi-v7a/gdb.setup
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
mkdir -p /home/patrick/Work/andsdl-test/libs/armeabi
install -p /opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver /home/patrick/Work/andsdl-test/libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
mkdir -p /home/patrick/Work/andsdl-test/libs/armeabi
echo "set solib-search-path /home/patrick/Work/andsdl-test/obj/local/armeabi" > /home/patrick/Work/andsdl-test/libs/armeabi/gdb.setup
echo "directory /opt/android-ndk/platforms/android-3/arch-arm/usr/include /home/patrick/Work/andsdl-test/jni/SDL/include /opt/android-ndk/sources/cxx-stl/system/include /home/patrick/Work/andsdl-test/jni/SDL_image /home/patrick/Work/andsdl-test/jni/SDL_mixer/.. /home/patrick/Work/andsdl-test/jni/SDL_mixer/../SDL/include /home/patrick/Work/andsdl-test/jni/SDL_mixer/../mikmod/include /home/patrick/Work/andsdl-test/jni/SDL_ttf /home/patrick/Work/andsdl-test/jni/freetype /home/patrick/Work/andsdl-test/jni/jpeg /home/patrick/Work/andsdl-test/jni/src/../SDL/include /home/patrick/Work/andsdl-test/jni/src/../SDL_image /home/patrick/Work/andsdl-test/jni/src/../SDL_mixer /home/patrick/Work/andsdl-test/jni/src/../SDL_ttf /home/patrick/Work/andsdl-test/jni/mikmod/include /home/patrick/Work/andsdl-test/jni/png /home/patrick/Work/andsdl-test/jni/tremor" >> /home/patrick/Work/andsdl-test/libs/armeabi/gdb.setup
Compile thumb : SDL <= SDL_hints.c
/opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -MMD -MP -MF /home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o.d.org -fpic -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/home/patrick/Work/andsdl-test/jni/SDL/include -I/opt/android-ndk/sources/cxx-stl/system/include -I/home/patrick/Work/andsdl-test/jni/SDL -DANDROID -Wa,--noexecstack -O0 -g -I/opt/android-ndk/platforms/android-3/arch-arm/usr/include -c /home/patrick/Work/andsdl-test/jni/SDL/src/SDL_hints.c -o /home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o && ( if [ -f "/home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o.d.org" ]; then rm -f /home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o.d && mv /home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o.d.org /home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o.d; fi )
In file included from /home/patrick/Work/andsdl-test/jni/SDL/include/SDL_hints.h:43,
from /home/patrick/Work/andsdl-test/jni/SDL/src/SDL_hints.c:24:
/home/patrick/Work/andsdl-test/jni/SDL/include/SDL_stdinc.h:79:20: error: iconv.h: No such file or directory
In file included from /home/patrick/Work/andsdl-test/jni/SDL/include/SDL_hints.h:43,
from /home/patrick/Work/andsdl-test/jni/SDL/src/SDL_hints.c:24:
/home/patrick/Work/andsdl-test/jni/SDL/include/SDL_stdinc.h:754: error: expected ')' before 'cd'
make: *** [/home/patrick/Work/andsdl-test/obj/local/armeabi/objs-debug/SDL/src/SDL_hints.o] Error 1
```