编译adb源码生成adb二进制文件 [英] Compile adb source to generate adb binary

查看:34
本文介绍了编译adb源码生成adb二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照链接 http://mancoosi 中指定的说明进行操作.org/~abate/build-android-adb-debian-sid-amd64

但我遇到以下错误

make out/host/linux-x86/bin/adb

============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=4.2.2.2.2.2.2.2.2.2
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-36-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
OUT_DIR=out
============================================
make: *** No rule to make target `out/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/export_includes', needed by `out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/import_includes'.  Stop.
make: *** Waiting for unfinished jobs....
Export includes file: system/core/libzipfile/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libzipfile_intermediates/export_includes
Export includes file: external/zlib/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/export_includes

有人能帮我指出错误究竟是什么以及我应该怎么做才能解决这个错误吗?

Can anybody help me in pointing out what exactly is the error about and what should I do to fix this error?

非常感谢您的帮助.

推荐答案

注册只是为了回答这个问题,以防其他人遇到它.

Signed up just to answer this, in case anyone else comes across it.

您现在还需要克隆 external/openssl,因为较新的版本(截至 2014-05)静态链接到 libcrypt.

You need to also clone external/openssl now because newer versions (as of 2014-05) link statically against libcrypt.

我还需要克隆 external/stlport

I also needed to clone external/stlport

这篇关于编译adb源码生成adb二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆