[Gambas-user] compilation error

Stefano Palmeri stefanopalmeri at ...152...
Thu Nov 17 05:06:57 CET 2005


Hi. Probably you need a 2.6.x kernel source for
compiling gb.vl4 component. If you're running a 2.4 kernel, 
try to disable that component when ./configure.

Ciao.

Alle 16:00, mercoledì 16 novembre 2005, bimbo ha scritto:
> 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
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 




More information about the User mailing list