ubuntu(64位)全志A20执行./build.sh -p sun7i_android后出现错误,大虾求解!

包含64位CPU、PPC、龙芯等所有非i386芯片
回复
wangjian1937
帖子: 4
注册时间: 2013-09-25 15:48
系统: win7
送出感谢: 3 次
接收感谢: 0

ubuntu(64位)全志A20执行./build.sh -p sun7i_android后出现错误,大虾求解!

#1

帖子 wangjian1937 » 2013-09-28 16:33

错误输出:
mkscript current setting:
Chip: sun7i
Platform: android
Board:
Output Dir: /home/wangjian/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 `/home/wangjian/a20/lichee/linux-3.3/arch/arm/mach-sun7i/pm/standby'
rm -rf *.o ../*.o
arm-linux-gnueabi-gcc -I. -I/home/wangjian/a20/lichee/linux-3.3/include -I/home/wangjian/a20/lichee/linux-3.3/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 common.c -o common.o
In file included from ../pm.h:21:0,
from standby_i.h:22,
from common.c:18:
../mem_int.h:55:1: error: expected identifier before '}' token
make: *** [standby] Error 1
make: Leaving directory `/home/wangjian/a20/lichee/linux-3.3/arch/arm/mach-sun7i/pm/standby'
ERROR: build kernel Failed
wangjian1937
帖子: 4
注册时间: 2013-09-25 15:48
系统: win7
送出感谢: 3 次
接收感谢: 0

Re: ubuntu(64位)全志A20执行./build.sh -p sun7i_android后出现错误,大虾求解!

#2

帖子 wangjian1937 » 2013-10-10 15:14

几经周转这个问题解决了。。。后来人不要再犯这个错误,文档上要求在linux3.3下执行make ARCH=arm menuconfig 这一步,但我老实巴交的就执行了,然后就报上面的错误,至于什么原因我没仔细研究,也就是你在编译uboot和内核时,直接进入到lichee下执行./build.sh -p sun7i_android ,然后就OK,至于还有其他错误那就慢慢找原因了,如果文档要求的各种库都安装了,一般不会出错!
回复

回到 “系统架构支持”