嵌入式爱好者

查看: 12123|回复: 1

[Android] android 2.3源码编译不过

[复制链接]

1

主题

2

帖子

19

积分

扫一扫,手机访问本帖
发表于 2020-7-3 08:57:13 | 显示全部楼层 |阅读模式
including device/htc/passion/vendorsetup.sh
including 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)[0x7fd87ab697e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fd87ab7237a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fd87ab7653c]
make[0x40b0ca]
make[0x40d0b4]
make[0x40771b]
make[0x407522]
make[0x40d077]
make[0x40771b]
make[0x407eb5]
make[0x407c2c]
make[0x40bcf6]
make[0x40d0b4]
make[0x40771b]
make[0x4080a3]
make[0x41dc49]
make[0x41e3b8]
make[0x416958]
make[0x417cea]
make[0x416f18]
make[0x417cea]
make[0x4180b8]
make[0x403432]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fd87ab12830]
make[0x4042f9]
======= 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                                  [heap]
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                          [stack]
7fff541fa000-7fff541fd000 r--p 00000000 00:00 0                          [vvar]
7fff541fd000-7fff541ff000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
./build-android: line 12: 30028 Aborted                 (core dumped) make
回复

使用道具 举报

1

主题

2

帖子

19

积分

 楼主| 发表于 2020-8-14 10:44:13 | 显示全部楼层
具体原因没找到,重新使用了I586的linux镜像安装依赖搭建环境,终于编译过了,MAKE 版本需要 3.81 JDK 可以是 6 或者 7 其他按照手册依赖安装就可以了   另外还修改了源码头文件包含才编译过。。。。。。建议给一个虚拟机的印象,装好环境的包比较好,应该也不会太大,,对新入门的更友好一点
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-12 07:38

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表