A20 编译lichee,gcc not found
我按照说明文档安装了编译环境的基本工具$sudo apt-get update
$sudo apt-get upgrade
$sudo apt-get install build-essential u-boot-tools uboot-mkimage binutils-arm-linux-gnueabihf
$sudo apt-get install gcc g++ gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf g++-multilib
$sudo apt-get install cpp-arm-linux-gnueabihf libusb-1.0-0 libusb-1.0-0-dev wget fakeroot
$sudo apt-get install kernel-package zlib1g-dev libncurses5-dev build-essential
$sudo apt-get install texinfo texlive ccache zlib1g-dev gawk bison flex gettext uuid-dev
$sudo apt-get install ia32-libs git gnupg flex bison gperf build-essential zip
$sudo apt-get install curl libc6-dev x11proto-core-dev libx11-dev:i386 lib32ncurses5-dev
$sudo apt-get install libreadline6-dev:i386 mingw32 tofrodos python-markdown
$sudo apt-get install libxml2-utils xsltproc zlib1g-dev:i386 libgl1-mesa-dev
在编译时:
jason@jvm:~/cubieaio-a20/lichee$ ./build.sh -p sun7i_android
mkscript current setting:
Chip: sun7i
Platform: android
Board:
Output Dir: /home/jason/cubieaio-a20/lichee/out/android/common
INFO: build lichee ...
INFO: build buildroot ...
external toolchain has been installed
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
build standby
Generating autoconf.h for standby
HOSTCCscripts/basic/fixdep
/bin/sh: 1: gcc: not found
make: *** 错误 127
make: *** 错误 2
ERROR: build kernel Failed
请问应当如何解决!谢谢
andy@andy:/work/SDK/a20/lichee$ ./build.sh -p sun7i_android
mkscript current setting:
Chip: sun7i
Platform: android
Board:
Output Dir: /work/SDK/a20/lichee/out/android/common
INFO: build lichee ...
INFO: build buildroot ...
external toolchain has been installed
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
build standby
make: Entering directory `/work/SDK/a20/lichee/linux-3.4/arch/arm/mach-sun7i/pm/standby'
rm -rf *.o ../*.o dram/*.o
arm-linux-gnueabi-gcc -I. -I/work/SDK/a20/lichee/linux-3.4/include -I/work/SDK/a20/lichee/linux-3.4/arch/arm/mach-sun7i/include-g -c -nostdlib -march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables -fno-asynchronous-unwind-tables -mlittle-endian -O0 --min_array_alignment=4 --no_unaligned_access -D DRAM_USE_VA_ADDR common.c -o common.o
正常的编译如上所示,应该是你的编译工具链有问题。arm-linux-gnueabi-gcc
问题:/bin/sh: 1: gcc: not found
Ubuntu系统12.04? 64位?
Ubuntu12.04
执行GCC 安装命令就可以了
sudo apt-get install gcc
我想问问,你参考的这个说明指导手册在哪里呢?
百家樂的玩家下注一段時間就會發現,有段時間特別好賺
页:
[1]