[vlc-devel] Build rrrors v4l2 (different errors on different versions of openSUSE)

Dominique Leuenberger dominique at leuenberger.net
Mon Oct 3 17:14:36 CEST 2011


Hi devs!

Since recently, all my vlc git master builds are failing (on all
platforms I build for, being openSUSE 11.3, 11.4 and Factory).

On Factory the 'issue' is likely only that we do not yet have the '3.1
final kernel', as we have 'only' rc7 available, which in turn might not
yet have the right header version (The check implies version 3.1.0)

The build Failure on Factory looks like this:
### Factory failure
v4l2/controls.c: In function 'ControlAddInteger':
v4l2/controls.c:363:25: error: 'V4L2_CTRL_FLAG_VOLATILE' undeclared
(first use in this function)
v4l2/controls.c:363:25: note: each undeclared identifier is reported
only once for each function it appears in
### End Factory failure

On 11.4, the error is like this:
### 11.4 failure
In file included from v4l2/controls.c:30:0:
v4l2/v4l2.h:35:4: warning: #warning Please update Video4Linux2 headers!
v4l2/controls.c:76:25: error: 'V4L2_CID_ILLUMINATORS_1' undeclared here
(not in a function)
v4l2/controls.c:76:5: warning: missing initializer
v4l2/controls.c:76:5: warning: (near initialization for
'controls[31].cid')
v4l2/controls.c:77:25: error: 'V4L2_CID_ILLUMINATORS_2' undeclared here
(not in a function)
v4l2/controls.c:77:5: warning: missing initializer
v4l2/controls.c:77:5: warning: (near initialization for
'controls[32].cid')
### End 11.4 failure

And on 11.4 the error is like this:
### 11.3 failure
In file included from v4l2/video.c:40:0:
v4l2/v4l2.h:35:4: warning: #warning Please update Video4Linux2 headers!
v4l2/video.c:164:42: error: 'V4L2_COLORFX_NEGATIVE' undeclared here (not
in a function)
v4l2/video.c:165:5: error: 'V4L2_COLORFX_EMBOSS' undeclared here (not in
a function)
v4l2/video.c:165:26: error: 'V4L2_COLORFX_SKETCH' undeclared here (not
in a function)
v4l2/video.c:165:47: error: 'V4L2_COLORFX_SKY_BLUE' undeclared here (not
in a function)
v4l2/video.c:166:5: error: 'V4L2_COLORFX_GRASS_GREEN' undeclared here
(not in a function)
v4l2/video.c:166:31: error: 'V4L2_COLORFX_SKIN_WHITEN' undeclared here
(not in a function)
v4l2/video.c:166:57: error: 'V4L2_COLORFX_VIVID' undeclared here (not in
a function)
v4l2/video.c: In function 'InitVideo':
### End 11.3 failure

Amazing how this code could break in so many different ways! I would be
surprised if no other distro is facing these errors!

Dominique




More information about the vlc-devel mailing list