Message ID | eddfa47b0801280234s1ca9e426u554cc025b2ab42f7@mail.gmail.com |
---|---|
State | New |
Headers |
Received: from py-out-1112.google.com ([64.233.166.176]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from <morfsta@gmail.com>) id 1JJRJy-0000Zc-IP for vdr@linuxtv.org; Mon, 28 Jan 2008 11:34:34 +0100 Received: by py-out-1112.google.com with SMTP id a29so1830142pyi.0 for <vdr@linuxtv.org>; Mon, 28 Jan 2008 02:34:23 -0800 (PST) Received: by 10.142.99.21 with SMTP id w21mr2144144wfb.108.1201516463234; Mon, 28 Jan 2008 02:34:23 -0800 (PST) Received: by 10.142.147.8 with HTTP; Mon, 28 Jan 2008 02:34:23 -0800 (PST) Message-ID: <eddfa47b0801280234s1ca9e426u554cc025b2ab42f7@mail.gmail.com> Date: Mon, 28 Jan 2008 10:34:23 +0000 From: Morfsta <morfsta@gmail.com> To: "VDR Mailing List" <vdr@linuxtv.org> In-Reply-To: <479D0E50.8010505@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <479D0E50.8010505@gmx.de> Subject: [vdr] [ANNOUNCE] vdr-rotor support patches for VDR-1.5.14 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List <vdr@linuxtv.org> List-Id: VDR Mailing List <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> X-List-Received-Date: Mon, 28 Jan 2008 10:34:34 -0000 Status: O X-Status: X-Keywords: X-UID: 15328 |
Commit Message
Morfsta
Jan. 28, 2008, 10:34 a.m. UTC
I got the following error when compiling 1.5.14 with h264 patch applied and your VDR diff from the tgz: - g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -I/usr/include/freetype2 -I/root/multiproto/linux/include device.c device.c:793: error: prototype for âeSetChannelResult cDevice::SetChannel(const cChannel*, bool)â does not match any in class âcDeviceâ device.h:255: error: candidate is: eSetChannelResult cDevice::SetChannel(const cChannel*, bool, cDevice*) device.c: In member function âeSetChannelResult cDevice::SetChannel(const cChannel*, bool)â: device.c:813: error: call of overloaded âSetChannel(const cChannel*&, bool)â is ambiguous device.h:255: note: candidates are: eSetChannelResult cDevice::SetChannel(const cChannel*, bool, cDevice*) device.c:793: note: eSetChannelResult cDevice::SetChannel(const cChannel*, bool) make: *** [device.o] Error 1 The following patch fixes it: - StopReplay(); I'll test the functionality of the new rotor + patches shortly. I had a brief look through the output, should it now be able to scan DVB-S2 transponders? Thanks On Jan 27, 2008 11:05 PM, Reinhard Nissl <rnissl@gmx.de> wrote: > Hi, > > the attached patch is based on these files: > > vdr-rotor-0.1.4-vdr1.5.tgz > rotor-0.1.4-vdr-15.12.diff > > For simplicity a patched version is attached too. > > NOTES: > - I couldn't test with a real rotor device > - I couldn't test with a FF card > > Have fun! > > Bye. > -- > Dipl.-Inform. (FH) Reinhard Nissl > mailto:rnissl@gmx.de > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > >
Comments
Seems that I spoke too soon - I get a problem running rotor on my system after compilation: - vdr: ./PLUGINS/lib/libvdr-rotor.so.1.5.14: undefined symbol: _ZN7cDevice13SwitchChannelEPK8cChannelPS_ Whatever I try I can't seem to fix it. Reverting back to my old version of rotor works fine. On Jan 28, 2008 10:34 AM, Morfsta <morfsta@gmail.com> wrote: > I got the following error when compiling 1.5.14 with h264 patch > applied and your VDR diff from the tgz: - > > g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD > -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE > -DVIDEODIR=\"/video\" -DCONFDIR=\"/video\" > -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" > -I/usr/include/freetype2 -I/root/multiproto/linux/include device.c > device.c:793: error: prototype for âeSetChannelResult > cDevice::SetChannel(const cChannel*, bool)â does not match any in > class âcDeviceâ > device.h:255: error: candidate is: eSetChannelResult > cDevice::SetChannel(const cChannel*, bool, cDevice*) > device.c: In member function âeSetChannelResult > cDevice::SetChannel(const cChannel*, bool)â: > device.c:813: error: call of overloaded âSetChannel(const cChannel*&, > bool)â is ambiguous > device.h:255: note: candidates are: eSetChannelResult > cDevice::SetChannel(const cChannel*, bool, cDevice*) > device.c:793: note: eSetChannelResult > cDevice::SetChannel(const cChannel*, bool) > make: *** [device.o] Error 1 > > The following patch fixes it: - > > --- device.c 2008-01-28 10:33:00.000000000 +0000 > +++ device.c.new 2008-01-28 10:32:47.000000000 +0000 > @@ -790,7 +790,7 @@ bool cDevice::SwitchChannel(int Directio > return result; > } > > -eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView) > +eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool > LiveView, cDevice *SpecificSourceDevice) > { > if (LiveView) { > StopReplay(); > > I'll test the functionality of the new rotor + patches shortly. I had > a brief look through the output, should it now be able to scan DVB-S2 > transponders? > > Thanks > > > > > On Jan 27, 2008 11:05 PM, Reinhard Nissl <rnissl@gmx.de> wrote: > > Hi, > > > > the attached patch is based on these files: > > > > vdr-rotor-0.1.4-vdr1.5.tgz > > rotor-0.1.4-vdr-15.12.diff > > > > For simplicity a patched version is attached too. > > > > NOTES: > > - I couldn't test with a real rotor device > > - I couldn't test with a FF card > > > > Have fun! > > > > Bye. > > -- > > Dipl.-Inform. (FH) Reinhard Nissl > > mailto:rnissl@gmx.de > > > > _______________________________________________ > > vdr mailing list > > vdr@linuxtv.org > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > > >
I demand that Morfsta may or may not have top-posted... > Seems that I spoke too soon - I get a problem running rotor on my > system after compilation: - > vdr: ./PLUGINS/lib/libvdr-rotor.so.1.5.14: undefined symbol: > _ZN7cDevice13SwitchChannelEPK8cChannelPS_ > Whatever I try I can't seem to fix it. Reverting back to my old > version of rotor works fine. c++filt says "cDevice::SwitchChannel(cChannel const*, cDevice*)". Maybe you need to recompile something...? [snip; don't top-post]
On Jan 28, 2008 5:15 PM, Darren Salt <linux@youmustbejoking.demon.co.uk> pedantically wrote: > c++filt says "cDevice::SwitchChannel(cChannel const*, cDevice*)". Maybe you > need to recompile something...? > > [snip ; don't top post] Nope, it's all compiled - just doublechecked with fresh source: - vdr-1.5.14 vdr-rotor-0.1.4-vdr-1.5.14.tgz vdr-1.5.14-h264-other-rotor.diff vdr-1.5.14-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff ./vdr -Protor vdr: ./PLUGINS/lib/libvdr-rotor.so.1.5.14: undefined symbol: _ZN7cDevice13SwitchChannelEPK8cChannelPS_ Could be the mismatch between device.c and device.h in eSetChannelResult SetChannel. I don't know.
Morfsta wrote: > Nope, it's all compiled - just doublechecked with fresh source: - > > vdr-1.5.14 > vdr-rotor-0.1.4-vdr-1.5.14.tgz > vdr-1.5.14-h264-other-rotor.diff > vdr-1.5.14-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff > > ./vdr -Protor > vdr: ./PLUGINS/lib/libvdr-rotor.so.1.5.14: undefined symbol: > _ZN7cDevice13SwitchChannelEPK8cChannelPS_ > > Could be the mismatch between device.c and device.h in > eSetChannelResult SetChannel. I don't know. Hi! Do You solved this problem? I have same situation. AK
On Feb 8, 2008 10:44 AM, Arthur Konovalov <kasjas@hot.ee> wrote: > > Hi! > Do You solved this problem? > I have same situation. > Nope, I had to roll back to an earlier version of rotor that I patched myself.
Morfsta wrote:
> Nope, I had to roll back to an earlier version of rotor that I patched myself.
Cool. Can You share it? I can't live without rotor.
AK
On Feb 8, 2008 1:03 PM, Arthur Konovalov <kasjas@hot.ee> wrote: > Cool. Can You share it? I can't live without rotor. > Here you go. This works for me with the vdr-1.5.14-h264-other-rotor.diff patch (with the suggested fix).
--- device.c 2008-01-28 10:33:00.000000000 +0000 +++ device.c.new 2008-01-28 10:32:47.000000000 +0000 @@ -790,7 +790,7 @@ bool cDevice::SwitchChannel(int Directio return result; } -eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView) +eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView, cDevice *SpecificSourceDevice) { if (LiveView) {