[Gambas-user] compilation error on gb.v4l

Benoit Minisini gambas at ...1...
Sun Oct 2 15:37:13 CEST 2005


On Thursday 29 September 2005 23:40, Gaël Le Hec'H wrote:
> Hi,
> When I try to compile gambas 1.9.20 on a fresh full install of slackware
> 10.2 I get this error during compilation :
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing
> -Wno-unused-v
> alue -g -Os -MT CWebcam.lo -MD -MP -MF .deps/CWebcam.Tpo -c CWebcam.c
> -fPIC -DP
> IC -o .libs/CWebcam.o
> CWebcam.c: In function `CFEATURES_driver':
> CWebcam.c:927: error: storage size of `vcap' isn't known
> CWebcam.c:929: error: `VIDIOC_QUERYCAP' undeclared (first use in this
> function)
> CWebcam.c:929: error: (Each undeclared identifier is reported only once
> CWebcam.c:929: error: for each function it appears in.)
> CWebcam.c:927: warning: unused variable `vcap'
> CWebcam.c: In function `CFEATURES_bus':
> CWebcam.c:942: error: storage size of `vcap' isn't known
> CWebcam.c:944: error: `VIDIOC_QUERYCAP' undeclared (first use in this
> function)
> CWebcam.c:942: warning: unused variable `vcap'
> CWebcam.c: In function `CFEATURES_version':
> CWebcam.c:958: error: storage size of `vcap' isn't known
> CWebcam.c:960: error: `VIDIOC_QUERYCAP' undeclared (first use in this
> function)
> CWebcam.c:958: warning: unused variable `vcap'
> CWebcam.c: In function `CTUNER_low':
> CWebcam.c:1040: error: storage size of `vfreq' isn't known
> CWebcam.c:1046: error: `VIDIOC_G_FREQUENCY' undeclared (first use in
> this functi                    on)
> CWebcam.c:1051: error: `V4L2_TUNER_CAP_LOW' undeclared (first use in
> this functi                    on)
> CWebcam.c:1040: warning: unused variable `vfreq'
> CWebcam.c: In function `CTUNER_frequency':
> CWebcam.c:1070: error: storage size of `vfreq' isn't known
> CWebcam.c:1077: error: `VIDIOC_G_FREQUENCY' undeclared (first use in
> this functi                    on)
> CWebcam.c:1088: error: `VIDIOC_S_FREQUENCY' undeclared (first use in
> this functi                    on)
> CWebcam.c:1070: warning: unused variable `vfreq'
> make[4]: *** [CWebcam.lo] Error 1
> make[4]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gambas2-1.9.20'
> make: *** [all] Error 2
>
> If I disable-v4l the compilation succed.
>

I think (Daniel Campos should confirm) that the gb.v4l driver need 
VideoForLinux 2. What is your kernel version? Does it have V4L 2 ?

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list