pipelka / vdr-plugin-xvdr

DISCONTINUED - XVDR Plugin for VDR
GNU General Public License v2.0
43 stars 22 forks source link

Gentoo - can't compile - class error #65

Closed jzvc closed 11 years ago

jzvc commented 12 years ago

When I test compile latest sources on Gentoo system, I get error with class:

i586-pc-linux-gnu-g++ -mtune=athlon -O2 -pipe -fPIC -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_CMDRECCMDI18N -DUSE_CMDSUBMENU -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_MAINMENUHOOKS -DUSE_PLUGINMISSING -DUSE_PLUGINPARAM -DPLUGIN_NAME_I18N='"xvdr"' -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DXVDR_VERSION='"0.9.5"' -I/usr/include -I/usr/include  -I/usr/include/vdr -I./src -I. -o src/recordings/recplayer.o src/recordings/recplayer.c
src/live/livereceiver.c: In constructor ‘cLiveReceiver::cLiveReceiver(cLiveStreamer*, const cChannel*, int)’:
src/live/livereceiver.c:32:23: error: no matching function for call to ‘cReceiver::cReceiver(const cChannel*&, int&)’
/usr/include/vdr/receiver.h:41:3: note: candidates are: cReceiver::cReceiver(tChannelID, int, int, const int*, const int*, const int*)
/usr/include/vdr/receiver.h:17:17: note:                 cReceiver::cReceiver(const cReceiver&)
make: *** [src/live/livereceiver.o] Error 1
make: *** Waiting for unfinished jobs....
src/live/channelcache.c: In member function ‘void cChannelCache::CreateDemuxers(cLiveStreamer*)’:
src/live/channelcache.c:27:25: error: ‘class cLiveReceiver’ has no member named ‘SetPids’
src/live/channelcache.c:36:29: error: ‘class cLiveReceiver’ has no member named ‘AddPid’
make: *** [src/live/channelcache.o] Error 1
oliv3r commented 12 years ago

SetPids and AddPid is something from the newer vdr, the current 1.6.* branch Gentoo is working with is apparently not supported (yet). Since gentoo only packages the stable 1.6 branch, this is all we have. I think it's pretty safe to just remove these calls from the module and compile without. But the author will have to confirm.

muzixa commented 12 years ago

Gentoo portage stable vdr at this moment 1.6.0_p2-r7 & 1.6.0_p2-r10, with this versions I have the same problem. The solution for me was to install media-video/vdr-1.7.29 from vdr-devel subversion reposotory.

layman -a vdr-devel unmask and compile, that fix compile error

P.S. - sorry for my english

tkurbad commented 11 years ago

I think this one can be closed, too. All plugin build errors for recent VDR releases on Gentoo are fixed by now.