libc6-dev-i386
libc6-dev-i386 安装不了 改安装
yum -y install glibc-devel.i686(i386)
make: *** No rule to make target `out/target/product/tiny4412/obj/SHARED_LIBRARIES/libgabi++_intermediates/export_includes', needed by `out/target/product/tiny4412/obj/SHARED_LIBRARIES/libicuuc_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
上面的原因是 android 源码包 解压不正确 时没有处理
解压时 出现 如下问题 没有解决
android-4.2.2_r1/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/libexec/gcc/arm-linux-androideabi/4.6.x-google/cc1plus
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
[root@localhost android]#
原因可能时 android 源码包已经损坏 ,原因可能是在用 u 盘拷贝时 文件损坏
使用 mount 挂载上 笔记本上的 redhat 下的 源码包 重行解压发现 没有任何解压错误,重新编译
android 源码 发现 上面的错误 没有再次出现。
缺少 下面的 库 安装上就可以了
yum installlibz.so.1
编译完成 出现的界面
Size: 685768704
Block size: 4096
Blocks per group: 32768
Inodes per group: 6976
Inode size: 256
Journal blocks: 2616
Label:
Blocks: 167424
Block groups: 6
Reserved block group size: 47
Created filesystem with 1105/41856 inodes and 52062/167424 blocks
+ '[' 0 -ne 0 ']'
Running: simg2img out/target/product/tiny4412/obj/PACKAGING/systemimage_intermediates/system.img out/target/product/tiny4412/obj/PACKAGING/systemimage_intermediates/unsparse_system.img
Running: e2fsck -f -n out/target/product/tiny4412/obj/PACKAGING/systemimage_intermediates/unsparse_system.img
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
out/target/product/tiny4412/obj/PACKAGING/systemimage_intermediates/unsparse_system.img: 1105/41856 files (0.0% non-contiguous), 52062/167424 blocks
Install system fs image: out/target/product/tiny4412/system.img
out/target/product/tiny4412/system.img+ maxsize=700123776 blocksize=4224 total=203751884 reserve=7075200
[root@localhost android-4.2.2_r1]#