Thanks Lucian The first patch which adds > +#include <linux/videodev.h> worked - it compiles fine now, except for the following warnings: Plugin pvrinput: make[1]: Entering directory `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' -I../../../../DVB/include -I../../../include -I../../../../DVB/include device.c device.c: In member function 'void cPvrReadThread::PesToTs(uint8_t*, uint32_t)': device.c:223: warning: large integer implicitly truncated to unsigned type device.c:255: warning: large integer implicitly truncated to unsigned type g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' -I../../../../DVB/include -I../../../include -I../../../../DVB/include menu.c g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' -I../../../../DVB/include -I../../../include -I../../../../DVB/include setup.c g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -shared plugin.o common.o device.o menu.o setup.o -o libvdr-pvrinput.so make[1]: Leaving directory `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' Now all I need is a picture I can actually watch with pvrinput (see my other threads)!! ----- Original Message ----- From: "Lucian Muresan" <lucianm@xxxxxxxxxxxxxxxxxxxxx> To: "VDR Mailing List" <vdr@xxxxxxxxxxx> Sent: Saturday, June 03, 2006 2:44 AM Subject: Re: pvrinput compile fails with vdr-1.4.0 > Hi Simon, > > Simon Baxter wrote: >> Hi. >> I've compiled this ok against 1.3.46, but am preparing to make the leap >> to >> 1.4.0. >> >> Everything other plugin I use seems ok, except pvrinput >> >> Plugin pvrinput: >> make[1]: Entering directory >> `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' >> g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' >> -I../../../../DVB/include -I../../../include -I../../../../DVB/include >> device.c >> device.c: In member function 'void cPvrReadThread::PesToTs(uint8_t*, >> uint32_t)' >> device.c:223: warning: large integer implicitly truncated to unsigned >> type >> device.c:255: warning: large integer implicitly truncated to unsigned >> type >> device.c: In member function 'virtual void cPvrReadThread::Action()': >> device.c:417: error: 'V4L2_BUF_TYPE_SLICED_VBI_CAPTURE' was not declared >> in >> this scope >> device.c:418: error: 'union v4l2_format::<anonymous>' has no member named >> 'sliced' >> device.c:418: error: 'V4L2_SLICED_TELETEXT_B' was not declared in this >> scope >> make[1]: *** [device.o] Error 1 >> make[1]: Leaving directory >> `/home/vdruser/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' >> >> Is this plugin not supported with my version of v4l? >> >> Can anyone help? > > It works for me on gentoo. However, on gentoo there is a patch regarding > inclusion order of some headers for pvrinput (attached). Try this one > first. If it doesn't help either, go one step further: > Moreover, I also replaced ivtv.h and videodev2.h inside the pvrinput > sources with the files supplied with the ivtv package I tried (0.6.2, > 0.8 from CVS respectively), and the newer v4l-dvb fetched from HG (I > think starting with ivtv-0.6.2 this is necessary). Try these one by one > as described. Good luck! > > Lucian > -------------------------------------------------------------------------------- > diff -ru pvrinput-0.1.0-orig/device.c pvrinput-0.1.0/device.c > --- pvrinput-0.1.0-orig/device.c 2006-02-10 20:04:39.667936500 +0100 > +++ pvrinput-0.1.0/device.c 2006-02-10 20:04:52.976768250 +0100 > @@ -6,13 +6,13 @@ > #include <vdr/channels.h> > #include <vdr/sources.h> > > -#include <linux/videodev.h> > - > extern "C" { > #include "videodev2.h" > #include "ivtv.h" > } > > +#include <linux/videodev.h> > + > #include "common.h" > #include "device.h" > #include "global.h" >