|
发表于 2015-9-21 22:27:57
只看该作者
沙发
版主,我重装了ubuntu14.04,然后下载了android的源码还是不行,救我:'(
1/我在百度网盘下载了源码
2/检验没问题
$ md5sum /path/to/fireprime_android5.1_git_20150612.tar
b896848a3068b50be4c6780e8bd73a2c fireprime_android5.1_git_20150612.tar
3/下面两个步骤也执行了
确认无误后,就可以解压:
mkdir -p ~/proj/fireprime
cd ~/proj/fireprime
tar xf /path/to/fireprime_android5.1_git_20150612.tar
git reset --hard
git remote add bitbucket https://bitbucket.org/T-Firefly/firenow-lollipop.git确认无误后,就可以解压:
mkdir -p ~/proj/fireprime
cd ~/proj/fireprime
tar xf /path/to/fireprime_android5.1_git_20150612.tar
git reset --hard
git remote add bitbucket https://bitbucket.org/T-Firefly/firenow-lollipop.git
以后就可以直接从 bitbucket 处更新:
git pull bitbucket fireprime:fireprime
4/编译linux还是失败
在内核源码目录里执行:
make fireprime-linux_defconfig
make -j8 rk3128-fireprime.img
错误代码如下:
root@mh-A8Se:/home/mh# cd ~/proj/fireprime/
root@mh-A8Se:~/proj/fireprime# cd kernel/
root@mh-A8Se:~/proj/fireprime/kernel# ls
android Documentation ipc logo.bmp pack-kernel.sh scripts
arch drivers Kbuild MAINTAINERS pie security
block firmware Kconfig Makefile README sound
COPYING fs kernel mkkrnlimg REPORTING-BUGS tools
CREDITS include lib mm resource_tool usr
crypto init linaro net samples virt
root@mh-A8Se:~/proj/fireprime/kernel# make fireprime-linux_defconfig
drivers/net/wireless/rockchip_wlan/rtl8188eu/Kconfig:6:warning: defaults for choice values not supported
#
# configuration written to .config
#
root@mh-A8Se:~/proj/fireprime/kernel# make -j4 rk3128-fireprime.img
../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/net/wireless/rockchip_wlan/rtl8188eu/Kconfig:6:warning: defaults for choice values not supported
../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
HOSTCC scripts/pnmtologo
../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected
make[2]: *** [scripts/mod/empty.o] 错误 2
make[1]: *** [scripts/mod] 错误 2
make[1]: *** 正在等待未完成的任务....
make[1]: “include/generated/mach-types.h”是最新的。
CC kernel/bounds.s
../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: 1: ../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc: Syntax error: "(" unexpected
make[1]: *** [kernel/bounds.s] 错误 2
make: *** [prepare0] 错误 2
make: *** 正在等待未完成的任务....
make: *** [scripts] 错误 2
|
|