can't get my webcam to work

Asked by mkeith on 2009-04-20

I can't get gspca to compile in ubuntu jaunty 9.04 2.6.28-11-generic there are all sorts of errors
/home/mkeith/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/mkeith/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/home/mkeith/gspcav1-20071224/gspca_core.c: At top level:
/home/mkeith/gspcav1-20071224/gspca_core.c:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/home/mkeith/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/home/mkeith/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/mkeith/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/home/mkeith/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/home/mkeith/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/home/mkeith/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/home/mkeith/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/mkeith/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/mkeith/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [default] Error 2

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu hal Edit question
Assignee:
No assignee Edit question
Last query:
2009-04-20
Last reply:
2009-04-22
Luis F. Lopez (luis.lopez) said : #1

The version of gspca that your are trying to compile is very old... You should try the driver that is included on the Jaunty kernel...

If they default gspca driver doesn't work, can you please provide the output when you try to load it?

Cheers,

Luis

Can you help with this problem?

Provide an answer of your own, or ask mkeith for more information if necessary.

To post a message you must log in.