-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
arm-linux-androideabi-gcc: Internal error: Killed (program cc1) #9
Comments
I've absolutly no idea. Is your computer have enough memory or something like that? Disk full? ipcs is ok? |
I have the very same issue! I'm on ArchLinux, with SDK API 15 and NDK r7c. I solved the error: by creating the directory /usr/local/python/2.7/lib, as said here: But now, when I issue the distribute command again (a simple distribution with only kivy) I get directly the error:
|
It's probably the wrong API level that messes things up. I now see that @edwyns has set his API level to 13 and I have 15. I had installed 15 because I thought the new NDK version (r7c) covered it, but probably it does not. EDIT: I confirm, using SDK API 14 works well! |
I've met with the same issue. Yes, SDK API 14 and NDK r7c can work. |
Added into the FAQ |
Hello,
today i clones the latest version from git hub
my system is Ubuntu 11.10 on vmware
i've installed all the prerequisets and am now trying to build python for andriod
Check enviromnent
SDK located at /home/user/Downloads/android-sdk-linux
NDK located at /home/user/Downloads/android-ndk-r7
NDK version is r7
API level set to 13
Check mandatory tools
Distribution will be located at /home/user/python-for-android/dist/default
The distribution /home/user/python-for-android/dist/default already exist
Press a key to remove it, or Control + C to abort.
Entering in ARM enviromnent
Compiler found at /home/user/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-gcc
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... i686
checking for --without-gcc... no
checking for arm-eabi-gcc... ccache arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /home/user/Downloads/android-ndk-r7/platforms/android-13/arch-arm
checking whether the C compiler works... no
configure: error: in
/home/user/python-for-android/build/python/Python-2.7.2': configure: error: C compiler cannot create executables See
config.log' for more detailsroot@ubuntu:/home/user/python-for-android#
some content of the config.log
PATH: /home/user/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/
PATH: /home/user/Downloads/android-ndk-r7
PATH: /home/user/Downloads/android-sdk-linux/tools
PATH: /home/user/Downloads/android-ndk-r7/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/
PATH: /home/user/Downloads/android-ndk-r7
PATH: /home/user/Downloads/android-sdk-linux/tools
PATH: /home/user/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
PATH: /home/user/Downloads/android-sdk-linux/tools
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
configure:3554: ccache arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /home/user/Downloads/android-ndk-r7/platforms/android-13/arch-arm -qversion >&5
arm-linux-androideabi-gcc: unrecognized option '-qversion'
arm-linux-androideabi-gcc: no input files
configure:3565: $? = 1
configure:3585: checking whether the C compiler works
configure:3607: ccache arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /home/user/Downloads/android-ndk-r7/platforms/android-13/arch-arm -mandroid -fomit-frame-pointer --sysroot /home/user/Downloads/android-ndk-r7/platforms/android-13/arch-arm conftest.c >&5
arm-linux-androideabi-gcc: Internal error: Killed (program cc1)
i also tried setting api level to 14 and 15 i keep getting the same error.
any tips on resolving this issue?
Kind regards,
Edwyn
The text was updated successfully, but these errors were encountered: