manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
57 stars 25 forks source link

Failure of dvbapi that was compiled on an arm using LIBDVBCSA=1 #96

Closed chtugha closed 9 years ago

chtugha commented 9 years ago

I'm trying to build oscam + dvbapi for vdr-2.2.0 on Banana pi with Bananian (wheezy).

It compiles fine using command

 make clean
 make -j4 LIBDVBCSA=1 plugins

and installs also OK.

But when running the vdr, it fails:

vdr: /usr/local/lib/vdr/libvdr-dvbapi.so.2.2.0: undefined symbol: _Z21set_even_control_wordPvPKh

manio commented 9 years ago

You may try this: go into directory with plugin sources and 'make clean' there, then go into vdr main source directory and there make plugins as usual.

chtugha commented 9 years ago

Thank you for your reply. I tried that - nothing changed. If I build as usual (without LIBDVBCSA=1), it won't compile (no -mmx etc..). Compiling with libdvbcsa brings up the above Error. Seems like somebody else got that Problem too (http://comments.gmane.org/gmane.linux.vdr/48635). I will try to set up vdr from scratch tonight and report if the Error is replicable.

chtugha commented 9 years ago

Couldn't replicate it ... works like a charm now. But all attempts to build a debian package failed :) - compiled fine using debian/rules (initialy made by debianize-dvbplugin):

export LIBDVBCSA=1 MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr/plugins LOCALEDIR=locale CFLAGS+=-fPIC CXXFLAGS+=-fPIC

but failed in the end saying that dh_make couldn't find a file it already compiled..... maybe someone could try to fix this :)

Thanks for your time and effort !!

manio commented 9 years ago

Ah, good it is working. Regarding the debian package - sorry, I am not familiar with it... Anyway - closing the issue. Thanks for your input.