[vlc-devel] PVR new driver build error

Gregor Fuis gujs.lists at gmail.com
Mon Jun 11 10:36:32 CEST 2007


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.

./configure \
    --prefix=/iptv/vlc \
    --enable-pth \
    --disable-debug \
    --enable-release \
    --enable-pvr \
    --enable-dvb \
    --with-ffmpeg-tree=/home/iptv/VideoLAN/ffmpeg \
    --with-ffmpeg-mp3lame \
    --with-dvbpsi-tree=/home/iptv/VideoLAN/libdvbpsi \
    --with-videodev2=/usr/include/linux/videodev2.h

And my error is:

 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX 
-I../../include -I/iptv/vlc/include -D_FILE_OFFSET_BITS=64 
-D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE 
-DLOCALEDIR=\"/iptv/vlc/share/locale\" 
-DDATA_PATH=\"/iptv/vlc/share/vlc\" -DPLUGIN_PATH=\"/iptv/vlc/lib/vlc\" 
-DHAVE_RELEASE -O3 -ffast-math -funroll-loops -mtune=pentium2 
-fomit-frame-pointer -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=pvr 
-DMODULE_NAME_IS_pvr -fvisibility=hidden -Wall -Wextra 
-Wno-unused-parameter -Wsign-compare -Wundef -Wpointer-arith 
-Wbad-function-cast -Wcast-align -Wwrite-strings -Wold-style-definition 
-Wmissing-prototypes -MT libpvr_plugin_la-pvr.lo -MD -MP -MF 
.deps/libpvr_plugin_la-pvr.Tpo -c pvr.c  -fPIC -DPIC -o 
.libs/libpvr_plugin_la-pvr.o
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 
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