[vdr] reelchannelscan 0.6.1 patch for vdr-1.7.0 + h264

Goga777 goga777 at bk.ru
Sun May 25 12:39:26 CEST 2008


so, I had this errors

> > error: boost/iostreams/filtering_streambuf.hpp: Нет такого файла или каталога csmenu.c:31:36: error:
> > boost/iostreams/copy.hpp: Нет такого файла или каталога csmenu.c:32:43: error: boost/iostreams/filter/gzip.hpp: Нет
> > такого файла или каталога csmenu.c:33:44: error: boost/iostreams/filter/bzip2.hpp: Нет такого файла или каталога

because libboost-dev was not installed. I have copied missing boost-headers from
libboost-dev_1.34.1-11_i386.deb
libboost-iostreams-dev_1.34.1-11_i386.deb
http://packages.debian.org/sid/i386/libboost-dev/download

so after that I made

goga:/usr/src/VDR# make clean
make -C ./libsi clean
make[1]: Entering directory `/usr/src/vdr-1.7.0/libsi'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/libsi'
rm -f audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o dvbosd.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o h264parser.o .dependencies vdr core* *~
rm -rf locale po/*.mo po/*.pot
rm -rf include
rm -rf srcdoc

goga:/usr/src/VDR# make clean-plugins
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/femon'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/femon'
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/xine-0.8.2'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/xine-0.8.2'

goga:/usr/src/VDR# make
..........................................
.........................................

goga:/usr/src/VDR# make plugins
Plugin femon:
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/femon'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/femon'
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/femon'

[skip]

................................................


make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//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
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include csmenu.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from csmenu.c:43:
filter.h:193:1: warning: "MAXNETWORKNAME" redefined
In file included from ../../../include/vdr/device.h:18,
                 from ../../../include/vdr/menu.h:14,
                 from csmenu.c:40:
../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include filter.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from filter.c:35:
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 filter.c:35:
../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include i18n.c
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include scan.c
In file included from scan.h:34,
                 from csmenu.h:42,
                 from scan.c:36:
filter.h:193:1: warning: "MAXNETWORKNAME" redefined
In file included from ../../../include/vdr/device.h:18,
                 from scan.c:32:
../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
scan.c: In member function ‘void cScan::ScanServices()’:
scan.c:248: warning: unused variable ‘tt’
scan.c: In member function ‘void cScan::ScanDVB_S(cTransponder*, cChannel*)’:
scan.c:412: warning: unused variable ‘tt’
g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include transponders.c
make[1]: *** Нет правила для сборки цели `bzlib.h', требуемой для `bzip2.o'.  Останов.
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/channelscan-0.6.1'
Plugin xine:
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/xine-0.8.2'
make[1]: Leaving directory `/usr/src/vdr-1.7.0/PLUGINS/src/xine-0.8.2'
make[1]: Entering directory `/usr/src/vdr-1.7.0/PLUGINS/src/xine-0.8.2'

......................................................

*** failed plugins: reelchannelscan











> Hello,
> 
> After patching you have to go to main vdr directory and from there run 
> "make plugins".
> 
> If you want to clean up before compile do:
> make clean; make clean-plugins;
> then
> make;make plugins to compile everything.
> 
> 
> 
> Thanks
> Vagelis
> 
> 
> Goga777 wrote:
> > these are my steps
> >
> > goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# svn up
> > At revision 6171.
> >
> > goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# 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
> >
> > goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# make clean
> > goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# make
> > bzip2.c:135:22: error: missing binary operator before token "("
> > g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"'
> > -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//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
> > g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"'
> > -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c:30:51:
> > error: boost/iostreams/filtering_streambuf.hpp: Нет такого файла или каталога csmenu.c:31:36: error:
> > boost/iostreams/copy.hpp: Нет такого файла или каталога csmenu.c:32:43: error: boost/iostreams/filter/gzip.hpp: Нет
> > такого файла или каталога csmenu.c:33:44: error: boost/iostreams/filter/bzip2.hpp: Нет такого файла или каталога
> > In file included from scan.h:34,
> >                  from csmenu.h:42,
> >                  from csmenu.c:43:
> > filter.h:193:1: warning: "MAXNETWORKNAME" redefined
> > In file included from ../../../include/vdr/device.h:18,
> >                  from ../../../include/vdr/menu.h:14,
> >                  from csmenu.c:40:
> > ../../../include/vdr/nit.h:16:1: warning: this is the location of the previous definition
> > make: *** [csmenu.o] Ошибка 1
> >
> >
> > the same errors
> >
> > Goga777
> >
> >
> >
> >
> >
> >   
> >> I dont know what the problem is. From your error message I can only 
> >> guess that you haven't applied my patch at all. If this is the case try 
> >> applying my patch (without reel's patch from 
> >> /usr/src/VDR/PLUGINS/src/channelscan-0.6.1/patches) and post back.
> >>
> >> Thanks
> >> Vagelis
> >>
> >>
> >>
> >> Goga777 wrote:
> >>     
> >>> FYI - I didn't apply the channelscan-vdr.patch  from /usr/src/VDR/PLUGINS/src/channelscan-0.6.1/patches
> >>>  
> >>>   
> >>>       
> >>>> I can't compile patched reelchannelscan (revision 6170)
> >>>>
> >>>> goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# make clean
> >>>> bzip2.c:135:22: error: missing binary operator before token "("
> >>>>
> >>>>
> >>>> goga:/usr/src/VDR/PLUGINS/src/channelscan-0.6.1# make
> >>>> bzip2.c:135:22: error: missing binary operator before token "("
> >>>> g++ -fPIC -O2 -Wall -Woverloaded-virtual  -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"'
> >>>> -DVDRDIR=\"../../..\" -DBOOST_IOSTREAMS_NO_LIB  -DNDEBUG -I../../../include -I../..//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
> >>>> channelscan.c: In member function ‘virtual void cMenuChannelscanSetup::Store()’:
> >>>> channelscan.c:71: 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:72: 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) make: *** [channelscan.o] Ошибка 1 
> >
> >
> > _______________________________________________
> > vdr mailing list
> > vdr at linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> >
> >
> >
> >   
> 
> 
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


-- 
Удачи,
Игорь




More information about the vdr mailing list