Web lists-archives.com

Re: [Spca50x-devs] libv4l release: 0.5.0




  Dear Hans,

I have SLC5.2, gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)

uname -r
2.6.18-92.1.10.el5

and trying to compile libv4l-0.5.0 I have:

make
make -C libv4lconvert V4L2_LIB_VERSION=0.5.0 all
make[1]: Entering directory `/root/gspca/libv4l-0.5.0/libv4lconvert'
cc -c -MMD -I../include -I../../../../linux/include -fvisibility=hidden 
-fPIC -g -O1 -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -o libv4lconvert.o libv4lconvert.c
In file included from libv4lconvert.c:24:
../include/libv4lconvert.h:77: warning: ‘struct v4l2_frmsizeenum’ 
declared inside parameter list
../include/libv4lconvert.h:77: warning: its scope is only this 
definition or declaration, which is probably not what you want
../include/libv4lconvert.h:82: warning: ‘struct v4l2_frmivalenum’ 
declared inside parameter list
In file included from libv4lconvert.c:25:
libv4lconvert-priv.h:86: error: array type has incomplete element type
libv4lconvert.c: In function ‘v4lconvert_get_framesizes’:
libv4lconvert.c:625: error: variable ‘frmsize’ has initializer but 
incomplete type
libv4lconvert.c:625: error: unknown field ‘pixel_format’ specified in 
initializer
libv4lconvert.c:625: warning: excess elements in struct initializer
libv4lconvert.c:625: warning: (near initialization for ‘frmsize’)
libv4lconvert.c:625: error: storage size of ‘frmsize’ isn’t known
libv4lconvert.c:629: error: ‘VIDIOC_ENUM_FRAMESIZES’ undeclared (first 
use in this function)
libv4lconvert.c:629: error: (Each undeclared identifier is reported only 
once
libv4lconvert.c:629: error: for each function it appears in.)
libv4lconvert.c:639: error: ‘V4L2_FRMSIZE_TYPE_DISCRETE’ undeclared 
(first use in this function)
libv4lconvert.c:644: error: ‘V4L2_FRMSIZE_TYPE_CONTINUOUS’ undeclared 
(first use in this function)
libv4lconvert.c:645: error: ‘V4L2_FRMSIZE_TYPE_STEPWISE’ undeclared 
(first use in this function)
libv4lconvert.c: At top level:
libv4lconvert.c:676: error: conflicting types for 
‘v4lconvert_enum_framesizes’
../include/libv4lconvert.h:77: error: previous declaration of 
‘v4lconvert_enum_framesizes’ was here
libv4lconvert.c: In function ‘v4lconvert_enum_framesizes’:
libv4lconvert.c:677: error: dereferencing pointer to incomplete type
libv4lconvert.c:678: error: ‘VIDIOC_ENUM_FRAMESIZES’ undeclared (first 
use in this function)
libv4lconvert.c:680: error: dereferencing pointer to incomplete type
libv4lconvert.c:685: error: dereferencing pointer to incomplete type
libv4lconvert.c:685: error: dereferencing pointer to incomplete type
libv4lconvert.c:686: error: dereferencing pointer to incomplete type
libv4lconvert.c:687: error: ‘V4L2_FRMSIZE_TYPE_DISCRETE’ undeclared 
(first use in this function)
libv4lconvert.c:688: error: dereferencing pointer to incomplete type
libv4lconvert.c:688: error: dereferencing pointer to incomplete type
libv4lconvert.c:690: error: ‘V4L2_FRMSIZE_TYPE_CONTINUOUS’ undeclared 
(first use in this function)
libv4lconvert.c:691: error: ‘V4L2_FRMSIZE_TYPE_STEPWISE’ undeclared 
(first use in this function)
libv4lconvert.c:692: error: dereferencing pointer to incomplete type
libv4lconvert.c:692: error: dereferencing pointer to incomplete type
libv4lconvert.c: At top level:
libv4lconvert.c:700: warning: ‘struct v4l2_frmivalenum’ declared inside 
parameter list
libv4lconvert.c:701: error: conflicting types for 
‘v4lconvert_enum_frameintervals’
../include/libv4lconvert.h:82: error: previous declaration of 
‘v4lconvert_enum_frameintervals’ was here
libv4lconvert.c: In function ‘v4lconvert_enum_frameintervals’:
libv4lconvert.c:705: error: dereferencing pointer to incomplete type
libv4lconvert.c:706: error: ‘VIDIOC_ENUM_FRAMEINTERVALS’ undeclared 
(first use in this function)
libv4lconvert.c:711: error: dereferencing pointer to incomplete type
libv4lconvert.c:712: error: dereferencing pointer to incomplete type
libv4lconvert.c:713: error: dereferencing pointer to incomplete type
libv4lconvert.c:718: error: dereferencing pointer to incomplete type
libv4lconvert.c:719: error: dereferencing pointer to incomplete type
libv4lconvert.c:720: error: dereferencing pointer to incomplete type
libv4lconvert.c:726: error: dereferencing pointer to incomplete type
libv4lconvert.c:727: error: dereferencing pointer to incomplete type
libv4lconvert.c:728: error: dereferencing pointer to incomplete type
libv4lconvert.c:732: error: dereferencing pointer to incomplete type
libv4lconvert.c:733: error: dereferencing pointer to incomplete type
libv4lconvert.c:734: error: dereferencing pointer to incomplete type
make[1]: *** [libv4lconvert.o] Error 1
make[1]: Leaving directory `/root/gspca/libv4l-0.5.0/libv4lconvert'
make: *** [all] Error 2
===========================================================================

Regards,
Dusan


Hans de Goede wrote:
> Hi All,
>
> libv4l-0.5.0
> ------------
> * Add support for enumerating framesizes and frameintervals of emulated
>    formats when the driver supports it for the real format
> * Make sure the video device always gets opened RW even if the application
>    asks for RO
> * Add Genius E-Messenger 112 (093a:2476) to list of cams which have their
>    sensor upside down
>
> Get it here:
> http://people.atrpms.net/~hdegoede/libv4l-0.5.0.tar.gz
>
> Regards,
>
> Hans
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Spca50x-devs mailing list
> Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/spca50x-devs
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs