Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/03/2007, à 21:57

seppi

Besoin de vos lumières "compilation driver" [Résolu] "Presque"

Bonjour, j'essai d'installer ma webcam logitech sous feisty

j'ai donc telechargerles drivers supporté par le kernel : spca5xx-20060501

Installé les sources du noyau, les builds essential ....

et voila le probleme :  après un sudo make

seppi@seppi-laptop:~/Desktop/spca5xx-20060501$ sudo make
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/seppi/.Trash/spca5xx-20060501 CC=cc modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.20-9-generic »
  CC [M]  /home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.o
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: Aucun fichier ou répertoire de ce type
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_init_isoc’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:1621: warning: assignment from incompatible pointer type
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit declaration of function ‘video_devdata’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit declaration of function ‘video_get_drvdata’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of function ‘video_usercopy’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable ‘spca50x_template’ has initializer but incomplete type
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field ‘owner’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field ‘name’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field ‘type’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field ‘hardware’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field ‘fops’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field ‘release’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: ‘video_device_release’ undeclared here (not in a function)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field ‘minor’ specified in initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function ‘to_video_device’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function ‘video_device_create_file’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of function ‘video_device_alloc’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from integer without a cast
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’ 
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’ 
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’ 
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomplete type
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of function ‘video_set_drvdata’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function ‘video_register_device’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in.)
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomplete type
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of function ‘video_device_release’
/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/home/seppi/.Trash/spca5xx-20060501/drivers/usb/spca5xx.o] Erreur 1
make[1]: *** [_module_/home/seppi/.Trash/spca5xx-20060501] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.20-9-generic »
make: *** [default] Erreur 2
seppi@seppi-laptop:~/Desktop/spca5xx-20060501$

Donc je comprend pas le tout la ! pourquoi ces Erreur 1 et 2 ???

Heu je tiens a préciser que sous edgy avec easycam2 c'était du gateau !!

Grand merci d'avance pour maider a comprendre un ti peut + ;-)

Dernière modification par seppi (Le 09/03/2007, à 23:19)


$ePpI

Hors ligne

#2 Le 09/03/2007, à 23:18

seppi

Re : Besoin de vos lumières "compilation driver" [Résolu] "Presque"

Réponse a moi meme : http://doc.ubuntu-fr.org/spca5xx?s=webcam
Il faut installer : sudo apt-get install libgcj7-dev

Bref compilation réussi, mais webcam non supporté aparament !

Qui a reussi a unstaller une LOGITECH QUICKCAM WEB ??


$ePpI

Hors ligne