PVRInput plugin won't compile WAS - Re: Analog Plugin help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Matthias

-- 
Matthias Schwarzott
Gentoo Developer
http://www.gentoo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-pvrinput-0.1.1-include-order.patch
Type: text/x-diff
Size: 455 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20060508/63bc63c9/vdr-pvrinput-0.1.1-include-order.bin

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux