anna@schlaukopf:~/gspca/gspcav1-20071224$ sudo ./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: Aufruf von stat für „gspca.ko“ nicht möglich: No such file or directory
make: *** [install] Fehler 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/anna/gspca/gspcav1-20071224 CC=cc modules
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.31-19-generic'
CC [M] /home/anna/gspca/gspcav1-20071224/gspca_core.o
In file included from /home/anna/gspca/gspcav1-20071224/gspca_core.c:845:
/home/anna/gspca/gspcav1-20071224/utils/spcausb.h: In function ‘spca5xxRegRead’:
/home/anna/gspca/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function ‘info’
/home/anna/gspca/gspcav1-20071224/utils/spcausb.h: In function ‘spca_set_interface’:
/home/anna/gspca/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
In file included from /home/anna/gspca/gspcav1-20071224/gspca_core.c:853:
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_init’:
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function ‘sp5xxfw2_start’:
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object ‘info’ is not a function
/home/anna/gspca/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/home/anna/gspca/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
include/media/v4l2-ioctl.h:298: note: expected ‘struct file *’ but argument is of type ‘struct inode *’
/home/anna/gspca/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 2 of ‘video_usercopy’ makes integer from pointer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘unsigned int’ but argument is of type ‘struct file *’
/home/anna/gspca/gspcav1-20071224/gspca_core.c:2463: warning: passing argument 4 of ‘video_usercopy’ makes pointer from integer without a cast
include/media/v4l2-ioctl.h:298: note: expected ‘v4l2_kioctl’ but argument is of type ‘long unsigned int’
/home/anna/gspca/gspcav1-20071224/gspca_core.c:2463: error: too many arguments to function ‘video_usercopy’
/home/anna/gspca/gspcav1-20071224/gspca_core.c: At top level:
/home/anna/gspca/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
make[2]: *** [/home/anna/gspca/gspcav1-20071224/gspca_core.o] Fehler 1
make[1]: *** [_module_/home/anna/gspca/gspcav1-20071224] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.31-19-generic'
make: *** [default] Fehler 2