[vdr] channelscan-0.6.1 failed in compiling under VDR-1.7.0

林海 rcmodel8810 at hotmail.com
Sun Jul 13 08:32:46 CEST 2008


VDR-1.7.0 had been patched vdr-1.7.0-h264-syncearly-framespersec-audioindexer-fielddetection-speedup.diff
No patched FOR channelscan-0.6.1 (revision 6893) and compile failed*********************************************************************************************************
debian:~/vdr/PLUGINS/src/# svn upAt revision 6893.
debian:~/vdr# make cleandebian:~/vdr# make clean-pluginsdebian:~/vdr# makedebian:~/vdr# make plugins
Plugin channelscan:make[1]: Entering directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I/root/multiproto/linux/include -I../../../include -I../..//root/multiproto/linux/include channelscan.cIn file included from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:filter.h:193:1: warning: "MAXNETWORKNAME" redefinedIn file included from ../../../include/vdr/device.h:18,                 from scan.h:31,                 from csmenu.h:42,                 from channelscan.c:31:../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definitionIn file included from filter.h:42,                 from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:transponders.h:357: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typetransponders.h:357: error: invalid use of ‘::’transponders.h:357: error: expected ‘;’ before ‘<’ tokentransponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scopetransponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scopeIn file included from channelscan.c:31:csmenu.h: At global scope:csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typecsmenu.h:224: error: invalid use of ‘::’csmenu.h:224: error: expected ‘;’ before ‘<’ tokenchannelscan.c: In member function ‘virtual void cMenuChannelscanSetup::Store()’:channelscan.c:74: error: no matching function for call to ‘cMenuChannelscanSetup::SetupStore(const char [12], const char [12], int&)’../../../include/vdr/menuitems.h:182: note: candidates are: void cMenuSetupPage::SetupStore(const char*, const char*)../../../include/vdr/menuitems.h:183: note:                 void cMenuSetupPage::SetupStore(const char*, int)channelscan.c:75: error: no matching function for call to ‘cMenuChannelscanSetup::SetupStore(const char [8], const char [12], int&)’../../../include/vdr/menuitems.h:182: note: candidates are: void cMenuSetupPage::SetupStore(const char*, const char*)../../../include/vdr/menuitems.h:183: note:                 void cMenuSetupPage::SetupStore(const char*, int)channelscan.c: In member function ‘virtual cOsdObject* cPluginChannelscan::MainMenuAction()’:channelscan.c:133: error: ‘AnyFreeTuners’ was not declared in this scopemake[1]: *** [channelscan.o] Error 1make[1]: Leaving directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'
*********************************************************************************************************
 
 
vdr-1.7.0-h264-channelscan-0.6.1.diff patched FOR channelscan-0.6.1 (revision 6893) and compile failed*********************************************************************************************************
debian:~/vdr/PLUGINS/src/# svn upAt revision 6893.
debian:~/vdr/PLUGINS/src/channelscan# cat vdr-1.7.0-h264-channelscan-0.6.1.diff | patch -p1patching file channelscan.cHunk #1 succeeded at 71 (offset 3 lines).patching file csmenu.cHunk #1 succeeded at 240 (offset 7 lines).Hunk #2 succeeded at 1128 (offset 91 lines).patching file filter.cpatching file scan.cpatching file transponders.c
debian:~/vdr# make cleandebian:~/vdr# make clean-pluginsdebian:~/vdr# makedebian:~/vdr# make pluginsPlugin channelscan:make[1]: Entering directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I/root/multiproto/linux/include -I../../../include -I../..//root/multiproto/linux/include channelscan.cIn file included from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:filter.h:193:1: warning: "MAXNETWORKNAME" redefinedIn file included from ../../../include/vdr/device.h:18,                 from scan.h:31,                 from csmenu.h:42,                 from channelscan.c:31:../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definitionIn file included from filter.h:42,                 from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:transponders.h:357: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typetransponders.h:357: error: invalid use of ‘::’transponders.h:357: error: expected ‘;’ before ‘<’ tokentransponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scopetransponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scopeIn file included from channelscan.c:31:csmenu.h: At global scope:csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typecsmenu.h:224: error: invalid use of ‘::’csmenu.h:224: error: expected ‘;’ before ‘<’ tokenchannelscan.c: In member function ‘virtual cOsdObject* cPluginChannelscan::MainMenuAction()’:channelscan.c:133: error: ‘AnyFreeTuners’ was not declared in this scopemake[1]: *** [channelscan.o] Error 1make[1]: Leaving directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'
*********************************************************************************************************
 
 
vdr-1.7.0-h264-channelscan-0.6.1.diff patched FOR channelscan-0.6.1 (revision 6893) and compile failed*********************************************************************************************************
debian:~/vdr/PLUGINS/src/channelscan# svn up -r 6171U    csmenu.hU    channelscan.cU    i18n.cU    channelscan.hU    scan.cU    csmenu.cU    MakefileUpdated to revision 6171.
debian:~/vdr/PLUGINS/src/channelscan# cat vdr-1.7.0-h264-channelscan-0.6.1.diff | patch -p1patching file channelscan.cpatching file csmenu.cpatching file filter.cpatching file scan.cpatching file transponders.c
debian:~/vdr# make cleandebian:~/vdr# make clean-pluginsdebian:~/vdr# makedebian:~/vdr# make plugins
Plugin channelscan:make[1]: Entering directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I/root/multiproto/linux/include -I../../../include -I../..//root/multiproto/linux/include channelscan.cIn file included from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:filter.h:193:1: warning: "MAXNETWORKNAME" redefinedIn file included from ../../../include/vdr/device.h:18,                 from scan.h:31,                 from csmenu.h:42,                 from channelscan.c:31:../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definitionIn file included from filter.h:42,                 from scan.h:34,                 from csmenu.h:42,                 from channelscan.c:31:transponders.h:357: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typetransponders.h:357: error: invalid use of ‘::’transponders.h:357: error: expected ‘;’ before ‘<’ tokentransponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scopetransponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scopeIn file included from channelscan.c:31:csmenu.h: At global scope:csmenu.h:220: error: ISO C++ forbids declaration of ‘auto_ptr’ with no typecsmenu.h:220: error: invalid use of ‘::’csmenu.h:220: error: expected ‘;’ before ‘<’ tokenmake[1]: *** [channelscan.o] Error 1make[1]: Leaving directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'*********************************************************************************************************
 
Who Can tell me what should I do next?
_________________________________________________________________
这里好多好玩的视频,用鼠标点到视频看看,有惊喜!
http://cnweb.search.live.com/video/results.aspx?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&mkt=zh-cn&FORM=WLMTWC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20080713/23cc1df1/attachment-0001.htm 


More information about the vdr mailing list