Please help with the work " android-toolchain-arm "

There are 7 replies in this Thread which was already clicked 1,436 times. The last Post () by teak-won-do.

  • Please help with the work " android-toolchain-arm "


    After several adapters I can't make a working version for Android "24"


    Code
    export ANDROID_NDK_HOME=/HDD/OtHeR/BuIlD/File/android-ndk-r20
    
    ${ANDROID_NDK_HOME}/build/tools/make_standalone_toolchain.py --arch arm --api 24 --install-dir /HDD/OtHeR/BuIlD/OsCaM/Toolchain/android-toolchain


    install openssl 1.0.2t


    Code
    export TOOLCHAIN=/HDD/OtHeR/BuIlD/OsCaM/Toolchain/android-toolchain/
    
    export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc
    
    export RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib
    
    ./Configure --prefix=$TOOLCHAIN/sysroot/usr/ android-armv7
    
    make


    Look For error


    Code
    making all in crypto...
    make[1]: Entering directory '/HDD/OtHeR/BuIlD/File/openssl/openssl-1.0.2t/crypto'
    /usr/bin/perl ../util/mkbuildinf.pl "/HDD/OtHeR/BuIlD/OsCaM/Toolchain/android-toolchain/bin/arm-linux-androideabi-gcc -I. -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I/include -B/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM" "android-armv7" >buildinf.h
    /HDD/OtHeR/BuIlD/OsCaM/Toolchain/android-toolchain/bin/arm-linux-androideabi-gcc -I. -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=armv7-a -mandroid -I/include -B/lib -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM   -c -o cryptlib.o cryptlib.c
    clang80: error: unknown argument: '-mandroid'
    make[1]: *** [<builtin>: cryptlib.o] Error 1
    make[1]: Leaving directory '/HDD/OtHeR/BuIlD/File/openssl/openssl-1.0.2t/crypto'
    make: *** [Makefile:287: build_crypto] Error 1


    Please help with the work

    please use "like" button if you are satisfied thanks


    firework.gif



  • Code
    make LIB_PTHREAD= CROSS=/HDD/OtHeR/BuIlD/OsCaM/Toolchain/android-toolchain/bin/arm-linux-androideabi- ANDROID_NDK=24 CONF_DIR=/data/plugin/oscam STAPI_LIB=/HDD/OtHeR/BuIlD/OsCaM/stapi/libwi.a USE_STAPI=1 USE_UTF8=1 USE_LIBCRYPTO=1 USE_LIBUSB=1

    please use "like" button if you are satisfied thanks


    firework.gif



  • please use "like" button if you are satisfied thanks


    firework.gif

  • b108a.pngAny other language is permitted only in international sub forum and in the specific sections

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!