I've been reading this thread http://ubuntuforums.org/showthread.php?t=885795
On Sun, Mar 21, 2010 at 4:52 PM, Paul Saenz <forensicneoph...@gmail.com>wrote: > I've been trying to build a webcam driver for a friend who has > a LifeCam V-3000, which is not supported by ubuntu out of the > box. I have been reading the read me in the package, and the thread > on ubuntu forums, but I do not understand what is the problem. > I have installed the build essentials package. > Here is the error message that the build command generates: > can anyone tell me where my problem is and/or give me a clue > about where I need to look. > > Thanks > Paul > > no...@noemi-laptop:~/Templates/gspcav1-20071224$ uname -r > 2.6.28-18-generic > no...@noemi-laptop:~/Templates/gspcav1-20071224$ sudo ./gspca_build > [sudo] password for noemi: > > 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/noemi/Templates/gspcav1-20071224 CC=cc modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.28-18-generic' > CC [M] /home/noemi/Templates/gspcav1-20071224/gspca_core.o > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:54:27: error: > asm/semaphore.h: No such file or directory > /home/noemi/Templates/gspcav1-20071224/gspca_core.c: In function > ‘spca5xx_ioctl’: > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2463: error: implicit > declaration of function ‘video_usercopy’ > /home/noemi/Templates/gspcav1-20071224/gspca_core.c: At top level: > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2609: error: unknown > field ‘owner’ specified in initializer > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2609: warning: > initialization from incompatible pointer type > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2611: error: unknown > field ‘type’ specified in initializer > /home/noemi/Templates/gspcav1-20071224/gspca_core.c: In function > ‘spca50x_create_sysfs’: > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2769: error: implicit > declaration of function ‘video_device_create_file’ > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:2780: error: implicit > declaration of function ‘video_device_remove_file’ > /home/noemi/Templates/gspcav1-20071224/gspca_core.c: In function > ‘spca5xx_probe’: > /home/noemi/Templates/gspcav1-20071224/gspca_core.c:4301: error: > incompatible types in assignment > make[2]: *** [/home/noemi/Templates/gspcav1-20071224/gspca_core.o] Error 1 > make[1]: *** [_module_/home/noemi/Templates/gspcav1-20071224] Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-18-generic' > make: *** [default] Error 2 > no...@noemi-laptop:~/Templates/gspcav1-20071224$ > >
_______________________________________________ LinuxUsers mailing list LinuxUsers@socallinux.org http://socallinux.org/cgi-bin/mailman/listinfo/linuxusers