[vlc-devel] Re: PVR new driver build error

Sigmund Augdal dnumgis at videolan.org
Mon Jun 11 10:50:38 CEST 2007


On Mon, 2007-06-11 at 10:36 +0200, Gregor Fuis wrote:
> Hello,
> 
> I have a problem building vlc-trunk with new pvr driver support. My 
> kernel is 2.6.21.4. And building vlc wirk with old pvr driver support.
> 

> And my error is:
> 
> pvr.c: In function 'ConfigureV4L2':
> pvr.c:431: error: 'struct v4l2_ext_controls' has no member named 'control'
> pvr.c:527: error: 'control' undeclared (first use in this function)
> pvr.c:527: error: (Each undeclared identifier is reported only once
> pvr.c:527: error: for each function it appears in.)
> pvr.c: In function 'Open':
> pvr.c:1023: warning: passing argument 1 of 'Close' from incompatible 
This looks very familiar to me. I managed to get it compiling by
changing "control" to "controls" at that place and some others in the
same function. I have not yet tested if this is the correct fix. If the
original patch submitter reads this, I would like his comment.

sigmund

> pointer type
> make[4]: *** [libpvr_plugin_la-pvr.lo] Error 1
> make[4]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/modules/access'
> make[3]: *** [all-modules] Error 1
> make[3]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/modules/access'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/iptv/VideoLAN/vlc-trunk'
> make: *** [all] Error 2
> 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list