Hi All,

I am trying to run vdr-plugin-sc on my D-link DNS323 running debian. This NAS has an ARM processor, so FFdecsa fails to compile.
I am however able to compile and run vdr-plugin-dvb-api. (I cannot connect to OSCAM yet, but that's another discussion)
vdr-plugin-dvb-api has code to use both FFdecsa and dvbcsa.

I have changed the source of vdr-plugin-sc to use dvbcsa. This compiles and installs fine, but I see the following error in /var/log/syslog when I start VDR
vdr: [8061] ERROR: /usr/lib/vdr/plugins/libvdr-sc.so.1.7.28: undefined symbol: _Z18dvbcsa_bs_key_freeP15dvbcsa_bs_key_s
vdr: [8118] VDR version 1.7.28 started

I see a strange thing with ldd, libdvbcsa.so.1 has not been linked in. I guess I have forgot to tell the linker to use that library:
# ldd /usr/lib/vdr/plugins/libsc-cardclient-30.so.1.7.28
    libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabi/libcrypto.so.1.0.0 (0xb6da5000)
    libcrypt.so.1 => /lib/arm-linux-gnueabi/libcrypt.so.1 (0xb6d73000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6 (0xb6ca4000)
    libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0xb6bfb000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0xb6bd1000)
    libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0xb6a9b000)
    libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0xb6a8f000)
    libz.so.1 => /lib/arm-linux-gnueabi/libz.so.1 (0xb6a71000)
    /lib/ld-linux.so.3 (0xb6f47000)

# ldd /usr/lib/vdr/plugins/libvdr-sc.so.1.7.28          
    libcrypto.so.1.0.0 => /usr/lib/arm-linux-gnueabi/libcrypto.so.1.0.0 (0xb6d31000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6 (0xb6c61000)
    libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0xb6bb8000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0xb6b8e000)
    libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0xb6a58000)
    libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0xb6a4d000)
    libz.so.1 => /lib/arm-linux-gnueabi/libz.so.1 (0xb6a2e000)
    /lib/ld-linux.so.3 (0xb6f08000)

# ldd /usr/lib/vdr/plugins/libvdr-dvbapi.so   
    libdvbcsa.so.1 => /usr/lib/arm-linux-gnueabi/libdvbcsa.so.1 (0xb6f9b000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6 (0xb6ecb000)
    libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0xb6e22000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0xb6df8000)
    libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0xb6cc2000)
    /lib/ld-linux.so.3 (0xb6fe1000)

Could somebody have a look at my Makefile (attached)? I suspect I made a mistake there

Best regards,
Cedric