OVH Cloud OVH Cloud

compilation du driver spca

1 réponse
Avatar
Bayrouni
Bonjour,

Je suis en testing maintenant avec le noyau 2.6.14
J'ai une webcam de marque labtec (une banale).
Sur d'anciens noyaux 2.6, j'arrivais à compiler le driver
spca532-04012005.tar.bz2 .

Cependant actuellement avec le 2.6.14, j'ai des erreurs lors du make.

Merci Bayrouni

Voici la sortie de make en user mais en rout pas de changement:

make
Building SPCA5XX driver for 2.5/2.6 kernel.
PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/mustapha/downloads/spca532-04012005 modules
make[1]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M]
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.o
In file included from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.h:5,
from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.c:35:
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:26:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:40:
error: missing binary operator before token "("
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:26:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:40:
error: missing binary operator before token "("
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:51:27:
error: linux/tqueue.h: Aucun fichier ou répertoire de ce type
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:27:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:41:
error: missing binary operator before token "("
In file included from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.h:5,
from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.c:35:
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:448:
error: field ‘task’ has incomplete type
make[2]: ***
[/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.o]
Erreur 1
make[1]: *** [_module_/home/mustapha/downloads/spca532-04012005] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.14.3'
make: *** [default] Erreur 2


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

1 réponse

Avatar
Sébastien GALLET
Bayrouni a écrit :
Bonjour,


Salut

Je suis en testing maintenant avec le noyau 2.6.14
J'ai une webcam de marque labtec (une banale).
Sur d'anciens noyaux 2.6, j'arrivais à compiler le driver
spca532-04012005.tar.bz2 .


il vient d'où ton driver ?
j'utilise une webcam et j'ai compilé (sous 2.4) le driver disponible ici
: http://mxhaard.free.fr/download.html. Il marche bien.
Je n'ai jamais essayé de le compiler sous 2.6.
Pour ce qui est des outils, tu peux trouver des paquets sur mon site :
http://debian.gallet.info/search.do?config=htdig&exclude=&method=and&format=builtin-long&sort=score&words=mxhaard.free.fr%2Fdownload.html
Je n'ai jamais réussi à faire fonctionner l'applet.


Cependant actuellement avec le 2.6.14, j'ai des erreurs lors du make.

Merci Bayrouni

Voici la sortie de make en user mais en rout pas de changement:

make
Building SPCA5XX driver for 2.5/2.6 kernel.
PLEASE IGNORE THE "Overriding SUBDIRS" WARNING
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/mustapha/downloads/spca532-04012005 modules
make[1]: Entering directory `/usr/src/linux-2.6.14.3'
CC [M]
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.o
In file included from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.h:5,
from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.c:35:
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:26:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:23:40:
error: missing binary operator before token "("
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:26:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:44:40:
error: missing binary operator before token "("
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:51:27:
error: linux/tqueue.h: Aucun fichier ou répertoire de ce type
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:5:
warning: "LINUX_VERSION_CODE" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:27:
warning: "KERNEL_VERSION" is not defined
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:54:41:
error: missing binary operator before token "("
In file included from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.h:5,
from
/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.c:35:
/home/mustapha/downloads/spca532-04012005/drivers/usb/spca50x.h:448:
error: field ‘task’ has incomplete type
make[2]: ***
[/home/mustapha/downloads/spca532-04012005/drivers/usb/spcadecoder.o]
Erreur 1
make[1]: *** [_module_/home/mustapha/downloads/spca532-04012005] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.14.3'
make: *** [default] Erreur 2






--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact