Hi folks

I wanted to install web cam which has a gspca driver module. I tried with it
m-a but it ended up with a error message.

then I tried to manually compile the source. its ended up with the following
error.

make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca CC=cc
modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: No such
file or directory
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_ioctl':
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of
function 'video_usercopy'
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field 'owner'
specified in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from
incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field 'type'
specified in initializer
/usr/src/modules/gspca/gspca_core.c: In function 'spca50x_create_sysfs':
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of
function 'video_device_create_file'
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of
function 'video_device_remove_file'
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_probe':
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in
assignment
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [default] Error 2


semaphore.h is not in /usr/src/linux-headers-2.6.27-9/include. I think this
might be the prob..


does any one know how to install this driver kernel?

-- 
කුංචන මාතොට ආරච්චි
Kunchana Mathota Arachchi

My Blog: http://tuskytux.blogspot.com
My Picasa : http://picasaweb.google.com/kunchana
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to