Web lists-archives.com

Re: [Spca50x-devs] v4l1 compat wrapper version 0.3




Hi,

opn debian etch i have the following issue. What am I doing wrong? Thx rgds Marc


Script started on Sun 08 Jun 2008 08:26:02 AM CEST
debian:/usr/local/src/v4l1-compat-0.3# make
gcc -fpic -g -Wall -o v4l1-compat.o -c v4l1-compat.c
v4l1-compat.c: In function ‘set_v4l_control’:
v4l1-compat.c:107: warning: implicit declaration of function ‘_IOWR’
v4l1-compat.c:107: error: expected _expression_ before ‘struct’
v4l1-compat.c:117: error: expected _expression_ before ‘struct’
v4l1-compat.c: In function ‘v4l1_compat_set_format’:
v4l1-compat.c:157: error: expected _expression_ before ‘struct’
v4l1-compat.c:166: error: expected _expression_ before ‘struct’
v4l1-compat.c:181: error: expected _expression_ before ‘struct’
v4l1-compat.c: In function ‘v4l1_compat_map_buffers’:
v4l1-compat.c:203: error: expected _expression_ before ‘struct’
v4l1-compat.c:223: error: expected _expression_ before ‘struct’
v4l1-compat.c: In function ‘open’:
v4l1-compat.c:306: warning: implicit declaration of function ‘_IOR’
v4l1-compat.c:306: error: expected _expression_ before ‘struct’
v4l1-compat.c:345: error: expected _expression_ before ‘struct’
v4l1-compat.c:366: error: expected _expression_ before ‘struct’
v4l1-compat.c:386: error: expected _expression_ before ‘struct’
v4l1-compat.c:390: error: expected _expression_ before ‘struct’
v4l1-compat.c: In function ‘ioctl’:
v4l1-compat.c:471: warning: implicit declaration of function ‘_IOW’
v4l1-compat.c:471: error: expected _expression_ before ‘struct’
v4l1-compat.c:471: error: case label does not reduce to an integer constant
v4l1-compat.c:493: error: expected _expression_ before ‘struct’
v4l1-compat.c:493: error: case label does not reduce to an integer constant
v4l1-compat.c:514: error: expected _expression_ before ‘struct’
v4l1-compat.c:514: error: case label does not reduce to an integer constant
v4l1-compat.c:517: warning: unused variable ‘fmt2’
v4l1-compat.c:527: error: expected _expression_ before ‘struct’
v4l1-compat.c:527: error: case label does not reduce to an integer constant
v4l1-compat.c:548: error: expected _expression_ before ‘struct’
v4l1-compat.c:570: error: expected _expression_ before ‘struct’
v4l1-compat.c:570: error: case label does not reduce to an integer constant
v4l1-compat.c:581: error: expected _expression_ before ‘int’
v4l1-compat.c:593: error: expected _expression_ before ‘struct’
v4l1-compat.c:593: error: case label does not reduce to an integer constant
v4l1-compat.c:631: error: expected _expression_ before ‘struct’
v4l1-compat.c:631: error: case label does not reduce to an integer constant
v4l1-compat.c:665: error: expected _expression_ before ‘struct’
v4l1-compat.c:672: error: expected _expression_ before ‘int’
v4l1-compat.c:680: error: expected _expression_ before ‘int’
v4l1-compat.c:680: error: case label does not reduce to an integer constant
v4l1-compat.c:696: error: expected _expression_ before ‘struct’
v4l1-compat.c:711: error: expected _expression_ before ‘struct’
v4l1-compat.c:448: warning: unused variable ‘fp’
v4l1-compat.c: In function ‘read’:
v4l1-compat.c:780: error: expected _expression_ before ‘struct’
v4l1-compat.c:786: error: expected _expression_ before ‘int’
v4l1-compat.c:796: error: expected _expression_ before ‘struct’
v4l1-compat.c:806: error: expected _expression_ before ‘struct’
v4l1-compat.c:741: warning: unused variable ‘mem_alloc_result’
v4l1-compat.c: In function ‘mmap’:
v4l1-compat.c:815: warning: unused variable ‘result’
make: *** [v4l1-compat.o] Error 1
debian:/usr/local/src/v4l1-compat-0.3#
Script done on Sun 08 Jun 2008 08:26:10 AM CEST


--- Hans de Goede <j.w.r.degoede@xxxxxx> schrieb am Fr, 6.6.2008:
Von: Hans de Goede <j.w.r.degoede@xxxxxx>
Betreff: [Spca50x-devs] v4l1 compat wrapper version 0.3
An: "need4weed@xxxxxxxxx" <need4weed@xxxxxxxxx>, "Elmar Kleijn" <elmar_kleijn@xxxxxxxxxxx>, video4linux-list@xxxxxxxxxx, spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
Datum: Freitag, 6. Juni 2008, 15:00

Hi All,

Ok, this one _really_ works with ekiga (and still works fine with spcaview) and

also works with camorama with selected cams (not working on some cams due to a
camorama bug).

Changes:
* Don't allow multiple opens, in theory our code can handle it, but not all
v4l2 devices like it (ekiga does it and uvc doesn't like it).

New version attached.

Regards,

Hans
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs


Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs