[Gambas-user] My Errors when installing on Slackware 10.1

Benoit Minisini gambas at ...1...
Wed Aug 10 20:29:50 CEST 2005


On Wednesday 10 August 2005 00:16, abu syafa wrote:
> $./configure
> --> OK
> $make
> --> there are some errors here:
> 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 function)
> CWebcam.c:1051: error: `V4L2_TUNER_CAP_LOW' undeclared (first use in
> this function)
> 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 function)
> CWebcam.c:1088: error: `VIDIOC_S_FREQUENCY' undeclared (first use in
> this function)
> CWebcam.c:1070: warning: unused variable `vfreq'
> make[4]: *** [CWebcam.lo] Error 1
> make[4]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/gambas2-1.9.14/gb.v4l'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/gambas2-1.9.14'
> make: *** [all] Error 2
>
>

You have to install the linux kernel headers. Maybe you have to install the 
complete linux sources to get them.

The reason is that the video component uses a part specific to the Linux 
kernel named "Video For Linux".

Regards,

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




More information about the User mailing list