Hi There,
I would like to compile the spca5xx driver in an attempt to get my webcam working with skype that is working with Kopete only... but i'm not getting very far:
Any one a clue what I'm doing wrong?
Thank you for hints or suggestions!
Ron
I would like to compile the spca5xx driver in an attempt to get my webcam working with skype that is working with Kopete only... but i'm not getting very far:
Code:
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.32-22-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
In file included from /home/reg/Downloads/gspcav1-20071224/gspca_core.c:845:
/home/reg/Downloads/gspcav1-20071224/utils/spcausb.h: In function ‘spca5xxRegRead’:
/home/reg/Downloads/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function ‘info’
/home/reg/Downloads/gspcav1-20071224/utils/spcausb.h: In function ‘spca_set_interface’:
/home/reg/Downloads/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
In file included from /home/reg/Downloads/gspcav1-20071224/gspca_core.c:853:
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_init’:
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_start’:
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object ‘info’ is not a function
/home/reg/Downloads/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object ‘info’ is not a function
/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:2615: warning: initialization from incompatible pointer type
/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 when assigning to type ‘struct device’ from type ‘struct device *’
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.32-22-generic'
make: *** [default] Error 2
root@reg-desktop:~/Downloads/gspcav1-20071224#
Thank you for hints or suggestions!
Ron






Comment