Thanks to visit codestin.com
Credit goes to github.com

Skip to content

configure: error: C compiler cannot create executables #145

Closed
@sifter23

Description

@sifter23

Hi,

Great Project! I am working through the tutorial all the way to deployment on my android phone. I have been following the read me to a t. However, I can not build the build file. Upon running ./distribute.sh -m "kivy" I receive the error message "configure: error: C compiler cannot create executable". The last part of the log is below. If you need me to provide the complete file mentioned I will. Is there anything I am missing? I downloaded the SDK and NDK from the links in the read me and also the newer 64 bit versions. I have tried them all but receive the same message. The only thing I did different was it seems the environment path for NDK had to be set directly to the compiler.

export ANDROIDNDK="home/james/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin"

I am using Kubuntu 64 bit.
3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Thank you for the great work and support!

configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux3
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/james/android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/platforms/android-14/arch-arm
checking whether the C compiler works... no
configure: error: in /home/james/python/kivy/python-for-android/build/python/Python-2.7.2': configure: error: C compiler cannot create executables Seeconfig.log' for more details

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