Monday, May 5, 2014

Compile android source, suggesting that no arm-linux-androideabi-gcc.


I was so compiled:
root @ mimixi666-virtual-machine :/ my/source/android4.0 # make init
But mistakes

/ bin / bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-
androideabi-gcc: No such file or directory
/ Bin / bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-
androideabi-gcc: No such file or directory
/ Bin / bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-
androideabi-gcc: No such file or directory
/ Bin / bash: bison: command not found
==================================== ========
PLATFORM_VERSION_CODENAME = REL
PLATFORM_VERSION = 4.0.1
TARGET_PRODUCT = full
TARGET_BUILD_VARIANT = eng
TARGET_BUILD_TYPE = release
TARGET_BUILD_APPS =
TARGET_ARCH = arm
TARGET_ARCH_VARIANT = armv7-a
HOST_ARCH = x86
HOST_OS = linux
HOST_BUILD_TYPE = release
BUILD_ID = ITL41D
============================================
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc -
mthumb-interwork -Ibionic/libc/private-DCRT_LEGACY_WORKAROUND -Ibionic/libc/private-o
out / target / product / generic / obj / lib / crtbegin_static.o-c bionic/libc/arch-
arm / bionic / crtbegin_static.S
/ Bin / bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-
androideabi-gcc: No such file or directory
make: *** [out / target / product / generic / obj / lib / crtbegin_static.o] Error 127

But obviously there acridine below. .
root @ mimixi666-virtual-machine :/ my/source/android4.0/prebuilt/linux-x86/toolchain/arm-
linux-androideabi-4.4.x/bin # ls
arm-linux-androideabi-addr2line arm-linux-androideabi-gprof
arm-linux-androideabi-ar arm-linux-androideabi-ld
arm-linux-androideabi-as arm-linux-androideabi-ld.bfd
arm-linux-androideabi-c + + arm-linux-androideabi-ld.gold
arm-linux-androideabi-c + + filt arm-linux-androideabi-nm
arm-linux-androideabi-cpp arm-linux-androideabi-objcopy
arm-linux-androideabi-g + + arm-linux-androideabi-objdump
arm-linux-androideabi-gcc arm-linux-androideabi-ranlib
arm-linux-androideabi-gcc-4.4.3 arm-linux-androideabi-readelf
arm-linux-androideabi-gccbug arm-linux-androideabi-run
arm-linux-androideabi-gcov arm-linux-androideabi-size
arm-linux-androideabi-gdb arm-linux-androideabi-strings
arm-linux-androideabi-gdbtui arm-linux-androideabi-strip

In the end they do wrong? ?
And my system has a relationship? ?
I am a 64-bit virtual machine ubuntu, but also 64 of the mirror. .

<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Forget is how to solve, anyway, then simply plug these libraries:
apt-get install git-core gnupg flex bison gperf
build-essential zip curl zlib1g-dev libc6-dev
lib32ncurses5-dev x11proto-core-dev libx11-dev
lib32z-dev libgl1-mesa-dev g+ +-multilib mingw32
tofrodos python-markdown libxml2-utils xsltproc
libx11-dev: i386 gcc-4.4 lib32z1 lib32readline-gplv2-dev
g+ + -4.4 gcc-4.4

It will not happen again this problem. .

No comments:

Post a Comment