Ocsam crosscompile pcsc

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

  • Hello people.


    Problem with compiling oscam with pcsc support for the BTHomeHub 5 running Lede.


    Compiling on ubuntu with all packages required including pcsc and using Lede SDK but i get a constant fail when trying to compile with pcsc.


    Crosscomping without pcsc completes with no errors.


    Im using the following command


    Code
    make CROSS=/home/user/Downloads/lede-sdk-lantiq-xrx200_gcc-5.4.0_musl-1.1.15.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/bin/mips-openwrt-linux- CONF_DIR=/etc/config/oscam/ USE_PCSC=1


    and it fails with


    Code
    CONF	build/mips-openwrt-linux-musl-pcsc/config.c
    LINK	Distribution/oscam-1.20-unstable_svn11277-mips-openwrt-linux-musl-pcsc.debug
    /home/user/Downloads/lede-sdk-lantiq-xrx200_gcc-5.4.0_musl-1.1.15.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.15/bin/../lib/gcc/mips-openwrt-linux-musl/5.4.0/../../../../mips-openwrt-linux-musl/bin/ld: cannot find -lpcsclite
    collect2: error: ld returned 1 exit status
    Makefile:396: recipe for target 'Distribution/oscam-1.20-unstable_svn11277-mips-openwrt-linux-musl-pcsc.debug' failed
    make[1]: *** [Distribution/oscam-1.20-unstable_svn11277-mips-openwrt-linux-musl-pcsc.debug] Error 1
    Makefile:365: recipe for target 'all' failed
    make: *** [all] Error 2



    Any one know where im going wrong with this?


    Thanks

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!