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 > _______________________________________________ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr