[Gambas-devel] Video4Linux2 compile error svn Gambas 3 on Ubuntu Hardy 8.04

Ron ron at ...572...
Mon Jul 13 15:52:23 CEST 2009


Trying to compile svn Gambas3 rev 2110 on Ubuntu 8.04

Making install in gb.v4l
make[1]: Entering directory `/home/ron/install/gambas/trunk/trunk/gb.v4l'
Making install in src
make[2]: Entering directory 
`/home/ron/install/gambas/trunk/trunk/gb.v4l/src'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I..    -                           pipe -Wall -Wno-unused-value 
-fsigned-char -fvisibility=hidden -g -Os  -MT 
main.                           lo -MD -MP -MF .deps/main.Tpo -c -o 
main.lo main.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -Wno-unused-value 
-fsigned-char -fvisi                           bility=hidden -g -Os -MT 
main.lo -MD -MP -MF .deps/main.Tpo -c main.c  -fPIC 
-DP                           IC -o .libs/main.o
mv -f .deps/main.Tpo .deps/main.Plo
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I..    -                           pipe -Wall -Wno-unused-value 
-fsigned-char -fvisibility=hidden -g -Os  -MT 
CWebc                           am.lo -MD -MP -MF .deps/CWebcam.Tpo -c 
-o CWebcam.lo CWebcam.c
 gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -Wno-unused-value 
-fsigned-char -fvisi                           bility=hidden -g -Os -MT 
CWebcam.lo -MD -MP -MF .deps/CWebcam.Tpo -c 
CWebcam.c                             -fPIC -DPIC -o .libs/CWebcam.o
mv -f .deps/CWebcam.Tpo .deps/CWebcam.Plo
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I..    -                           pipe -Wall -Wno-unused-value 
-fsigned-char -fvisibility=hidden -g -Os  -MT 
gv4l2                           .lo -MD -MP -MF .deps/gv4l2.Tpo -c -o 
gv4l2.lo gv4l2.c
 gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -Wno-unused-value 
-fsigned-char -fvisi                           bility=hidden -g -Os -MT 
gv4l2.lo -MD -MP -MF .deps/gv4l2.Tpo -c gv4l2.c  
-fPIC                            -DPIC -o .libs/gv4l2.o
gv4l2.c: In function 'gv4l2_process_image':
gv4l2.c:605: error: 'V4L2_PIX_FMT_Y16' undeclared (first use in this 
function)
gv4l2.c:605: error: (Each undeclared identifier is reported only once
gv4l2.c:605: error: for each function it appears in.)
gv4l2.c:633: error: 'V4L2_PIX_FMT_SGBRG8' undeclared (first use in this 
function                           )
gv4l2.c:634: error: 'V4L2_PIX_FMT_SBGGR16' undeclared (first use in this 
functio                           n)
gv4l2.c:644: error: 'V4L2_PIX_FMT_SPCA501' undeclared (first use in this 
functio                           n)
gv4l2.c:645: error: 'V4L2_PIX_FMT_SPCA505' undeclared (first use in this 
functio                           n)
gv4l2.c:646: error: 'V4L2_PIX_FMT_SPCA508' undeclared (first use in this 
functio                           n)
gv4l2.c:647: error: 'V4L2_PIX_FMT_SPCA561' undeclared (first use in this 
functio                           n)
gv4l2.c:648: error: 'V4L2_PIX_FMT_PAC207' undeclared (first use in this 
function                           )
gv4l2.c:649: error: 'V4L2_PIX_FMT_PJPG' undeclared (first use in this 
function)
gv4l2.c:650: error: 'V4L2_PIX_FMT_YVYU' undeclared (first use in this 
function)
make[2]: *** [gv4l2.lo] Error 1
make[2]: Leaving directory `/home/ron/install/gambas/trunk/trunk/gb.v4l/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ron/install/gambas/trunk/trunk/gb.v4l'
make: *** [install-recursive] Error 1

I found an older thread about this exact problem, where they talk about 
having to comment out these defines....
Is this still needed, if so, this is not practical!

Or do I miss a dependency?

Regards,
Ron_2nd.





More information about the Devel mailing list