Open DineshGuptaa opened 6 years ago
-D__ANDROID_API__=21
to CFLAGS
if it not work, edit YOUR_NDK_PATH/build/tools/make-standalone-toolchain.sh
find
run python `dirname $0`/make_standalone_toolchain.py \
--arch $ARCH $PLATFORM_ARG --stl $STL $INSTALL_ARG $FORCE_ARG
append –deprecated-headers
like this
run python `dirname $0`/make_standalone_toolchain.py \
--arch $ARCH $PLATFORM_ARG --stl $STL $INSTALL_ARG $FORCE_ARG --deprecated-headers
Sorry, I only build openssl and curl on MacOS X
Hi Leenjewel,
I am running build command as
1st build type
2nd output dir
3rd CLANG
./build-openssl4android.sh android-armeabi ~/tools/output -D__ANDROID_API__=21
still getting same error.
I have installed the clang on my Ubuntu 17.10 machine.
is it correct?
if it not work, edit YOUR_NDK_PATH/build/tools/make-standalone-toolchain.sh find
run python `dirname $0`/make_standalone_toolchain.py \
--arch $ARCH $PLATFORM_ARG --stl $STL $INSTALL_ARG $FORCE_ARG
append –deprecated-headers
like this
run python `dirname $0`/make_standalone_toolchain.py \
--arch $ARCH $PLATFORM_ARG --stl $STL $INSTALL_ARG $FORCE_ARG --deprecated-headers
Did you try it ?
Hi, I am building OpenSSL for android on Ubuntu 17.10. 1st I tried to run 'build-curl4android.sh' but getting error as below:![image](https://user-images.githubusercontent.com/23373711/44414365-37ccb580-a58b-11e8-8ea4-d641bfc29fa1.png)
and when run the 'build-openssl4android.sh android-armeabi' then![image](https://user-images.githubusercontent.com/23373711/44414964-ba09a980-a58c-11e8-8c07-b90193ad9801.png)
I am using tools as listed below:
Please advise me what are parameters need to pass i.e. ARCH=$1; OUT=$2; CLANG=${3:-""};
Your input will helpful to me. Thanks , Dinesh