vdr-1.4 and osdpip anyone?
Commit Message
Udo Richter <udo_richter@gmx.de> wrote:
> osdpip requires a patch since 1.3.31. See wiki:
> http://www.vdr-wiki.de/wiki/index.php/Osdpip-plugin#Patches
> http://deela.cc.fh-lippe.de/files/vdr-osdpip/
Ooops I saw it bit missed to get it.
But it still cries for help:
receiver.h:32: error: extra qualification ‘cOsdPipReceiver::’ on member ‘cOsdPipReceiver’
make[1]: *** [osd.o] Fehler 1
?
Plus the usual patch for APIVERSION ...
Comments
On Sat, 2006-10-14 at 14:00 +0000, Harald Milz wrote:
> receiver.h:32: error: extra qualification ‘cOsdPipReceiver::’ on member ‘cOsdPipReceiver’
> make[1]: *** [osd.o] Fehler 1
http://koti.mbnet.fi/kurg/vdr/vdr-osdpip-0.0.8-extraqual.patch
Harald Milz wrote:
> But it still cries for help:
>
> receiver.h:32: error: extra qualification ‘cOsdPipReceiver::’ on member ‘cOsdPipReceiver’
> make[1]: *** [osd.o] Fehler 1
This is a GCC-4.x error, already mentioned in the 0.0.8 release thread
on vdr-portal. Just delete the cOsdPipReceiver:: part from the mentioned
line.
Cheers,
Udo
Ville Skyttä <ville.skytta@iki.fi> wrote:
> On Sat, 2006-10-14 at 14:00 +0000, Harald Milz wrote:
> > receiver.h:32: error: extra qualification ‘cOsdPipReceiver::’ on member ‘cOsdPipReceiver’
> > make[1]: *** [osd.o] Fehler 1
> http://koti.mbnet.fi/kurg/vdr/vdr-osdpip-0.0.8-extraqual.patch
OMG ... OK, I'll put this up on the wiki as well.
@@ -33,6 +33,11 @@
### The version number of VDR (taken from VDR's "config.h"):
VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell sed -ne '/define APIVERSION/ { s/^.*"\(.*\)".*$$/\1/; p }' $(VDRDIR)/config.h)
+
+ifeq ($(APIVERSION),)
+ APIVERSION = $(VDRVERSION)
+endif
### The name of the distribution archive:
@@ -74,7 +79,7 @@
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared -o $@ $^ $(LIBS)
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)