Compilation of libv4l2_plugin_la-video.lo fails
Posted: 07 Oct 2011 10:49
Hi everyone,
I'm trying to compile the VLC sources from the GIT repository, and the compilation fails each time with this error message:
The option --disable-libv4l2 does not prevent this. I edited the file modules/access/Modules.am and commented this line:
Shouldn't the disabling of libv4l2 prevent this ?
Thanks again for this great software !
Steps to reproduce the problem:
1) git pull (October 7, 2011)
2) ./configure --disable-xcb --disable-libgcrypt --disable-libv4l2
3) make
Workaround: in modules/access/Modules.am, comment the line
System information:
Ubuntu 10.04 x86_64
Kernel 2.6.35-25-generic
gcc 4.4.3
GNU Make 3.81
I'm trying to compile the VLC sources from the GIT repository, and the compilation fails each time with this error message:
Code: Select all
CC libv4l2_plugin_la-video.lo
In file included from v4l2/video.c:40:
v4l2/v4l2.h:33:3: warning: #warning Please update Video4Linux2 headers!
v4l2/video.c:170: error: ‘V4L2_COLORFX_NEGATIVE’ undeclared here (not in a function)
v4l2/video.c:171: error: ‘V4L2_COLORFX_EMBOSS’ undeclared here (not in a function)
v4l2/video.c:171: error: ‘V4L2_COLORFX_SKETCH’ undeclared here (not in a function)
v4l2/video.c:171: error: ‘V4L2_COLORFX_SKY_BLUE’ undeclared here (not in a function)
v4l2/video.c:172: error: ‘V4L2_COLORFX_GRASS_GREEN’ undeclared here (not in a function)
v4l2/video.c:172: error: ‘V4L2_COLORFX_SKIN_WHITEN’ undeclared here (not in a function)
v4l2/video.c:172: error: ‘V4L2_COLORFX_VIVID’ undeclared here (not in a function)
v4l2/video.c: In function ‘InitVideo’:
v4l2/video.c:932: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘v4l2_std_id’
v4l2/video.c:935: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 5 has type ‘v4l2_std_id’
make[5]: *** [libv4l2_plugin_la-video.lo] Error 1
Code: Select all
libvlc_LTLIBRARIES += libv4l2_plugin.la
Thanks again for this great software !
Steps to reproduce the problem:
1) git pull (October 7, 2011)
2) ./configure --disable-xcb --disable-libgcrypt --disable-libv4l2
3) make
Workaround: in modules/access/Modules.am, comment the line
Code: Select all
libvlc_LTLIBRARIES += libv4l2_plugin.la
Ubuntu 10.04 x86_64
Kernel 2.6.35-25-generic
gcc 4.4.3
GNU Make 3.81