Andoid Compile Error - OSCAM-SVN 11429

There is 1 reply in this Thread which was already clicked 1,687 times. The last Post () by odem2014.

  • I'm running these commands:


    wget https://dl.google.com/android/repository...inux-x86_64.zip

    unzip android-ndk-r17b-linux-x86_64.zip

    cd android-ndk-r17b/build/tools

    export TOOLCHAIN=/android-toolchain

    ./make_standalone_toolchain.py --arch arm --api 27 --install-dir /android-toolchain

    wget http://www.openssl.org/source/openssl-1.0.1g.tar.gz

    tar -xf openssl-1.0.1g.tar.gz

    cd openssl-1.0.1g

    export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc

    export RANLIB=$TOOLCHAIN/bin/arm-linux-androideabi-ranlib

    ./Configure --prefix=$TOOLCHAIN/sysroot/usr android

    make

    make install_sw

    svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn

    wget https://github.com/oscam-emu/oscam-emu/r...oscam-emu.patch

    cd oscam-svn

    patch -p0 < ../oscam-emu.patch

    ./config.sh --enable WEBIF WITH_SSL IPV6SUPPORT

    make static EXTRA_FLAGS="-pie" LIB_RT= LIB_PTHREAD= CROSS=/android-toolchain/bin/arm-linux-androideabi-


    and I'm getting this error:


    CONF build/arm-linux-androideabi-ssl-static/config.c LINK Distribution/oscam-1.20_svn11429-arm-linux-androideabi-ssl-static.debug csctapi/ifd_db2com.c:26: e

    rror: undefined reference to 'major' csctapi/ifd_db2com.c:27:

    error: undefined reference to 'minor' collect2: error: ld returned 1 exit status Makefile:426: recipe for target 'Distribution/oscam-1.20_svn11429-arm-linux-androideabi-ssl-static.debug' failed make[2]: *** [Distribution/oscam-1.20_svn11429-arm-linux-androideabi-ssl-static.debug] Error 1 Makefile:395: recipe for target 'all' failed make[1]: *** [all] Error 2 Makefile.extra:263: recipe for target 'static' failed make: *** [static] Error 2



    any suggestion???


    Thanks.

  • master G

    Added the Label Compile Oscam Support

Your resource for OSCam softcam

Find configs, downloads, tutorials, and support for setting up and optimizing this open-source card server with wide protocol compatibility. Master the versatile OSCam softcam. Access support, configs, tutorials, and downloads for open-source card sharing and multi-protocol server management.

Participate now!

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