Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gbmaniac opened this issue Sep 8, 2016 · 3 comments
Open

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

gbmaniac opened this issue Sep 8, 2016 · 3 comments

Comments

@gbmaniac
Copy link

gbmaniac commented Sep 8, 2016

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?

@tanjinc
Copy link

tanjinc commented Sep 11, 2016

find your vo-amrwbenc have any file. if not. download
the git url is in .gitmodules
"url = git://git.code.sf.net/p/opencore-amr/vo-amrwbenc"

@szhansen
Copy link

I have the same problem, vo-amrwbenc have files.
have you sovled ?

@szhansen
Copy link

oh,my god, I use mac os NDK on my linux ,maybe it's the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants