PDA

View Full Version : [ubuntu] problem with gspca (trying to set up webcam)



cisneros
March 26th, 2009, 01:15 AM
I am trying to get a logitech webcam to work, and have gathered from other posts that I needed to use module assistant to install a module for gspca, but I get this in the module assistant. I am very new to ubuntu, and would greatly appreciate simple instructions to try and get it to work.

this is the output from module assistant.

Thank you for any suggestions

dh_testdir ↑
dh_testroot ▮
dh_clean ▒
/usr/bin/make -C /usr/src/modules/gspca clean ▒
make[1]: Entering directory `/usr/src/modules/gspca' ▒
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \ ▒
.gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \ ▒
*.symvers *.err ▒
make[1]: Leaving directory `/usr/src/modules/gspca' ▒
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/gspca' ↑
dh_testdir ▒
dh_testroot ▒
dh_clean ▮
/usr/bin/make -C /usr/src/modules/gspca clean ▒
make[2]: Entering directory `/usr/src/modules/gspca' ▒
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \ ▒
.gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \ ▒
*.symvers *.err ▒
make[2]: Leaving directory `/usr/src/modules/gspca' ▒
for templ in ; do \ ▒
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-11-generic/g'` ; \ ▒
done ▒
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}
${templ%.modules.in}.backup 2>/dev/null || true; \ ↑
sed -e 's/##KVERS##/2.6.27-11-generic/g ▒
;s/#KVERS#/2.6.27-11-generic/g ; s/_KVERS_/2.6.27-11-generic/g ; ▒
s/##KDREV##/2.6.27-11.27/g ; s/#KDREV#/2.6.27-11.27/g ; ▒
s/_KDREV_/2.6.27-11.27/g ' < $templ > ${templ%.modules.in}; \ ▒
done ▒
dh_testdir ▮
dh_testroot ▒
dh_clean -k ▒
# Build the module ▒
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.27-11-generic ▒
KERNELDIR=/usr/src/linux-headers-2.6.27-11-generic ▒
make[2]: Entering directory `/usr/src/modules/gspca' ▒
/usr/bin/make -C /usr/src/linux-headers-2.6.27-11-generic ▒
SUBDIRS=/usr/src/modules/gspca CC=gcc modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.27-11-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[4]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1 ▒
make[3]: *** [_module_/usr/src/modules/gspca] Error 2 ▒
make[3]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' ▒
make[2]: *** [default] Error 2 ▒
make[2]: Leaving directory `/usr/src/modules/gspca' ▒
make[1]: *** [binary-modules] Error 2 ▒
make[1]: Leaving directory `/usr/src/modules/gspca' ▮
make: *** [kdist_build] Error 2