On Mon, 2006-05-08 at 22:38 +0200, Matthias Schwarzott wrote:
On Monday 08 May 2006 22:31, Mlists wrote:
All that to say, now I still can't compile pvrinput... here is the new error:
make[1]: Entering directory `/disk2/vdr/vdr-1.4.0/PLUGINS/src/pvrinput-0.1.1' ccache g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"pvrinput"' -I/vdr/DVB/include -I/vdr/vdr-1.4.0/include -I/vdr/DVB/include device.c 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
Any suggestions?
To compile this plugin, you need to change the order in which the header files are included. Move the file linux/videodev.h from its place before videodev2.h to a line after it.
Thanks that did the trick!
Norm