[vdr] calendar plugin with 1.3.27

Simon Baxter linuxtv at nzbaxters.com
Sun Jul 24 10:19:12 CEST 2005


Hi.
I can't get the calendar plugin to complile under 1.3.27 (below)

I'm running gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3), is there a 
compatability problem??

[vdruser at media calendar]$ make
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"calendar"' 
 -I../../../include -I/lib/modules/2.6.11.8/build/include calendar.c
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"calendar"' 
 -I../../../include -I/lib/modules/2.6.11.8/build/include menu.c
In file included from menu.c:23:
menuitem.h:36: error: `eDvbColor' has not been declared
menuitem.h:36: error: `eDvbColor' has not been declared
menuitem.h:36: error: ISO C++ forbids declaration of `FgColor' with no type
menuitem.h:36: error: ISO C++ forbids declaration of `BgColor' with no type
menuitem.h:42: error: `eDvbColor' has not been declared
menuitem.h:42: error: `eDvbColor' has not been declared
menuitem.h:42: error: ISO C++ forbids declaration of `FgColor' with no type
menuitem.h:42: error: ISO C++ forbids declaration of `BgColor' with no type
menuitem.h:36: error: `clrBackground' was not declared in this scope
In file included from menu.c:26:
menusetup.c: In member function `void 
cMenuCalendarSetup::AddNewCategory(const char*)':
menusetup.c:109: error: 'class cOsdItem' has no member named 'SetColor'
menusetup.c:109: error: `clrBackground' undeclared (first use this function)
menusetup.c:109: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
menu.c: In constructor `cMenuWhatsOnCal::cMenuWhatsOnCal()':
menu.c:183: error: 'class cInterface' has no member named 'Width'
menu.c:183: error: `CellWidth' is not a member of `cOsd'
menu.c:184: error: `LineHeight' is not a member of `cOsd'
menu.c: In member function `eOSState cMenuWhatsOnCal::Switch()':
menu.c:340: error: 'class cInterface' has no member named 'Error'
menu.c: In member function `void cMenuWhatsOnCal::SetTitle()':
menu.c:357: warning: cannot pass objects of non-POD type `class cString' 
through `...'; call will abort at runtime
menu.c:357: warning: format argument is not a pointer (arg 4)
menu.c:359: error: no matching function for call to 
`cMenuWhatsOnCal::SetTitle(char*&, bool)'
../../../include/vdr/../../osdbase.h:118: note: candidates are: void 
cOsdMenu::SetTitle(const char*)
menu.c: In member function `void cMenuWhatsOnCal::SetTimeBar()':
menu.c:376: error: `eDvbColor' does not name a type
menu.c:377: error: `eDvbColor' does not name a type
menu.c:378: error: `eDvbColor' does not name a type
menu.c:384: error: 'class cBitmap' has no member named 'Fill'
menu.c:384: error: `BgColor' undeclared (first use this function)
menu.c:390: error: no matching function for call to `cOsd::Width(char)'
../../../include/vdr/../../osd.h:244: note: candidates are: int 
cOsd::Width()
menu.c:403: error: 'class cBitmap' has no member named 'Text'
menu.c:403: error: `FgColor' undeclared (first use this function)
menu.c:413: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:413: error: `lineColor' undeclared (first use this function)
menu.c:414: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:426: error: 'class cBitmap' has no member named 'SetPixel'
menu.c:427: error: 'class cBitmap' has no member named 'SetPixel'
menu.c: In member function `virtual void cMenuWhatsOnCal::Display()':
menu.c:462: error: 'class cInterface' has no member named 'SetBitmap'
menu.c: In member function `void cMenuWhatsOnCal::DisplayInfo()':
menu.c:478: error: 'class cInterface' has no member named 'Width'
menu.c:482: error: 'class cInterface' has no member named 'Status'
menu.c:482: error: `clrBackground' undeclared (first use this function)
menu.c:492: error: 'class cInterface' has no member named 'Status'
make: *** [menu.o] Error 1





More information about the vdr mailing list