Hi,
I patched the reelchannelscan-plugin to compile with my patched S2API-VDR.
What I use: VDR 1.7.1 with - vdr-1.7.1_extensions.diff - vdr-1.7.1-ext_h264.diff - vdr-1.7.1-s2api-ext64.patch
reelchannelscan-plugin from svn svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9031
and my attached patch.
Beware: I DON'T KNOW WHAT I AM DOING HERE! It compiles, it scans transponder and finds channels. It works for me, but I'm no C or C++ programmer...
-- Frank Scherthan
Приветствую, Frank
thanks for your patch, but I couldn't compile it I have
VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard gcc version 4.3.2 (Debian 4.3.2-1)
I have this error
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c In file included from filter.h:42, from scan.h:34, from csmenu.h:42, from channelscan.c:31: transponders.h:358: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type transponders.h:358: error: invalid use of ‘::’ transponders.h:358: error: expected ‘;’ before ‘<’ token transponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’: transponders.h:351: error: ‘nitStartTransponder_’ was not declared in this scope transponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’: transponders.h:406: 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
I added #include <memory> in transponders.h (thanks to free-x for advice) and I have others errors
Plugin reelchannelscan: make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c: In member function ‘void cMenuScanActive::Setup()’: csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c filter.c: In member function ‘virtual void PatFilter::Process(u_short, u_char, const u_char*, int)’: filter.c:681: error: no matching function for call to ‘cChannel::SetPids(int&, int, int, int [33], char [33][8], int [17], char [17][8], int [33], char [33][8], int&)’ ../../../include/vdr/channels.h:232: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char (*)[8], int) make[1]: *** [filter.o] Ошибка 1 make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
can someone to help me please
Goga
reelchannelscan-plugin from svn svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9031
and my attached patch.
Beware: I DON'T KNOW WHAT I AM DOING HERE! It compiles, it scans transponder and finds channels. It works for me, but I'm no C or C++ programmer...
Hi,
you hit a problem with gcc 4.3 changes ;)
svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040
The attached patch is absolutley untested. I may work or not. Basicly it survives the compile test ;)
cu
Edgar (gimli) Hucek
Goga777 schrieb:
Приветствую, Frank
thanks for your patch, but I couldn't compile it I have
VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard gcc version 4.3.2 (Debian 4.3.2-1)
I have this error
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c In file included from filter.h:42, from scan.h:34, from csmenu.h:42, from channelscan.c:31: transponders.h:358: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type transponders.h:358: error: invalid use of ‘::’ transponders.h:358: error: expected ‘;’ before ‘<’ token transponders.h: In member function ‘void cTransponders::ResetNITStartTransponder(cSatTransponder*)’: transponders.h:351: error: ‘nitStartTransponder_’ was not declared in this scope transponders.h: In member function ‘cTransponder* cTransponders::GetNITStartTransponder()’: transponders.h:406: 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
I added #include <memory> in transponders.h (thanks to free-x for advice) and I have others errors
Plugin reelchannelscan: make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c: In member function ‘void cMenuScanActive::Setup()’: csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c filter.c: In member function ‘virtual void PatFilter::Process(u_short, u_char, const u_char*, int)’: filter.c:681: error: no matching function for call to ‘cChannel::SetPids(int&, int, int, int [33], char [33][8], int [17], char [17][8], int [33], char [33][8], int&)’ ../../../include/vdr/channels.h:232: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char (*)[8], int) make[1]: *** [filter.o] Ошибка 1 make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
can someone to help me please
Goga
reelchannelscan-plugin from svn svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9031
and my attached patch.
Beware: I DON'T KNOW WHAT I AM DOING HERE! It compiles, it scans transponder and finds channels. It works for me, but I'm no C or C++ programmer...
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Приветствую, gimli
no it doesn't help
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c: In member function ‘void cMenuScanActive::Setup()’: csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ csmenu.c:954: warning: deprecated conversion from string constant to ‘char*’ g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c filter.c: In member function ‘virtual void PatFilter::Process(u_short, u_char, const u_char*, int)’: filter.c:681: error: no matching function for call to ‘cChannel::SetPids(int&, int, int, int [33], char [33][8], int [17], char [17][8], int [33], char [33][8], int&)’ ../../../include/vdr/channels.h:232: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char (*)[8], int) make[1]: *** [filter.o] Ошибка 1 make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'
you hit a problem with gcc 4.3 changes ;)
svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040
The attached patch is absolutley untested. I may work or not. Basicly it survives the compile test ;)
cu
Edgar (gimli) Hucek
You compile against vdr 1.7.0 ?
ÐÑивеÑÑÑвÑÑ, gimli
no it doesn't help
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c: In member function âvoid cMenuScanActive::Setup()â: csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c filter.c: In member function âvirtual void PatFilter::Process(u_short, u_char, const u_char*, int)â: filter.c:681: error: no matching function for call to âcChannel::SetPids(int&, int, int, int [33], char [33][8], int [17], char [17][8], int [33], char [33][8], int&)â ../../../include/vdr/channels.h:232: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char (*)[8], int) make[1]: *** [filter.o] ÐÑибка 1 make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1'
you hit a problem with gcc 4.3 changes ;)
svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040
The attached patch is absolutley untested. I may work or not. Basicly it survives the compile test ;)
cu
Edgar (gimli) Hucek
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
yes, with vdr 170 and h.264 patch from Reinchard Nissl
You compile against vdr 1.7.0 ?
п я п п п я я я п я я , gimli
no it doesn't help
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c
Hi,
I have patched channelscan-0.6.1 additional for working with 1.7.0+s2api It seems to work fine with DVB-S. But it doesn't work with DVB-S2. I have took a look at transponders files of reel. And found that files hasn't any information about modulation (QPSK, 8PSK) I don't know how Reel don't use this informations for tuning.
Regards Oleg Roitburd
It seems to work fine with DVB-S. But it doesn't work with DVB-S2. I have took a look at transponders files of reel. And found that files hasn't any information about modulation (QPSK, 8PSK) I don't know how Reel don't use this informations for tuning.
Transponder list does not provide information about modulation. Channelscan does not know about the modulation it simply tries one modulation after another in this order "No modulation Set(for manual scan)/QPSK/8PSK/QPSK_S2". See cScan::ScanDVB_S():scan.c@405.
Ok, now i tested the plugin on dvb-t, and it worked fine. Maybe i'll also test dvb-s/dvb-s2.
cu
Edgar (gimli) Hucek
Hi,
you hit a problem with gcc 4.3 changes ;)
svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9040
The attached patch is absolutley untested. I may work or not. Basicly it survives the compile test ;)
cu
Edgar (gimli) Hucek
Goga777 schrieb:
ÐÑивеÑÑÑвÑÑ, Frank
thanks for your patch, but I couldn't compile it I have
VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard gcc version 4.3.2 (Debian 4.3.2-1)
I have this error
make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c In file included from filter.h:42, from scan.h:34, from csmenu.h:42, from channelscan.c:31: transponders.h:358: error: ISO C++ forbids declaration of âauto_ptrâ with no type transponders.h:358: error: invalid use of â::â transponders.h:358: error: expected â;â before â<â token transponders.h: In member function âvoid cTransponders::ResetNITStartTransponder(cSatTransponder*)â: transponders.h:351: error: ânitStartTransponder_â was not declared in this scope transponders.h: In member function âcTransponder* cTransponders::GetNITStartTransponder()â: transponders.h:406: 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
I added #include <memory> in transponders.h (thanks to free-x for advice) and I have others errors
Plugin reelchannelscan: make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' make[1]: Entering directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1' g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include channelscan.c g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include csmenu.c csmenu.c: In member function âvoid cMenuScanActive::Setup()â: csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â csmenu.c:954: warning: deprecated conversion from string constant to âchar*â g++ -fPIC -O2 -Wall -Woverloaded-virtual -fno-strict-aliasing -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"reelchannelscan"' -DVDRDIR="../../.." -DBOOST_IOSTREAMS_NO_LIB -DNDEBUG -I../../../include -I../..//include filter.c filter.c: In member function âvirtual void PatFilter::Process(u_short, u_char, const u_char*, int)â: filter.c:681: error: no matching function for call to âcChannel::SetPids(int&, int, int, int [33], char [33][8], int [17], char [17][8], int [33], char [33][8], int&)â ../../../include/vdr/channels.h:232: note: candidates are: void cChannel::SetPids(int, int, int*, char (*)[8], int*, char (*)[8], int*, char (*)[8], int) make[1]: *** [filter.o] ÐÑибка 1 make[1]: Leaving directory `/usr/src/vdr170_0/PLUGINS/src/channelscan_fks-0.6.1'
can someone to help me please
Goga
reelchannelscan-plugin from svn svn co svn://reelbox.org/testing/src/vdr-plugins/src/channelscan-0.6.1 -r9031
and my attached patch.
Beware: I DON'T KNOW WHAT I AM DOING HERE! It compiles, it scans transponder and finds channels. It works for me, but I'm no C or C++ programmer...
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Goga777 schrieb:
???????????, Frank
thanks for your patch, but I couldn't compile it I have
VDR 1.7.0 with s2api patch from Niels and h264 patch from Reinchard gcc version 4.3.2 (Debian 4.3.2-1)
Please try gcc-4.1
It can be changed in Make.config or even in Makefile of the plugin.
Frank