Hi There,
I would like to compile the driver for my creative NX webcam "spca50x".\
Now the readme says following:
as root
goes to gspcav1 directory and run:
./gspca_build
But this is where I'm getting:
Does any one have a clue how I would get this dirver compiled succesfully? Anyone with experience?
Thanks,
Ron!
I would like to compile the driver for my creative NX webcam "spca50x".\
Now the readme says following:
as root
goes to gspcav1 directory and run:
./gspca_build
But this is where I'm getting:
Code:
reg@reg-desktop:~/downloads/gspcav1-20071224$ sudo -s [sudo] password for reg: root@reg-desktop:~/downloads/gspcav1-20071224# ./gspca_build REMOVE the old module if present ERROR: Module gspca does not exist in /proc/modules CLEAN gspca source tree rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \ .gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \ *.symvers *.err COMPILE gspca Please Wait ....!! INSTALL gspca in the kernel binary tree mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/ rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/ install: cannot stat `gspca.ko': No such file or directory make: *** [install] Error 1 LOAD gspca in memory FATAL: Module gspca not found. PRINT COMPILATION MESSAGES if ERRORS look kgspca.err make -C /lib/modules/`uname -r`/build SUBDIRS=/home/reg/downloads/gspcav1-20071224 CC=cc modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /home/reg/downloads/gspcav1-20071224/gspca_core.o /home/reg/downloads/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory /home/reg/downloads/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’: /home/reg/downloads/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’ /home/reg/downloads/gspcav1-20071224/gspca_core.c: At top level: /home/reg/downloads/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer /home/reg/downloads/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type /home/reg/downloads/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer /home/reg/downloads/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’: /home/reg/downloads/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’ /home/reg/downloads/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’ /home/reg/downloads/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’: /home/reg/downloads/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment make[2]: *** [/home/reg/downloads/gspcav1-20071224/gspca_core.o] Error 1 make[1]: *** [_module_/home/reg/downloads/gspcav1-20071224] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' make: *** [default] Error 2 root@reg-desktop:~/downloads/gspcav1-20071224#
Thanks,
Ron!