Re: [vdr] vdr 1.7.0 does not compile
Hi, Helmut Auer schrieb: dvbdevice.c dvbdevice.c: In member function 'bool cDvbTuner::SetFrontend()': dvbdevice.c:271: error: 'struct dvbfe_info' has no member named 'delivery' dvbdevice.c:286: error: 'struct dvbfe_info' has no member named 'delivery' dvbdevice.c:307: error: 'struct dvbfe_info' has no member named 'delivery' make: *** [dvbdevice.o] Error 1 The driver I am using ist http://jusst.de/hg/multiproto svn from today, and the included frontend.h really has no delivery member in this structure. delivery was removed 5 weeks ago: http://jusst.de/hg/multiproto/log/46df93f7bcee/linux/include/linux/dvb/frontend.h The attached patch should make it build. Bye. -- Dipl.-Inform. (FH) Reinhard Nissl mailto:[EMAIL PROTECTED] diff -Nurp ../vdr-1.7.0-orig/dvbdevice.c ./dvbdevice.c --- ../vdr-1.7.0-orig/dvbdevice.c 2008-04-13 16:15:35.0 +0200 +++ ./dvbdevice.c 2008-04-13 21:16:45.0 +0200 @@ -266,10 +266,6 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBS_TUNE_TIMEOUT; lockTimeout = DVBS_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else if (frontendType & DVBFE_DELSYS_DVBC) { Frontend.delivery = DVBFE_DELSYS_DVBC; @@ -281,10 +277,6 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBC_TUNE_TIMEOUT; lockTimeout = DVBC_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else if (frontendType & DVBFE_DELSYS_DVBT) { Frontend.delivery = DVBFE_DELSYS_DVBT; @@ -302,15 +294,12 @@ bool cDvbTuner::SetFrontend(void) tuneTimeout = DVBT_TUNE_TIMEOUT; lockTimeout = DVBT_LOCK_TIMEOUT; - - dvbfe_info feinfo; - feinfo.delivery = Frontend.delivery; - CHECK(ioctl(fd_frontend, DVBFE_GET_INFO, &feinfo)); //switch system } else { esyslog("ERROR: attempt to set channel with unknown DVB frontend type"); return false; } + CHECK(ioctl(fd_frontend, DVBFE_SET_DELSYS, &Frontend.delivery)); //switch system if (ioctl(fd_frontend, DVBFE_SET_PARAMS, &Frontend) < 0) { esyslog("ERROR: frontend %d: %m", cardIndex); return false; ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 1.7.0 does not compile
> Let's hope there will soon be a combined driver source... > I guess the driver team cannot ignore the linux killer application :) -- Helmut Auer, [EMAIL PROTECTED] ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 1.7.0 does not compile
On 04/13/08 18:21, Helmut Auer wrote: > Hi > > >> dvbdevice.c >> dvbdevice.c: In member function 'bool cDvbTuner::SetFrontend()': >> dvbdevice.c:271: error: 'struct dvbfe_info' has no member named 'delivery' >> dvbdevice.c:286: error: 'struct dvbfe_info' has no member named 'delivery' >> dvbdevice.c:307: error: 'struct dvbfe_info' has no member named 'delivery' >> make: *** [dvbdevice.o] Error 1 >> >> The driver I am using ist http://jusst.de/hg/multiproto svn from today, >> and the included frontend.h really has no delivery member in this structure. >> >> > delivery was removed 5 weeks ago: > http://jusst.de/hg/multiproto/log/46df93f7bcee/linux/include/linux/dvb/frontend.h I used the same driver as in VDR version 1.5.14 (dated 2008-01-28). I tried to make today's driver from http://jusst.de/hg/multiproto, mixed with Oliver's full-ts mod stuff, but that didn't compile. So I just used what had worked with version 1.5.14. Let's hope there will soon be a combined driver source... Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr 1.7.0 does not compile
Hi > dvbdevice.c > dvbdevice.c: In member function 'bool cDvbTuner::SetFrontend()': > dvbdevice.c:271: error: 'struct dvbfe_info' has no member named 'delivery' > dvbdevice.c:286: error: 'struct dvbfe_info' has no member named 'delivery' > dvbdevice.c:307: error: 'struct dvbfe_info' has no member named 'delivery' > make: *** [dvbdevice.o] Error 1 > > The driver I am using ist http://jusst.de/hg/multiproto svn from today, > and the included frontend.h really has no delivery member in this structure. > > delivery was removed 5 weeks ago: http://jusst.de/hg/multiproto/log/46df93f7bcee/linux/include/linux/dvb/frontend.h -- Helmut Auer, [EMAIL PROTECTED] ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] vdr 1.7.0 does not compile
Hi List, When compiling vdr-1.7.0 i got this error: g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -march=pentium3 -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fPIC -c -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DELTIMESHIFTREC -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_IPTV -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -DREMOTE_KBD -DREMOTE_LIRC -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DCONFDIR=\"/etc/vdr\" -DPLUGINDIR=\"./PLUGINS/lib\" -DLOCDIR=\"./locale\" -DVFAT -I/usr/include/freetype2 -I/usr/portage/distfiles/hg-src/v4l-dvb-multiproto/multiproto/linux//include dvbdevice.c dvbdevice.c: In member function 'bool cDvbTuner::SetFrontend()': dvbdevice.c:271: error: 'struct dvbfe_info' has no member named 'delivery' dvbdevice.c:286: error: 'struct dvbfe_info' has no member named 'delivery' dvbdevice.c:307: error: 'struct dvbfe_info' has no member named 'delivery' make: *** [dvbdevice.o] Error 1 The driver I am using ist http://jusst.de/hg/multiproto svn from today, and the included frontend.h really has no delivery member in this structure. -- Helmut Auer, [EMAIL PROTECTED] ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr