Hi All,
I'm trying to build vdr-plugin-live on arch linux. It gives the following error while compiling. I have downloaded the PKGBUILD files with this command: svn co https://archvdr.svn.sourceforge.net/svnroot/archvdr archvdr
How can I fix this? Best regards, Cedric
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -I/usr/include -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__KERNEL_STRICT_NAMES -DUSE_GRAPHTFT -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"live"' -DTNTVERSION=21000 -DHAVE_LIBPCRECPP -I/usr/include/vdr/include tasks.cpp tasks.cpp: In member function 'virtual void vdrlive::PlayRecordingTask::Action()': tasks.cpp:63:38: error: no matching function for call to 'cReplayControl::SetRecording(int, int)' tasks.cpp:63:38: note: candidate is: In file included from tasks.cpp:4:0: /usr/include/vdr/menu.h:300:15: note: static void cReplayControl::SetRecording(const char*) /usr/include/vdr/menu.h:300:15: note: candidate expects 1 argument, 2 provided tasks.cpp:65:75: error: no matching function for call to 'cReplayControl::SetRecording(const char*, const char*)' tasks.cpp:65:75: note: candidate is: In file included from tasks.cpp:4:0: /usr/include/vdr/menu.h:300:15: note: static void cReplayControl::SetRecording(const char*) /usr/include/vdr/menu.h:300:15: note: candidate expects 1 argument, 2 provided tasks.cpp: In member function 'virtual void vdrlive::StopRecordingTask::Action()': tasks.cpp:125:37: error: no matching function for call to 'cReplayControl::SetRecording(int, int)' tasks.cpp:125:37: note: candidate is: In file included from tasks.cpp:4:0: /usr/include/vdr/menu.h:300:15: note: static void cReplayControl::SetRecording(const char*) /usr/include/vdr/menu.h:300:15: note: candidate expects 1 argument, 2 provided make: *** [tasks.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting... [cedric@TV vdr-plugin-live-git]$
Am 16.10.2012 07:16, schrieb cedric.dewijs@telfort.nl:
Hi All,
I'm trying to build vdr-plugin-live on arch linux. It gives the following error while compiling. I have downloaded the PKGBUILD files with this command: svn co https://archvdr.svn.sourceforge.net/svnroot/archvdr archvdr
How can I fix this? Best regards, Cedric
Hi,
you need to apply this patch[1] before building the plugin.
Best Regards
[1] http://www.vdr-portal.de/board1-news/board2-vdr-news/p1083437-announce-vdr-d...
-- Oorspronkelijk bericht -- Date: Tue, 16 Oct 2012 09:01:36 +0200 From: Ole Ernst olebowle@gmx.com To: vdr@linuxtv.org Subject: Re: [vdr] plugin vdr-live failes to build Reply-To: VDR Mailing List vdr@linuxtv.org
Am 16.10.2012 07:16, schrieb cedric.dewijs@telfort.nl:
Hi All,
I'm trying to build vdr-plugin-live on arch linux. It gives the following error while compiling. I have downloaded the PKGBUILD files with this
command:
svn co https://archvdr.svn.sourceforge.net/svnroot/archvdr archvdr
How can I fix this? Best regards, Cedric
Hi,
you need to apply this patch[1] before building the plugin.
Best Regards
[1] http://www.vdr-portal.de/board1-news/board2-vdr-news/p1083437-announce-vdr-d...
Thank you, it works. Below are the required changes to the PKGBUILD: ... backup=('etc/vdr/plugins/plugin.live.conf') source=(plugin.live.conf fix_typo.patch live_1.7.28_fix.diff) install=vdr-plugin-$_pluginname-git.install conflicts=(vdr-plugin-$_pluginname) md5sums=('90f93b9d138b85deef022d4559f3f1dc' '5803ce45303698cd7489d6f8d1b80094' '74167417d121da69f1bd06235324440f')
build() { ... #patch -p1 -i ${srcdir}/fix_typo.patch || return 1 patch -p1 -i ${srcdir}/live_1.7.28_fix.diff || return 1 make VDRDIR="/usr/include/vdr" LIBDIR="." \ ...
Regards, Cedric