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

LinHai rcmodel8810 at hotmail.com
Sun Jul 13 09:42:33 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 up
At revision 6893.
 
debian:~/vdr# make clean
debian:~/vdr# make clean-plugins
debian:~/vdr# make
debian:~/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.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from channelscan.c:31:
filter.h:193:1: warning: "MAXNETWORKNAME" redefined
In 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 definition
In 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 type
transponders.h:357: error: invalid use of ‘::’
transponders.h:357: error: expected ‘;’ before ‘<’ token
transponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scope
transponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:
transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scope
In file included from channelscan.c:31:
csmenu.h: At global scope:
csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
csmenu.h:224: error: invalid use of ‘::’
csmenu.h:224: error: expected ‘;’ before ‘<’ token
channelscan.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 scope
make[1]: *** [channelscan.o] Error 1
make[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 up
At revision 6893.
 
debian:~/vdr/PLUGINS/src/channelscan# cat vdr-1.7.0-h264-channelscan-0.6.1.diff | patch -p1
patching file channelscan.c
Hunk #1 succeeded at 71 (offset 3 lines).
patching file csmenu.c
Hunk #1 succeeded at 240 (offset 7 lines).
Hunk #2 succeeded at 1128 (offset 91 lines).
patching file filter.c
patching file scan.c
patching file transponders.c
 
debian:~/vdr# make clean
debian:~/vdr# make clean-plugins
debian:~/vdr# make
debian:~/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.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from channelscan.c:31:
filter.h:193:1: warning: "MAXNETWORKNAME" redefined
In 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 definition
In 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 type
transponders.h:357: error: invalid use of ‘::’
transponders.h:357: error: expected ‘;’ before ‘<’ token
transponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scope
transponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:
transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scope
In file included from channelscan.c:31:
csmenu.h: At global scope:
csmenu.h:224: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
csmenu.h:224: error: invalid use of ‘::’
csmenu.h:224: error: expected ‘;’ before ‘<’ token
channelscan.c: In member function ‘virtual cOsdObject* cPluginChannelscan::MainMenuAction()’:
channelscan.c:133: error: ‘AnyFreeTuners’ was not declared in this scope
make[1]: *** [channelscan.o] Error 1
make[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 6171) and compile failed
*********************************************************************************************************
 
debian:~/vdr/PLUGINS/src/channelscan# svn up -r 6171
U    csmenu.h
U    channelscan.c
U    i18n.c
U    channelscan.h
U    scan.c
U    csmenu.c
U    Makefile
Updated to revision 6171.
 
debian:~/vdr/PLUGINS/src/channelscan# cat vdr-1.7.0-h264-channelscan-0.6.1.diff | patch -p1
patching file channelscan.c
patching file csmenu.c
patching file filter.c
patching file scan.c
patching file transponders.c
 
debian:~/vdr# make clean
debian:~/vdr# make clean-plugins
debian:~/vdr# make
debian:~/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.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from channelscan.c:31:
filter.h:193:1: warning: "MAXNETWORKNAME" redefined
In 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 definition
In 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 type
transponders.h:357: error: invalid use of ‘::’
transponders.h:357: error: expected ‘;’ before ‘<’ token
transponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’:
transponders.h:350: error: ‘nitStartTransponder_’ was not declared in this scope
transponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’:
transponders.h:405: error: ‘nitStartTransponder_’ was not declared in this scope
In file included from channelscan.c:31:
csmenu.h: At global scope:
csmenu.h:220: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
csmenu.h:220: error: invalid use of ‘::’
csmenu.h:220: error: expected ‘;’ before ‘<’ token
make[1]: *** [channelscan.o] Error 1
make[1]: Leaving directory `/root/vdr/PLUGINS/src/channelscan-0.6.1'
*********************************************************************************************************
 
 
Who can tell me what should I do next?
 
Thank you! 
_________________________________________________________________
MSN史诗巨片横空出世,精彩抢先看!
http://im.msn.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20080713/5788e4c2/attachment-0001.htm 


More information about the vdr mailing list