Chinaunix首页 | 论坛 | 博客
  • 博客访问: 155040
  • 博文数量: 26
  • 博客积分: 1555
  • 博客等级: 上尉
  • 技术积分: 236
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-16 17:37
个人简介

我在互联网世界等候各位。。。。。

文章分类

全部博文(26)

文章存档

2015年(1)

2011年(4)

2010年(2)

2009年(19)

我的朋友

分类:

2009-11-03 13:29:00

####################
# I have already done instructions from
####################
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl sun-java5-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev

sudo update-java-alternatives -s java-1.5.0-sun

sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so

#############################################
#But still get errors
#############################################
build/core/main.mk:180: implicitly installing apns-conf_sdk.xml
build/core/copy_headers.mk:15: 警告:覆盖关于目标“out/target/product/generic/obj/include/libpv/getactualaacconfig.h”的命令
build/core/copy_headers.mk:15: 警告:忽略关于目标“out/target/product/generic/obj/include/libpv/getactualaacconfig.h”的旧命令
host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz

##############################
#google some solutions, but not works :(
##############################
sudo apt-get install libc6-dev-i38                  #MAT:this not works :(
sudo apt-get install g++-multilib g++-4.2-multilib        #MAT:this not works :(
sudo apt-get install libzip-dev                          #MAT:this not works :(

###########################
#OK, let's try getlibs:
#
#getlibs: Automatically solves dependencies for 32-bit programs on 64-bit x86 64-bit Users.
#download:
#install: sudo dpkg -i --force-all .deb
#
#For how to install and how use
#see:
#    
###########################


getlibs -l libz.so




################################
# OK, it works
########################

阅读(1437) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~