Closed fleixi closed 10 years ago
Hi. You are probably doing the make in the plugin directory, not in the vdr main dir. To fix current situation you need to do 'make clean' in the plugin source directory, then go to main vdr dir and type there: make LIBDVBCSA=1 and to install: make LIBDVBCSA=1 install-plugins
Did it help?
Sorry i had no time the last days.
If i try to compile it in the mainfolder i get this:
~/git/vdr_source/vdr-2.0.5%make plugin LIBDVBCSA=1
cc plugin.o -o plugin
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.2/../../../crt1.o: In function _start': (.text+0x34): undefined reference to
main'
plugin.o: In function cPlugin::~cPlugin()': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:40: undefined reference to
operator delete(void_)'
plugin.o: In function cPlugin::Active()': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:82: undefined reference to
cString::cString(char const_, bool)'
plugin.o: In function cPlugin::SVDRPCommand(char const*, char const*, int&)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:132: undefined reference to
cString::cString(char const_, bool)'
plugin.o: In function cDll::~cDll()': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:191: undefined reference to
dlclose'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:194: undefined reference to cListObject::~cListObject()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:194: undefined reference to
cListObject::~cListObject()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:194: undefined reference to __cxa_end_cleanup' plugin.o: In function
cDll::~cDll()':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:194: undefined reference to `operator delete(void)'
plugin.o: In function cPlugin::SetName(char const*)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:45: undefined reference to
I18nRegister(char const)'
plugin.o: In function `cPlugin::SetupStore(char const, char const_)':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:112: undefined reference to `cSetup::Store(char const, char const, char const, bool)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:113: undefined reference to Setup' plugin.o: In function
cPlugin::SetupStore(char const, int)':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:117: undefined reference to `cSetup::Store(char const, int, char const_)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:117: undefined reference to Setup' plugin.o: In function
cPlugin::SetConfigDirectory(char const)':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:137: undefined reference to cString::operator=(char const*)' plugin.o: In function
cPlugin::ConfigDirectory(char const)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:142: undefined reference to __cxa_guard_acquire' plugin.o: In function
cThread::IsMainThread()':
/home/odroid/git/vdrsource/vdr-2.0.5/thread.h:125: undefined reference to cThread::ThreadId()' plugin.o: In function
cPlugin::ConfigDirectory(char const)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:144: undefined reference to syslog_with_tid(int, char const*, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to
cString::sprintf(char const_, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to cString::operator=(cString const&)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to
cString::~cString()'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:146: undefined reference to `MakeDirs(char const, bool)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:142: undefined reference to cString::cString(char const*, bool)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:142: undefined reference to
cxa_guard_release'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:142: undefined reference to __cxa_guard_abort' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:142: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to cThread::mainThreadId' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:145: undefined reference to
SysLogLevel'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:145: undefined reference to cString::~cString()' plugin.o: In function
cPlugin::SetCacheDirectory(char const)':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:151: undefined reference to `cString::operator=(char const)'
plugin.o: In function cPlugin::CacheDirectory(char const*)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:156: undefined reference to
__cxa_guard_acquire'
plugin.o: In function cThread::IsMainThread()': /home/odroid/git/vdr_source/vdr-2.0.5/thread.h:125: undefined reference to
cThread::ThreadId()'
plugin.o: In function cPlugin::CacheDirectory(char const*)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:158: undefined reference to
syslog_withtid(int, char const, ...)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:159: undefined reference to `cString::sprintf(char const, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference to cString::operator=(cString const&)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference to
cString::~cString()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:160: undefined reference to MakeDirs(char const*, bool)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:156: undefined reference to
cString::cString(char const_, bool)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:156: undefined reference to `cxa_guard_release'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:156: undefined reference to__cxa_guard_abort' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:156: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference tocString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference tocThread::mainThreadId' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:159: undefined reference to
SysLogLevel'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:159: undefined reference tocString::~cString()' plugin.o: In function
cPlugin::SetResourceDirectory(char const)':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:165: undefined reference to cString::operator=(char const*)' plugin.o: In function
cPlugin::ResourceDirectory(char const)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:170: undefined reference to __cxa_guard_acquire' plugin.o: In function
cThread::IsMainThread()':
/home/odroid/git/vdrsource/vdr-2.0.5/thread.h:125: undefined reference to cThread::ThreadId()' plugin.o: In function
cPlugin::ResourceDirectory(char const)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:172: undefined reference to syslog_with_tid(int, char const*, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to
cString::sprintf(char const_, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to cString::operator=(cString const&)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to
cString::~cString()'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:174: undefined reference to `MakeDirs(char const, bool)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:170: undefined reference to cString::cString(char const*, bool)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:170: undefined reference to
cxa_guard_release'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:170: undefined reference to __cxa_guard_abort' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:170: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to cThread::mainThreadId' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:173: undefined reference to
SysLogLevel'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:173: undefined reference to cString::~cString()' plugin.o: In function
cDll::cDll(char const, char const_)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:179: undefined reference to cListObject::cListObject()' plugin.o: In function
cDll::Load(bool)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:218: undefined reference to syslog_with_tid(int, char const*, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:220: undefined reference to
syslog_withtid(int, char const, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:223: undefined reference to dlopen' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:224: undefined reference to
dlerror'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:281: undefined reference to syslog_with_tid(int, char const_, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:227: undefined reference to
dlsym'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:228: undefined reference todlerror' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:235: undefined reference to
stripspace(char)'
plugin.o: In functionSkipQuote': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:210: undefined reference to
syslog_with_tid(int, char const, ...)'
plugin.o: In functioncDll::Load(bool)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:246: undefined reference to
syslog_with_tid(int, char const*, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:262: undefined reference tosyslog_with_tid(int, char const_, ...)' plugin.o: In function
cDll::Load(bool)':
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:198: undefined reference toSysLogLevel' plugin.o: In function
cList':
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference tocListBase::cListBase()' plugin.o: In function
~cList':
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference tocListBase::~cListBase()' /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
cxa_endcleanup'
plugin.o: In function`cPluginManager::AddPlugin(char const)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to cString::sprintf(char const*, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to
operator new(unsigned int)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to cListBase::Add(cListObject*, cListObject*)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to
cString::~cString()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:321: undefined reference to cReadDir::cReadDir(char const*)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:323: undefined reference to
cReadDir::Next()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:338: undefined reference to cReadDir::~cReadDir()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:338: undefined reference to
cReadDir::~cReadDir()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:338: undefined reference to __cxa_end_cleanup' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to
operator delete(void_)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:344: undefined reference to
cxa_end_cleanup'
plugin.o: In function cPluginManager::InitializePlugins()': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:362: undefined reference to
syslog_withtid(int, char const, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:368: undefined reference to SysLogLevel' plugin.o: In function
cPluginManager::StartPlugins()':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:375: undefined reference to syslog_with_tid(int, char const*, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:381: undefined reference to
SysLogLevel'
plugin.o: In function cList<cDll>::Get(int) const': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:481: undefined reference to
cListBase::Get(int) const'
plugin.o: In function cPluginManager::Active(char const*)': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:416: undefined reference to
isempty(char const_)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:417: undefined reference to `cString::sprintf(char const, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:417: undefined reference to cInterface::Confirm(char const*, int, bool)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:417: undefined reference to
cString::~cString()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:419: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:419: undefined reference to
cString::~cString()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:416: undefined reference to isempty(char const*)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:418: undefined reference to
cString::~cString()'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:419: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:419: undefined reference to
cxa_end_cleanup'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:417: undefined reference to cString::~cString()' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:417: undefined reference to
Interface'
plugin.o: In function cList<cDll>::Get(int) const': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:481: undefined reference to
cListBase::Get(int) const'
plugin.o: In function cPluginManager::StopPlugins()': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:499: undefined reference to
syslog_withtid(int, char const, ...)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:496: undefined reference to SysLogLevel' plugin.o: In function
cPluginManager::Shutdown(bool)':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:512: undefined reference to syslog_with_tid(int, char const_, ...)' /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:513: undefined reference to
cListBase::Del(cListObject, bool)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:509: undefined reference toSysLogLevel' plugin.o: In function
~cList':
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference tocListBase::~cListBase()' /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
cListBase::~cListBase()'
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to__cxa_end_cleanup' plugin.o: In function
cPluginManager::~cPluginManager()':
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:310: undefined reference to`operator delete(void)'
plugin.o:(.ARM.extab+0x0): undefined reference to __gxx_personality_v0' plugin.o:(.ARM.extab+0x18): undefined reference to
gxx_personality_v0'
plugin.o:(.ARM.extab+0x44): undefined reference to `gxx_personality_v0'
plugin.o:(.ARM.extab+0x70): undefined reference to__gxx_personality_v0' plugin.o:(.ARM.extab+0xa8): undefined reference to
gxx_personality_v0'
plugin.o:(.ARM.extab+0xc4): more undefined references to`gxx_personality_v0' follow
plugin.o: In function cList<cDll>::~cList()': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
cListBase::~cListBase()'
plugin.o: In function ~cList': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
cListBase::~cListBase()'
plugin.o: In function cList<cDll>::~cList()': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
operator delete(void_)'
plugin.o: In function ~cList': /home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to
cListBase::~cListBase()'
/home/odroid/git/vdr_source/vdr-2.0.5/tools.h:479: undefined reference to cListBase::~cListBase()' plugin.o: In function
cDlls::~cDlls()':
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.h:81: undefined reference to `operator delete(void)'
plugin.o: In function__static_initialization_and_destruction_0': /home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:28: undefined reference to
cString::cString(char const*, bool)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:29: undefined reference to`cString::cString(char const, bool)'
/home/odroid/git/vdrsource/vdr-2.0.5/plugin.c:30: undefined reference to `cString::cString(char const, bool)'
/home/odroid/git/vdr_source/vdr-2.0.5/plugin.c:30: undefined reference to cString::~cString()' plugin.o:(.data.rel.ro._ZTI5cListI4cDllE[_ZTI5cListI4cDllE]+0x0): undefined reference to
vtable for cxxabiv1::si_class_type_info'
plugin.o:(.data.rel.ro._ZTI5cListI4cDllE[_ZTI5cListI4cDllE]+0x8): undefined reference to typeinfo for cListBase' plugin.o:(.data.rel.ro._ZTI5cDlls[_ZTI5cDlls]+0x0): undefined reference to
vtable for cxxabiv1::si_class_type_info'
plugin.o:(.data.rel.ro._ZTV5cListI4cDllE[_ZTV5cListI4cDllE]+0x10): undefined reference to cListBase::Move(int, int)' plugin.o:(.data.rel.ro._ZTV5cListI4cDllE[_ZTV5cListI4cDllE]+0x14): undefined reference to
cListBase::Clear()'
plugin.o:(.data.rel.ro._ZTV5cDlls[_ZTV5cDlls]+0x10): undefined reference to cListBase::Move(int, int)' plugin.o:(.data.rel.ro._ZTV5cDlls[_ZTV5cDlls]+0x14): undefined reference to
cListBase::Clear()'
plugin.o:(.data.rel.ro+0x0): undefined reference to vtable for __cxxabiv1::__class_type_info' plugin.o:(.data.rel.ro+0x8): undefined reference to
vtable for cxxabiv1::si_class_type_info'
plugin.o:(.data.rel.ro+0x10): undefined reference to typeinfo for cListObject' plugin.o:(.data.rel.ro+0x14): undefined reference to
vtable for cxxabiv1::class_type_info'
plugin.o:(.data.rel.ro+0x30): undefined reference to __cxa_pure_virtual' plugin.o:(.data.rel.ro+0x34): undefined reference to
__cxa_pure_virtual'
collect2: error: ld return exit status 1
make: *\ [plugin] error 1
I have tried to use "make LIBDVBCSA=1" but then there is no error-output, just a fail to build dvbapi
You did not mention that you are using such old VDR version! And probably you don't even read the documentation, see here: https://github.com/manio/vdr-plugin-dvbapi/blob/master/README#L60 You need the older plugin version (1.0.6).
I built it with the following commands:
wget ftp://ftp.tvdr.de/vdr/vdr-2.0.5.tar.bz2 tar xjf vdr-2.0.5.tar.bz2 cd vdr-2.0.5 cd PLUGINS/src git clone git://github.com/manio/vdr-plugin-dvbapi.git dvbapi cd dvbapi git checkout v1.0.6 cd ../../.. make plugins
And it compiled without any problems. You may also try this (maybe using LIBDVBCSA)...
i didnt noticed that 2.0.5 is such and old version. it is the standart in fedora 20. i think i will compile a newer version from vdr and try it then again. im very sorry having to annoing you with such a stupid mistake. really sorry
Don't be sorry and don't take it as an offend. In fact maybe it's not "such old" version, it is from Jan 7. It is a stable version, now the current stable version is 2.0.6. In fact I never use those versions, but always the "Developer" versions. Of course it's just up to you...
I have now the actual git repo from vdr and a normal "make LIBDVBCSA=1" work fine but after that i get this errors:
sudo make install if [ -n "/usr/local/lib/pkgconfig" ] ; then\ mkdir -p /usr/local/lib/pkgconfig ;\ cp vdr.pc /usr/local/lib/pkgconfig ;\ fi
* Plugin dvbapi: g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fexpensive-optimizations -funroll-loops -mmmx -msse -msse2 -msse3 -DPARALLEL_MODE=PARALLEL_128_SSE2 -c FFdecsa.c g++: error: unrecognized command line option »-mmmx« g++: error: unrecognized command line option »-msse« g++: error: unrecognized command line option »-msse2« g++: error: unrecognized command line option »-msse3« make[2]: * [FFdecsa.o] error 1 make[1]: *\ [FFdecsa/FFdecsa.o] error 2
*\ failed plugins: dvbapi
make: * [plugins] Fehler 1
[odroid@localhost]~/git/vdr% make plugin LIBDVBCSA=1
cc plugin.o -o plugin
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.8.2/../../../crt1.o: In function _start': (.text+0x34): undefined reference to
main'
plugin.o: In function cPlugin::~cPlugin()': plugin.c:(.text+0x98): undefined reference to
operator delete(void)'
plugin.o: In function cPlugin::Active()': plugin.c:(.text+0xb4): undefined reference to
cString::cString(char const, bool)'
plugin.o: In function cPlugin::SVDRPCommand(char const*, char const*, int&)': plugin.c:(.text+0xd0): undefined reference to
cString::cString(char const_, bool)'
plugin.o: In function cDll::~cDll()': plugin.c:(.text+0x120): undefined reference to
dlclose'
plugin.c:(.text+0x138): undefined reference to cListObject::~cListObject()' plugin.c:(.text+0x148): undefined reference to
cListObject::~cListObject()'
plugin.c:(.text+0x14c): undefined reference to __cxa_end_cleanup' plugin.o: In function
cDll::~cDll()':
plugin.c:(.text+0x168): undefined reference to operator delete(void_)' plugin.o: In function
cPlugin::SetName(char const)':
plugin.c:(.text+0x1ac): undefined reference toI18nRegister(char const_)' plugin.o: In function
cPlugin::SetupStore(char const, char const)':
plugin.c:(.text+0x1d4): undefined reference to cSetup::Store(char const_, char const_, char const_, bool)' plugin.c:(.text+0x1e4): undefined reference to
Setup'
plugin.o: In functioncPlugin::SetupStore(char const_, int)': plugin.c:(.text+0x204): undefined reference to
cSetup::Store(char const, int, char const)'
plugin.c:(.text+0x20c): undefined reference to Setup' plugin.o: In function
cPlugin::SetConfigDirectory(char const_)':
plugin.c:(.text+0x224): undefined reference to `cString::operator=(char const)'
plugin.o: In functioncPlugin::ConfigDirectory(char const_)': plugin.c:(.text+0x25c): undefined reference to
cxa_guard_acquire'
plugin.c:(.text+0x268): undefined reference tocThread::ThreadId()' plugin.c:(.text+0x2b0): undefined reference to
syslog_withtid(int, char const, ...)'
plugin.c:(.text+0x2e4): undefined reference to cString::sprintf(char const*, ...)' plugin.c:(.text+0x2f8): undefined reference to
cString::operator=(cString const&)'
plugin.c:(.text+0x304): undefined reference to cString::~cString()' plugin.c:(.text+0x314): undefined reference to
MakeDirs(char const, bool)'
plugin.c:(.text+0x334): undefined reference to `cString::cString(char const, bool)'
plugin.c:(.text+0x344): undefined reference to __cxa_guard_release' plugin.c:(.text+0x37c): undefined reference to
cxa_guard_abort'
plugin.c:(.text+0x380): undefined reference to `cxa_end_cleanup'
plugin.c:(.text+0x388): undefined reference tocString::~cString()' plugin.c:(.text+0x38c): undefined reference to
cxa_endcleanup'
plugin.c:(.text+0x398): undefined reference tocThread::mainThreadId' plugin.c:(.text+0x39c): undefined reference to
SysLogLevel'
plugin.c:(.text+0x3c0): undefined reference tocString::~cString()' plugin.o: In function
cPlugin::SetCacheDirectory(char const*)':
plugin.c:(.text+0x3e4): undefined reference to`cString::operator=(char const)'
plugin.o: In function cPlugin::CacheDirectory(char const_)': plugin.c:(.text+0x41c): undefined reference to
cxa_guard_acquire'
plugin.c:(.text+0x428): undefined reference tocThread::ThreadId()' plugin.c:(.text+0x470): undefined reference to
syslog_withtid(int, char const*, ...)'
plugin.c:(.text+0x4a4): undefined reference to`cString::sprintf(char const, ...)'
plugin.c:(.text+0x4b8): undefined reference to cString::operator=(cString const&)' plugin.c:(.text+0x4c4): undefined reference to
cString::~cString()'
plugin.c:(.text+0x4d4): undefined reference to MakeDirs(char const_, bool)' plugin.c:(.text+0x4f4): undefined reference to
cString::cString(char const, bool)'
plugin.c:(.text+0x504): undefined reference to__cxa_guard_release' plugin.c:(.text+0x540): undefined reference to
cxa_guard_abort'
plugin.c:(.text+0x544): undefined reference to`cxa_end_cleanup'
plugin.c:(.text+0x54c): undefined reference to cString::~cString()' plugin.c:(.text+0x550): undefined reference to
__cxa_endcleanup'
plugin.c:(.text+0x55c): undefined reference to cThread::mainThreadId' plugin.c:(.text+0x560): undefined reference to
SysLogLevel'
plugin.c:(.text+0x584): undefined reference to cString::~cString()' plugin.o: In function
cPlugin::SetResourceDirectory(char const)':
plugin.c:(.text+0x5a8): undefined reference to cString::operator=(char const_)' plugin.o: In function
cPlugin::ResourceDirectory(char const)':
plugin.c:(.text+0x5e0): undefined reference to__cxa_guard_acquire' plugin.c:(.text+0x5ec): undefined reference to
cThread::ThreadId()'
plugin.c:(.text+0x634): undefined reference tosyslog_with_tid(int, char const_, ...)' plugin.c:(.text+0x668): undefined reference to
cString::sprintf(char const, ...)'
plugin.c:(.text+0x67c): undefined reference to cString::operator=(cString const&)' plugin.c:(.text+0x688): undefined reference to
cString::~cString()'
plugin.c:(.text+0x698): undefined reference to MakeDirs(char const*, bool)' plugin.c:(.text+0x6b8): undefined reference to
cString::cString(char const, bool)'
plugin.c:(.text+0x6c8): undefined reference to `cxa_guard_release'
plugin.c:(.text+0x704): undefined reference to__cxa_guard_abort' plugin.c:(.text+0x708): undefined reference to
cxa_end_cleanup'
plugin.c:(.text+0x710): undefined reference tocString::~cString()' plugin.c:(.text+0x714): undefined reference to
cxa_endcleanup'
plugin.c:(.text+0x720): undefined reference tocThread::mainThreadId' plugin.c:(.text+0x724): undefined reference to
SysLogLevel'
plugin.c:(.text+0x748): undefined reference tocString::~cString()' plugin.o: In function
cDll::cDll(char const, char const_)':
plugin.c:(.text+0x76c): undefined reference to cListObject::cListObject()' plugin.o: In function
cDll::Load(bool)':
plugin.c:(.text+0x804): undefined reference to syslog_with_tid(int, char const_, ...)' plugin.c:(.text+0x838): undefined reference to
syslog_with_tid(int, char const, ...)'
plugin.c:(.text+0x854): undefined reference todlopen' plugin.c:(.text+0x85c): undefined reference to
dlerror'
plugin.c:(.text+0x88c): undefined reference tosyslog_with_tid(int, char const_, ...)' plugin.c:(.text+0x8cc): undefined reference to
dlsym'
plugin.c:(.text+0x8d4): undefined reference todlerror' plugin.c:(.text+0x8fc): undefined reference to
stripspace(char_)'
plugin.c:(.text+0x9dc): undefined reference to `syslog_with_tid(int, char const, ...)'
plugin.c:(.text+0xb88): undefined reference tosyslog_with_tid(int, char const_, ...)' plugin.c:(.text+0xc14): undefined reference to
syslog_withtid(int, char const, ...)'
plugin.c:(.text+0xc5c): undefined reference to SysLogLevel' plugin.o: In function
cPluginManager::cPluginManager(char const_)':
plugin.c:(.text+0xcec): undefined reference to cListBase::cListBase()' plugin.c:(.text+0xd90): undefined reference to
cListBase::~cListBase()'
plugin.c:(.text+0xd94): undefined reference to __cxa_end_cleanup' plugin.o: In function
cPluginManager::AddPlugin(char const_)':
plugin.c:(.text+0xe60): undefined reference to cString::sprintf(char const*, ...)' plugin.c:(.text+0xe6c): undefined reference to
operator new(unsigned int)'
plugin.c:(.text+0xe8c): undefined reference to cListBase::Add(cListObject*, cListObject*)' plugin.c:(.text+0xe94): undefined reference to
cString::~cString()'
plugin.c:(.text+0xed0): undefined reference to cReadDir::cReadDir(char const*)' plugin.c:(.text+0xef8): undefined reference to
cReadDir::Next()'
plugin.c:(.text+0xf70): undefined reference to cReadDir::~cReadDir()' plugin.c:(.text+0xfc0): undefined reference to
cReadDir::~cReadDir()'
plugin.c:(.text+0xfc4): undefined reference to __cxa_end_cleanup' plugin.c:(.text+0xfcc): undefined reference to
cString::~cString()'
plugin.c:(.text+0xfd0): undefined reference to __cxa_end_cleanup' plugin.c:(.text+0xfdc): undefined reference to
operator delete(void_)'
plugin.o: In function cPluginManager::InitializePlugins()': plugin.c:(.text+0x10c4): undefined reference to
syslog_withtid(int, char const, ...)'
plugin.c:(.text+0x1100): undefined reference to SysLogLevel' plugin.o: In function
cPluginManager::StartPlugins()':
plugin.c:(.text+0x1154): undefined reference to syslog_with_tid(int, char const*, ...)' plugin.c:(.text+0x1190): undefined reference to
SysLogLevel'
plugin.o: In function cPluginManager::Housekeeping()': plugin.c:(.text+0x11d8): undefined reference to
cListBase::Get(int) const'
plugin.o: In function cPluginManager::Active(char const*)': plugin.c:(.text+0x12cc): undefined reference to
isempty(char const)'
plugin.c:(.text+0x12f4): undefined reference to `cString::sprintf(char const, ...)'
plugin.c:(.text+0x1308): undefined reference to cInterface::Confirm(char const*, int, bool)' plugin.c:(.text+0x1314): undefined reference to
cString::~cString()'
plugin.c:(.text+0x1324): undefined reference to cString::~cString()' plugin.c:(.text+0x1344): undefined reference to
cString::~cString()'
plugin.c:(.text+0x1374): undefined reference to isempty(char const*)' plugin.c:(.text+0x1384): undefined reference to
cString::~cString()'
plugin.c:(.text+0x1398): undefined reference to cString::~cString()' plugin.c:(.text+0x139c): undefined reference to
cxa_end_cleanup'
plugin.c:(.text+0x13a4): undefined reference to cString::~cString()' plugin.c:(.text+0x13b8): undefined reference to
Interface'
plugin.o: In function cPluginManager::GetPlugin(int)': plugin.c:(.text+0x14c0): undefined reference to
cListBase::Get(int) const'
plugin.o: In function cPluginManager::StopPlugins()': plugin.c:(.text+0x16d8): undefined reference to
syslog_withtid(int, char const, ...)'
plugin.c:(.text+0x1708): undefined reference to SysLogLevel' plugin.o: In function
cPluginManager::Shutdown(bool)':
plugin.c:(.text+0x1770): undefined reference to syslog_with_tid(int, char const_, ...)' plugin.c:(.text+0x1780): undefined reference to
cListBase::Del(cListObject*, bool)'
plugin.c:(.text+0x179c): undefined reference toSysLogLevel' plugin.o: In function
cPluginManager::~cPluginManager()':
plugin.c:(.text+0x17fc): undefined reference tocListBase::~cListBase()' plugin.c:(.text+0x181c): undefined reference to
cListBase::~cListBase()'
plugin.c:(.text+0x1820): undefined reference to`cxa_endcleanup'
plugin.o: In function cPluginManager::~cPluginManager()': plugin.c:(.text+0x1844): undefined reference to
operator delete(void)'
plugin.o:(.ARM.extab+0x0): undefined reference to __gxx_personality_v0' plugin.o:(.ARM.extab+0x18): undefined reference to
gxx_personality_v0'
plugin.o:(.ARM.extab+0x44): undefined reference to `gxx_personality_v0'
plugin.o:(.ARM.extab+0x70): undefined reference to__gxx_personality_v0' plugin.o:(.ARM.extab+0xa8): undefined reference to
gxx_personality_v0'
plugin.o:(.ARM.extab+0xc4): more undefined references to`gxx_personality_v0' follow
plugin.o: In function cList<cDll>::~cList()': plugin.c:(.text._ZN5cListI4cDllED2Ev[_ZN5cListI4cDllED5Ev]+0x20): undefined reference to
cListBase::~cListBase()'
plugin.o: In function cList<cDll>::~cList()': plugin.c:(.text._ZN5cListI4cDllED0Ev[_ZN5cListI4cDllED0Ev]+0x20): undefined reference to
cListBase::~cListBase()'
plugin.c:(.text._ZN5cListI4cDllED0Ev[ZN5cListI4cDllED0Ev]+0x28): undefined reference to `operator delete(void)'
plugin.o: In function cDlls::~cDlls()': plugin.c:(.text._ZN5cDllsD2Ev[_ZN5cDllsD5Ev]+0x20): undefined reference to
cListBase::~cListBase()'
plugin.o: In function cDlls::~cDlls()': plugin.c:(.text._ZN5cDllsD0Ev[_ZN5cDllsD0Ev]+0x20): undefined reference to
cListBase::~cListBase()'
plugin.c:(.text._ZN5cDllsD0Ev[_ZN5cDllsD0Ev]+0x28): undefined reference to operator delete(void*)' plugin.o: In function
_GLOBALsub_Iplugin.c':
plugin.c:(.text.startup+0x28): undefined reference to cString::cString(char const*, bool)' plugin.c:(.text.startup+0x58): undefined reference to
cString::cString(char const, bool)'
plugin.c:(.text.startup+0x80): undefined reference to cString::cString(char const_, bool)' plugin.c:(.text.startup+0xa4): undefined reference to
cString::~cString()'
plugin.o:(.data.rel.ro._ZTI5cListI4cDllE[_ZTI5cListI4cDllE]+0x0): undefined reference to`vtable for cxxabiv1::si_class_type_info'
plugin.o:(.data.rel.ro._ZTI5cListI4cDllE[_ZTI5cListI4cDllE]+0x8): undefined reference to typeinfo for cListBase' plugin.o:(.data.rel.ro._ZTI5cDlls[_ZTI5cDlls]+0x0): undefined reference to
vtable for cxxabiv1::si_class_type_info'
plugin.o:(.data.rel.ro._ZTV5cListI4cDllE[_ZTV5cListI4cDllE]+0x10): undefined reference to cListBase::Move(int, int)' plugin.o:(.data.rel.ro._ZTV5cListI4cDllE[_ZTV5cListI4cDllE]+0x14): undefined reference to
cListBase::Clear()'
plugin.o:(.data.rel.ro._ZTV5cDlls[_ZTV5cDlls]+0x10): undefined reference to cListBase::Move(int, int)' plugin.o:(.data.rel.ro._ZTV5cDlls[_ZTV5cDlls]+0x14): undefined reference to
cListBase::Clear()'
plugin.o:(.data.rel.ro+0x0): undefined reference to `vtable for cxxabiv1::class_type_info'
plugin.o:(.data.rel.ro+0x8): undefined reference to`vtable for cxxabiv1::__si_class_type_info'
plugin.o:(.data.rel.ro+0x10): undefined reference to typeinfo for cListObject' plugin.o:(.data.rel.ro+0x14): undefined reference to
vtable for cxxabiv1::class_type_info'
plugin.o:(.data.rel.ro+0x30): undefined reference to __cxa_pure_virtual' plugin.o:(.data.rel.ro+0x34): undefined reference to
__cxa_pure_virtual'
collect2: error: ld exit status 1
make: * [plugin] error 1
Sorry im not trained i fixing so problem on my own but i know that arm could not use "msse*"
You probably also need to install like this: make LIBDVBCSA=1 install-plugins (do it in the main vdr source dir).
But to make sure it doesn't interfere with previous build, type 'make clean' in the dvbapi plugin source dir before.
g++: error: unrecognized command line option »-mmmx« g++: error: unrecognized command line option »-msse« g++: error: unrecognized command line option »-msse2« g++: error: unrecognized command line option »-msse3«
mmmx, msse, msse2 and msse3 does not exist on ARM CPUs.
ok now it is working
to build i needto use "make LIBDVBCSA=1 && sudo make LIBDVBCSA=1 installiert"
Thankyou for helping
i get this error if i try to build thi project with libdvbcsa support
make LIBDVBCSA=1 g++ -O3 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protect or-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/r pm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=h ard -fPIC -Werror=overloaded-virtual -Wno-parentheses -D_GNU_SOURCE -D_FILE _OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGINNAME I18N='"dvbapi"' -DGITVERSION='"-GIT-bdcad3f"' -DLIBDVBCSA -o SCCAMSlot.o S CCAMSlot.cpp SCCAMSlot.cpp: In constructor ‘SCCAMSlot::SCCAMSlot(SCCIAdapter, int, int) ’: SCCAMSlot.cpp:43:54: error: no matching function for call to ‘cCamSlot::cCa mSlot(SCCIAdapter&, bool)’ , rb(KILOBYTE(4), 5 + LENOFF, false, "SC-CI slot answer") ^ SCCAMSlot.cpp:43:54: note: candidates are: In file included from SCCAMSlot.cpp:27:0: /usr/include/vdr/ci.h:150:3: note: cCamSlot::cCamSlot(cCiAdapter) cCamSlot(cCiAdapter CiAdapter); ^ /usr/include/vdr/ci.h:150:3: note: candidate expects 1 argument, 2 provid ed /usr/include/vdr/ci.h:125:7: note: cCamSlot::cCamSlot(const cCamSlot&) class cCamSlot : public cListObject { ^ /usr/include/vdr/ci.h:125:7: note: candidate expects 1 argument, 2 provid ed make: _* [SCCAMSlot.o] Error 1