logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 17-11-2015 12:15:46

rach_
Membre
Inscription : 16-02-2015

[RESOLU] installation webcam Logitech QuickCam Express / Jessie


lsusb
Bus 001 Device 005: ID 046d:0870 Logitech, Inc. QuickCam Express



j'ai essayé de compiler qc-usb-0.6.6 https://wiki.debian.org/fr/Webcam/qc-usb-source mais j'ai une erreur de compil :

awk: fatal : impossible d'ouvrir le fichier « /lib/modules/3.16.0-4-amd64/build/include/linux/version.h » en lecture (Aucun fichier ou dossier de ce type)
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
cc -I/lib/modules/3.16.0-4-amd64/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c
In file included from qc-driver.c:47:0:
quickcam.h:79:28: fatal error: linux/autoconf.h: Aucun fichier ou dossier de ce type
 #include <linux/autoconf.h>
                            ^
compilation terminated.
Makefile:175: recipe for target 'qc-driver.o' failed
make: *** [qc-driver.o] Error 1
 



mon kernel :

uname -r
3.16.0-4-amd64
 


le paquet est trop vieux pour ce kernel? Je ne comprends plus hmm

Dernière modification par rach_ (18-11-2015 12:53:25)

Hors ligne

#2 17-11-2015 12:31:31

rach_
Membre
Inscription : 16-02-2015

Re : [RESOLU] installation webcam Logitech QuickCam Express / Jessie

Q: I get the following error message:
   qc-driver.c:51: linux/version.h: No such file or directory
   qc-driver.c:52: parse error
   or
   .../include/linux/config.h:4: linux/autoconf.h: No such file or directory
   or
   sed: can't read /usr/src/linux/Makefile: No such file or directory
   or
   Makefile:26: /usr/src/linux/.config: No such file or directory

A: You must install Linux kernel source code corresponding
   to the kernel you will be running with the camera driver.
   The source must be configured and depencies must have been
   created. Typically you can just install the kernel source
   package that comes with your distribution. If you're instead using
   virgin kernel in /usr/src/linux-x.y.zz, you must first copy
   kernel configuration file to /usr/src/linux-x.y.zz/.config,
   then go to the directory and run "make oldconfig" and "make dep".
   You may also need to type
        cd /usr/src/linux-x.y.zz
        make include/linux/version.h
   This should create the missing linux/version.h file.



une réponse dans la faq, mais pour éviter toute conneries j'attends votre avis tongue

Dernière modification par rach_ (17-11-2015 12:32:10)

Hors ligne

#3 18-11-2015 12:52:36

rach_
Membre
Inscription : 16-02-2015

Re : [RESOLU] installation webcam Logitech QuickCam Express / Jessie

bon apparemment le driver n'est plus pris en charge depuis le noyau 2.8, après une aide sur le chan irc, j'ai astucieusement contourné le problème en installant une webcam plus récente.
merci aux participants du chan wink

Hors ligne

Pied de page des forums