Lorsque je lance make j'obtiens l'erreur suivante:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
....
ov511.c:7091:41: opérateur binaire manquant avant l'élément lexical « ( »
ov511.c: Hors de toute fonction :
ov511.c:7094: attention : initialisation d'un type pointeur incompatible
ov511.c:7096: attention : initialisation d'un type pointeur incompatible
ov511.c: Dans la fonction « ov511_register_decomp_module »:
ov511.c:7152: attention : `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:481)
ov511.c: Dans la fonction « ov511_deregister_decomp_module »:
ov511.c:7179: attention : `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:493)
ov511.c:7192:41: opérateur binaire manquant avant l'élément lexical « ( »
ov511.c: Hors de toute fonction :
ov511.c:184: attention : `unit_video' defined but not used
make: *** [ov511.o] Erreur 1
donc j'ai coupé un peu la quantité étant importante
j'ai installé les sources du noyau 2.4.21
et le dossier /usr/src/linux existe
ma distribution est une suse 9.0
que faire ?
# erreurs après make
Posté par bzorg . En réponse au message [Debian] Webcam Philips toucam 2 sous linux 2.4.x ou 2.2.x (PCVC820K/00 OV518). Évalué à 1.
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
....
ov511.c:7091:41: opérateur binaire manquant avant l'élément lexical « ( »
ov511.c: Hors de toute fonction :
ov511.c:7094: attention : initialisation d'un type pointeur incompatible
ov511.c:7096: attention : initialisation d'un type pointeur incompatible
ov511.c: Dans la fonction « ov511_register_decomp_module »:
ov511.c:7152: attention : `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:481)
ov511.c: Dans la fonction « ov511_deregister_decomp_module »:
ov511.c:7179: attention : `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:493)
ov511.c:7192:41: opérateur binaire manquant avant l'élément lexical « ( »
ov511.c: Hors de toute fonction :
ov511.c:184: attention : `unit_video' defined but not used
make: *** [ov511.o] Erreur 1
donc j'ai coupé un peu la quantité étant importante
j'ai installé les sources du noyau 2.4.21
et le dossier /usr/src/linux existe
ma distribution est une suse 9.0
que faire ?