- Saved searches
- Use saved searches to filter your results more quickly
- Compilation Error #78
- Compilation Error #78
- Comments
- the program arm-linux-androideabi-gcc is currently not installed
- Bambuser ffmpeg — «arm-linux-androideabi-gcc is unable to create an executable file.»
- Saved searches
- Use saved searches to filter your results more quickly
- [question] arm-linux-androideabi-gcc: not found | Error 127, Error 2, #1321
- [question] arm-linux-androideabi-gcc: not found | Error 127, Error 2, #1321
- Comments
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
Compilation Error #78
Compilation Error #78
Comments
I’m trying to install python for android, but it gets caught up at this point and I’ve tried everything to get around it. Fails on jnius compilation. Anyone have a similar issue?
Leaving ARM enviromnent
Call build_pyjnius
Entering in ARM enviromnent
Compiler found at /opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
/home/eric/workspace/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
running build_ext
building ‘jnius’ extension
arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer —sysroot /opt/android-ndk//platforms/android-14/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -mandroid -fomit-frame-pointer —sysroot /opt/android-ndk//platforms/android-14/arch-arm -fPIC -I/home/eric/workspace/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command ‘arm-linux-androideabi-gcc’ failed with exit status 1
find: `cython’: No such file or directory
/home/eric/workspace/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
running build_ext
building ‘jnius’ extension
arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer —sysroot /opt/android-ndk//platforms/android-14/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -mandroid -fomit-frame-pointer —sysroot /opt/android-ndk//platforms/android-14/arch-arm -fPIC -I/home/eric/workspace/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command ‘arm-linux-androideabi-gcc’ failed with exit status 1
The text was updated successfully, but these errors were encountered:
the program arm-linux-androideabi-gcc is currently not installed
I’m trying to compile FFTW for android using NDK r10. Using the instructions here: http://blog.jimjh.com/compiling-open-source-libraries-with-android-ndk-part-2.html However, when I run ./configure it fails because of the error: the program arm-linux-androideabi-gcc is currently not installed.
I validate that my PATH includes the needed entries — and of course the file arm-linux-androideabi-gcc exists in the bin folder. can you please help me
#!/bin/sh # FourierTest/build.sh # Compiles fftw3 for Android # Make sure you have NDK_ROOT defined in .bashrc or .bash_profile INSTALL_DIR="`pwd`/jni/analysis/fftw3" SRC_DIR="`pwd`/../fftw-3.3.4" NDK_ROOT="~/utils/android-ndk-r10" cd $SRC_DIR export ANDROID_NDK_ROOT="~/utils/android-ndk-r10" export ANDROID_NDK_TOOLCHAIN="~/utils/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/" export PATH="~/utils/android-ndk-r10/toolchains/arm-linux androideabi-4.8/prebuilt/linux-x86_64/bin/:$PATH" export SYS_ROOT="~/utils/android-ndk-r10/platforms/android-14/arch-arm/" export CC="arm-linux-androideabi1-gcc --sysroot=$SYS_ROOT" export LD="arm-linux-androideabi-ld" export AR="arm-linux-androideabi-ar" export RANLIB="arm-linux-androideabi-ranlib" export STRIP="arm-linux-androideabi-strip" mkdir -p $INSTALL_DIR ./configure --prefix=$INSTALL_DIR --enable-float make make install exit 0
Edit: I had small issue with my path before because of me playing with it. Now it gives me: «Gcc error: gcc: error trying to exec ‘cc1’: execvp: No such file or directory»
Bambuser ffmpeg — «arm-linux-androideabi-gcc is unable to create an executable file.»
I know this may be possible duplicate of some questions. but answers for those threads are not helping me. I am trying to compile ffmpeg library for android using Bambuser’s ffmpeg.
I downloaded Archive for client versions 1.3.7 to 1.6.0. from bambuser. I followed instruction given in REAME.
While running ./build.sh i came across following error
arm-linux-androideabi-gcc is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem.
mktemp is /bin/mktemp check_ld check_cc BEGIN /tmp/ffconf.qflVj27Q.c 1 int main(void) < return 0; >END /tmp/ffconf.qflVj27Q.c arm-linux-androideabi-gcc --sysroot=/home/chaitanya/android/android-ndk-r5b/platforms/android-8/arch-arm -c -o /tmp/ffconf.gc6um0Ki.o /tmp/ffconf.qflVj27Q.c arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory C compiler test failed.
in tmp i do not find any relative folder or file as per config.log says «ffconf.qflVj27Q.c». I am doing this on
1. Ubuntu 11.10
2. OpenJDK 6
3. android-ndk-r5b NOte:
I only have API-10 Installed in eclipse. (if it matters :D) What could be the solution for this?
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
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
[question] arm-linux-androideabi-gcc: not found | Error 127, Error 2, #1321
[question] arm-linux-androideabi-gcc: not found | Error 127, Error 2, #1321
Comments
Steps I followed:
make ARCH=arm goldfish_armv7_defconfig
make ARCH=arm menuconfig
check «enable loadable module support»
check «module unloading»
make ARCH=arm SUB_ARCH=arm CROSS_COMPILE=$/home/noah/Downloads/prebuilt-darwin/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-
The text was updated successfully, but these errors were encountered:
It looks like you’re trying to build the Linux kernel with some NDK prebuilts that you have, but you really need to supply us with more information before we can help here. I’m also going to point out that you need to be building the Linux kernel with Clang instead of gcc, as we no longer provide support for gcc in the Android toolchain. @nickdesaulniers, can you post a sample command line for your suggested kernel build?
Actually, I just spotted your bug. $/home/noah/Downloads/prebuilt-darwin/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi- in your command line should probably be $HOME/Downloads/. or just drop the $ from that part of your command line.