build change path

I'm trying to compile openssl to Android based on:

https://github.com/guardianproject/openssl-android

I'm trying to run ndk-build but I get the following error:

make: /home/aaa/tools/android-ndk-r10e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found

How do I change the location to one of this two?

/home/aaa/tools/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc

/home/aaa/tools/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc

Or how should I compile this to solve a missing include?

The Android.mk

LOCAL_PATH := $(call my-dir)

subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, 
        crypto 
        ssl 
        apps 
    ))

include $(subdirs)

You should change variable NDK_TOOLCHAIN_VERSION in the Application.mk file. You can read more about Application.mk and it difference with Android.mk here

链接地址: http://www.djcxy.com/p/23382.html

上一篇: git分支重命名是否会影响分支层次结构?

下一篇: 建立变革之路