Skip to content

build_android.sh "C compiler cannot create executables" #160

@gbmaniac

Description

@gbmaniac

I've been trying to compile this source code by following this guide.

I start build_android.sh. After a while, it gives me this

Starting build amr for arm

  • cd vo-amrwbenc
  • ./configure --prefix=/home/gbmaniac/Android/AndroidFFmpeg/library-jni/jni/ffmpeg-build/armeabi --host=arm-linux --disable-dependency-tracking --disable-shared --enable-static --with-pic
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-linux-strip... /home/gbmaniac/Android/Sdk/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '1000' is supported by ustar format... yes
    checking whether GID '1000' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking whether make supports nested variables... (cached) yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... arm-unknown-linux-gnu
    checking for style of include used by make... GNU
    checking for arm-linux-gcc... /home/gbmaniac/Android/Sdk/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/gbmaniac/Android/Sdk/android-ndk-r8e/platforms/android-5/arch-arm/
    checking whether the C compiler works... no
    configure: error: in /home/gbmaniac/Android/AndroidFFmpeg/library-jni/jni/vo-amrwbenc': configure: error: C compiler cannot create executables Seeconfig.log' for more details

Could someone tell me what's wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions