[Gambas-user] compilation error

bimbo samba at ...1218...
Wed Nov 16 16:00:59 CET 2005


My system : Slackware-current
Gambas Version : gambas2-1.9.21

Below the error :

Making all in gb.v4l
make[2]: Entering directory `/home/bimbo/gambas2-1.9.21/gb.v4l'
make  all-recursive
make[3]: Entering directory `/home/bimbo/gambas2-1.9.21/gb.v4l'
Making all in src
make[4]: Entering directory `/home/bimbo/gambas2-1.9.21/gb.v4l/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..    -pipe -Wall -fno-strict-aliasing -Wno-unused-value -g -Os
-MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f
".deps/main.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing
-Wno-unused-value -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c
main.c  -fPIC -DPIC -o .libs/main.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..    -pipe -Wall -fno-strict-aliasing -Wno-unused-value -g -Os
-MT CWebcam.lo -MD -MP -MF ".deps/CWebcam.Tpo" -c -o CWebcam.lo CWebcam.c; \
then mv -f ".deps/CWebcam.Tpo" ".deps/CWebcam.Plo"; else rm -f
".deps/CWebcam.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing
-Wno-unused-value -g -Os -MT CWebcam.lo -MD -MP -MF .deps/CWebcam.Tpo -c
CWebcam.c  -fPIC -DPIC -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 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 `/home/bimbo/gambas2-1.9.21/gb.v4l/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bimbo/gambas2-1.9.21/gb.v4l'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/bimbo/gambas2-1.9.21/gb.v4l'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bimbo/gambas2-1.9.21'
make: *** [all] Error 2


Have you got any ideas?

Thanks




More information about the User mailing list