intrepid : driver spca for webcam labtec not installable

Bug #283230 reported by dmoyne
This bug report is a duplicate of:  Bug #273727: gspca does not compile anymore. Edit Remove
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gspca (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I fiollowed the same procedure as for Hardy on Intrepid to install spca driver :
apt-get install module-assistant gspca-source
m-a prepare
m-a a-i gspca
at this stage if fails and I get this error message in konsole :
dh_testdir
dh_testroot
dh_clean -k
# Build the module
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.27-7-generic KERNELDIR=/usr/src/linux-headers-2.6.27-7-generic
make[2]: entrant dans le répertoire « /usr/src/modules/gspca »
/usr/bin/make -C /usr/src/linux-headers-2.6.27-7-generic SUBDIRS=/usr/src/modules/gspca CC=gcc modules
make[3]: entrant dans le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
  CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: Aucun fichier ou dossier de ce type
/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:2604: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
/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] Erreur 1
make[3]: *** [_module_/usr/src/modules/gspca] Erreur 2
make[3]: quittant le répertoire « /usr/src/linux-headers-2.6.27-7-generic »
make[2]: *** [default] Erreur 2
make[2]: quittant le répertoire « /usr/src/modules/gspca »
make[1]: *** [binary-modules] Erreur 2
make[1]: quittant le répertoire « /usr/src/modules/gspca »
make: *** [kdist_build] Erreur 2

All this worked fine on Hardy with kernel 2.6.24.19-generic

Revision history for this message
Foppe Hemminga (foppe) wrote :

Identical error
package gspca-source

Changed in linux:
status: New → Confirmed
Revision history for this message
Foppe Hemminga (foppe) wrote :

On another system with Ubuntu Hardy I get a similar error that is described in this bugreport: https://bugs.launchpad.net/ubuntu/+source/gspca/+bug/227177

Revision history for this message
jack_spratt (jack-spratt) wrote :

I have the same problem - not buildable on 8.10 64 bit, using sudo m-a a-i gspca.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi, i've marked this as dupe from bug #273727. Please take into account that gspca modules are being introduced to the kernel, so the chances are that you don't need to compile it anymore. Please check the mentioned bug and bug #292086, bug #144745 and bug #260918

Regards,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.