主题 : ./build-android编译出现问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 82894
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
综合积分: 32 分
注册时间: 2012-11-29
最后登录: 2014-01-16
楼主  发表于: 2012-12-20 11:03

 ./build-android编译出现问题

系统环境,windows7下。

如题:
虚拟机版本:VMware Workstation 8.0.2 build-591240
编译环境 : fedora 14
编译器也是光盘的 gcc 4.5.1
用代理上网的。

./build-android编译出现如下信息:

编译的时候出现现下情况
[root@localhost Android-2.3.1]# ./build-android
including device/htc/passion/vendorsetup.sh
including device/samsung/smdkc110/vendorsetup.sh
including device/samsung/smdkv210/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.1
TARGET_PRODUCT=full_mini210
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=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': 没有那个文件或目录
find: `out/target/common/docs/gen': 没有那个文件或目录
find: `frameworks/base/frameworks/base/docs/html': 没有那个文件或目录
find: `out/target/common/docs/gen': 没有那个文件或目录
find: `frameworks/base/frameworks/base/docs/html': 没有那个文件或目录
find: `out/target/common/docs/gen': 没有那个文件或目录
find: `frameworks/base/frameworks/base/docs/html': 没有那个文件或目录
find: `out/target/common/docs/gen': 没有那个文件或目录
find: `frameworks/base/frameworks/base/docs/html': 没有那个文件或目录
find: `out/target/common/docs/gen': 没有那个文件或目录
diff: out/target/product/smdkv210/obj/PACKAGING/updater_extensions_intermediates/register.inc.list: 没有那个文件或目录
*** glibc detected *** make: free(): invalid next size (fast): 0x0e2a5b48 ***
======= Backtrace: =========
/lib/libc.so.6[0x89cee4]
make[0x80509c8]
make[0x804feb2]
make[0x8052956]
make[0x804d327]
make[0x804d862]
make[0x804ce55]
make[0x804cee7]
make[0x8052920]
make[0x804d327]
make[0x804d862]
make[0x804ce55]
make[0x804d028]
make[0x804d7b8]
make[0x805024f]
make[0x804feb2]
make[0x8052956]
make[0x804d327]
make[0x804d862]
make[0x804ce55]
make[0x8065930]
make[0x8065fc6]
make[0x805dfff]
make[0x805f50e]
make[0x805e719]
make[0x805f50e]
make[0x805f912]
make[0x8059621]
/lib/libc.so.6(__libc_start_main+0xe6)[0x841e16]
make[0x8049a01]
======= Memory map: ========
00803000-00823000 r-xp 00000000 fd:00 473311     /lib/ld-2.12.90.so
00823000-00824000 r--p 0001f000 fd:00 473311     /lib/ld-2.12.90.so
00824000-00825000 rw-p 00020000 fd:00 473311     /lib/ld-2.12.90.so
0082b000-009b8000 r-xp 00000000 fd:00 473312     /lib/libc-2.12.90.so
009b8000-009ba000 r--p 0018c000 fd:00 473312     /lib/libc-2.12.90.so
009ba000-009bb000 rw-p 0018e000 fd:00 473312     /lib/libc-2.12.90.so
009bb000-009be000 rw-p 00000000 00:00 0
00a11000-00a2d000 r-xp 00000000 fd:00 473324     /lib/libgcc_s-4.5.1-20100924.so.1
00a2d000-00a2e000 rw-p 0001b000 fd:00 473324     /lib/libgcc_s-4.5.1-20100924.so.1
00b05000-00b06000 r-xp 00000000 00:00 0          [vdso]
08047000-08071000 r-xp 00000000 fd:00 1063107    /usr/bin/make
08071000-08072000 rw-p 00029000 fd:00 1063107    /usr/bin/make
08072000-08073000 rw-p 00000000 00:00 0
0989d000-0e367000 rw-p 00000000 00:00 0          [heap]
b7234000-b7312000 rw-p 00000000 00:00 0
b73f0000-b74f2000 rw-p 00000000 00:00 0
b74f2000-b74f9000 r--s 00000000 fd:00 1054441    /usr/lib/gconv/gconv-modules.cache
b74f9000-b7501000 r--p 00000000 fd:00 3961       /usr/share/locale/zh_CN/LC_MESSAGES/make.mo
b7501000-b7502000 rw-p 00000000 00:00 0
b7504000-b7506000 rw-p 00000000 00:00 0
b7506000-b765a000 r--p 03270000 fd:00 1054185    /usr/lib/locale/locale-archive
b765a000-b769a000 r--p 02eb6000 fd:00 1054185    /usr/lib/locale/locale-archive
b769a000-b789a000 r--p 00000000 fd:00 1054185    /usr/lib/locale/locale-archive
b789a000-b789b000 rw-p 00000000 00:00 0
b78bd000-b78be000 rw-p 00000000 00:00 0
bfa9c000-bfad0000 rw-p 00000000 00:00 0          [stack]
./build-android: line 17:  7925 已放弃               (core dumped) make -j$CPU_JOB_NUM


给技术支持发邮件说是要升级下make。
输入yum update make命令,总是提示如下错误。

错误: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again.

该怎么解决???
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-12-20 12:18

 回 楼主(1368135yang) 的帖子

需要给yum配置代理?
楼主留言:
我给浏览器已经设置了代理,现在能用浏览器上网的。可是yum不能升级,这该怎么办呢?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 骑士
UID: 29604
精华: 9
发帖: 171
金钱: 1830 两
威望: 366 点
综合积分: 522 分
注册时间: 2010-10-01
最后登录: 2016-04-13
2楼  发表于: 2012-12-20 14:15
你的虚拟机系统首先要能上网才能用yum升级程序吧。
楼主留言:
我给浏览器已经设置了代理,现在能用浏览器上网的。可是yum不能升级,这该怎么办呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2012-12-21 11:58

 回 1楼(kasim) 的帖子

不好意思,我没有用过Fedora和yum,我想你需要查一下如何确保yum可以通过代理连接网络。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
今天的奋斗为的是以后大半生的幸福!
级别: 新手上路
UID: 88020
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2013-03-03
最后登录: 2013-03-09
4楼  发表于: 2013-03-03 10:55
我也遇到了这样的问题   求救啊