[Android Q&A, Help & Troubleshooting] LighingBB:
Bionic

Hello,I'm trying to build Bionic lib for Android(as standalone libc.so file).Building it with Android ndk r8c(Ubuntu 13.04),but receiving such error:

Using this repo : github.com/CarbonDev/android_bionic

Full log:

HOST_OS=linux

HOST_ARCH=x86

HOST_TAG=linux-x86

GNUMAKE=/home/administrator/android-ndk-r9/prebuilt/linux-x86/bin/make (NDK prebuilt)

Android NDK: NDK installation path auto-detected: '/home/administrator/android-ndk-r9'

Android NDK: GNU Make version 3.81 detected

Android NDK: Host OS was auto-detected: linux

Android NDK: Host operating system detected: linux

Android NDK: Host CPU was auto-detected: x86

Android NDK: HOST_TAG set to linux-x86

Android NDK: Host tools prebuilt directory: /home/administrator/android-ndk-r9/prebuilt/linux-x86/bin

Android NDK: Host 'echo' tool: echo

Android NDK: Host 'awk' tool: /home/administrator/android-ndk-r9/prebuilt/linux-x86/bin/awk

Android NDK: Host 'awk' test returned: Pass

Android NDK: This NDK supports the following target architectures and ABIS:

Android NDK: arm: armeabi armeabi-v7a

Android NDK: mips: mips

Android NDK: x86: x86

Android NDK: This NDK supports the following toolchains and target ABIs:

Android NDK: arm-linux-androideabi-4.4.3: armeabi armeabi-v7a

Android NDK: mipsel-linux-android-4.4.3: mips

Android NDK: x86-4.4.3: x86

Android NDK: Found platform root directory: /home/administrator/android-ndk-r9/platforms

Android NDK: Found supported platforms: android-14 android-3 android-4 android-5 android-8 android-9

Android NDK: PLATFORM android-14 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-14/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-14/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-14/arch-x86

Android NDK: PLATFORM android-3 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-3/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-3/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-3/arch-x86

Android NDK: PLATFORM android-4 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-4/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-4/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-4/arch-x86

Android NDK: PLATFORM android-5 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-5/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-5/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-5/arch-x86

Android NDK: PLATFORM android-8 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-8/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-8/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-8/arch-x86

Android NDK: PLATFORM android-9 supports: arm mips x86

Android NDK: ABI arm sysroot is: /home/administrator/android-ndk-r9/platforms/android-9/arch-arm

Android NDK: ABI mips sysroot is: /home/administrator/android-ndk-r9/platforms/android-9/arch-mips

Android NDK: ABI x86 sysroot is: /home/administrator/android-ndk-r9/platforms/android-9/arch-x86

Android NDK: Found stable platform levels: 14 3 4 5 8 9

Android NDK: Found max platform level: 14

Android NDK: Found project path: /home/administrator/android-ndk-r9

Android NDK: Ouput path: /home/administrator/android-ndk-r9/obj

Android NDK: Parsing /home/administrator/android-ndk-r9/build/core/default-application.mk

Android NDK: Defaulted to APP_PLATFORM=android-3

Android NDK: Using build script /home/administrator/android-ndk-r9/jni/Android.mk

Android NDK: Application 'local' is not debuggable

Android NDK: Selecting release optimization mode (app is not debuggable)

Android NDK: Adding import directory: /home/administrator/android-ndk-r9/sources

Android NDK: Building application 'local' for ABI 'armeabi'

Android NDK: Using target toolchain 'arm-linux-androideabi-4.4.3' for 'armeabi' ABI

Android NDK: Looking for imported module with tag 'cxx-stl/system'

Android NDK: Probing /home/administrator/android-ndk-r9/sources/cxx-stl/system/Android.mk

Android NDK: Found in /home/administrator/android-ndk-r9/sources/cxx-stl/system

/home/administrator/android-ndk-r9/jni/libc/Android.mk:785: warning: overriding commands for target `/crtbegin_so.o'

/home/administrator/android-ndk-r9/jni/libc/Android.mk:766: warning: ignoring old commands for target `/crtbegin_so.o'

/home/administrator/android-ndk-r9/jni/libc/Android.mk:790: warning: overriding commands for target `/crtend_so.o'

/home/administrator/android-ndk-r9/jni/libc/Android.mk:775: warning: ignoring old commands for target `/crtend_so.o'

Android NDK: Trying to define local module 'c' in /home/administrator/android-ndk-r9/jni/libc/Android.mk.

Android NDK: But this module was already defined by /home/administrator/android-ndk-r9/jni/libc/Android.mk.

/home/administrator/android-ndk-r9/build/core/build-module.mk:34: *** Android NDK: Aborting. . Stop.

Counting on your help.