android 2.3源码编译不过
including device/htc/passion/vendorsetup.shincluding device/samsung/crespo/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=OK6410
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GRJ06D
============================================
find: ‘frameworks/base/frameworks/base/docs/html’: No such file or directory
find: ‘out/target/common/docs/gen’: No such file or directory
find: ‘frameworks/base/frameworks/base/docs/html’: No such file or directory
find: ‘out/target/common/docs/gen’: No such file or directory
find: ‘frameworks/base/frameworks/base/docs/html’: No such file or directory
find: ‘out/target/common/docs/gen’: No such file or directory
find: ‘frameworks/base/frameworks/base/docs/html’: No such file or directory
find: ‘out/target/common/docs/gen’: No such file or directory
find: ‘frameworks/base/frameworks/base/docs/html’: No such file or directory
find: ‘out/target/common/docs/gen’: No such file or directory
*** Error in `make': free(): invalid next size (fast): 0x00000000078f3200 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
make
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
make
======= Memory map: ========
00400000-0042a000 r-xp 00000000 08:01 4078029 /usr/local/bin/make
00629000-0062a000 r--p 00029000 08:01 4078029 /usr/local/bin/make
0062a000-0062c000 rw-p 0002a000 08:01 4078029 /usr/local/bin/make
0062c000-0062d000 rw-p 00000000 00:00 0
007e1000-07cb7000 rw-p 00000000 00:00 0
7fd874000000-7fd874021000 rw-p 00000000 00:00 0
7fd874021000-7fd878000000 ---p 00000000 00:00 0
7fd879f1d000-7fd879f33000 r-xp 00000000 08:01 6165293 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd879f33000-7fd87a132000 ---p 00016000 08:01 6165293 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd87a132000-7fd87a133000 rw-p 00015000 08:01 6165293 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd87a133000-7fd87aaf2000 r--p 00000000 08:01 3939490 /usr/lib/locale/locale-archive
7fd87aaf2000-7fd87acb2000 r-xp 00000000 08:01 6165255 /lib/x86_64-linux-gnu/libc-2.23.so
7fd87acb2000-7fd87aeb2000 ---p 001c0000 08:01 6165255 /lib/x86_64-linux-gnu/libc-2.23.so
7fd87aeb2000-7fd87aeb6000 r--p 001c0000 08:01 6165255 /lib/x86_64-linux-gnu/libc-2.23.so
7fd87aeb6000-7fd87aeb8000 rw-p 001c4000 08:01 6165255 /lib/x86_64-linux-gnu/libc-2.23.so
7fd87aeb8000-7fd87aebc000 rw-p 00000000 00:00 0
7fd87aebc000-7fd87aee2000 r-xp 00000000 08:01 6165227 /lib/x86_64-linux-gnu/ld-2.23.so
7fd87af4d000-7fd87afbd000 rw-p 00000000 00:00 0
7fd87afc4000-7fd87b0c8000 rw-p 00000000 00:00 0
7fd87b0d9000-7fd87b0da000 rw-p 00000000 00:00 0
7fd87b0da000-7fd87b0e1000 r--s 00000000 08:01 4327170 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fd87b0e1000-7fd87b0e2000 r--p 00025000 08:01 6165227 /lib/x86_64-linux-gnu/ld-2.23.so
7fd87b0e2000-7fd87b0e3000 rw-p 00026000 08:01 6165227 /lib/x86_64-linux-gnu/ld-2.23.so
7fd87b0e3000-7fd87b0e4000 rw-p 00000000 00:00 0
7fff541ba000-7fff541ee000 rw-p 00000000 00:00 0
7fff541fa000-7fff541fd000 r--p 00000000 00:00 0
7fff541fd000-7fff541ff000 r-xp 00000000 00:00 0
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
./build-android: line 12: 30028 Aborted (core dumped) make
具体原因没找到,重新使用了I586的linux镜像安装依赖搭建环境,终于编译过了,MAKE 版本需要 3.81 JDK 可以是 6 或者 7 其他按照手册依赖安装就可以了 另外还修改了源码头文件包含才编译过。。。。。。建议给一个虚拟机的印象,装好环境的包比较好,应该也不会太大,,对新入门的更友好一点
页:
[1]