Hi,
I'm trying to compile osdpip-0.0.8 in vdr-1.4.1, and I get
osd_info.c: In member function ‘eOSState cOsdInfoWindow::ProcessKey(eKeys)’: osd_info.c:233: error: ‘cDevice’ has not been declared osd_info.c:260: error: ‘cDevice’ has not been declared osd_info.c:260: error: invalid type in declaration before ‘(’ token osd_info.c:262: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:263: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:264: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:265: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:271: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:290: error: ‘cDevice’ has not been declared osd_info.c:298: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:312: error: ‘cDevice’ has not been declared osd_info.c:319: error: jump to case label osd_info.c:260: error: crosses initialization of ‘int SwitchChannel’ osd_info.c:260: warning: unused variable ‘SwitchChannel’
Anybody managed to port it to 1.4? 0.0.8 is from May 2005...
Harald Milz wrote:
I'm trying to compile osdpip-0.0.8 in vdr-1.4.1, and I get
osd_info.c:233: error: ‘cDevice’ has not been declared
Anybody managed to port it to 1.4? 0.0.8 is from May 2005...
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/
Cheers,
Udo
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 ...
diff -ur osdpip-0.0.8.ORIG/Makefile osdpip-0.0.8/Makefile --- osdpip-0.0.8.ORIG/Makefile 2005-05-14 18:41:53.000000000 +0200 +++ osdpip-0.0.8/Makefile 2006-10-14 15:56:55.826701500 +0200 @@ -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)
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
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.
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