mrgreen | bonsoir ,
je voudrais profiter de ma télécommande imon sur mon linux alors je vais sur http://sourceforge.net/projects/imonremote et je dl l'archive (jusqu'ici tout va bien )
mais lorsque je fais make il est bcp moins gentil avec moi
Code :
- gcc -c -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux/include -o imon_input.o imon_input.c
- In file included from /usr/src/linux/include/linux/irq.h:20,
- from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from /usr/src/linux/include/linux/usb.h:15,
- from imon_input.c:4:
- /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: Aucun fichier ou répertoire de ce type
- In file included from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from /usr/src/linux/include/linux/usb.h:15,
- from imon_input.c:4:
- /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
- In file included from /usr/src/linux/include/linux/irq.h:72,
- from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from /usr/src/linux/include/linux/usb.h:15,
- from imon_input.c:4:
- /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
- /usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
- imon_input.c: In function `imon_input_open':
- imon_input.c:361: error: too few arguments to function `usb_submit_urb'
- imon_input.c: In function `imon_probe':
- imon_input.c:386: warning: assignment from incompatible pointer type
- imon_input.c:387: error: structure has no member named `act_altsetting'
- imon_input.c:397: error: structure has no member named `endpoint'
- imon_input.c:421: warning: implicit declaration of function `FILL_INT_URB'
- imon_input.c:431: error: structure has no member named `idbus'
- imon_input.c:432: error: structure has no member named `idvendor'
- imon_input.c:433: error: structure has no member named `idproduct'
- imon_input.c:434: error: structure has no member named `idversion'
- imon_input.c: At top level:
- imon_input.c:467: warning: initialization from incompatible pointer type
- imon_input.c:468: warning: initialization from incompatible pointer type
- imon_input.c:491: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
- imon_input.c:491: warning: data definition has no type or storage class
- make: *** [imon_input.o] Erreur 1
|
Désolé je suis encore débutant et je vois pas très bien comment faire pour que ça fonctionne
edit: ah oui je suis sous suse 9.1 avec un noyau 2.6.5-7.95 Message édité par mrgreen le 22-07-2004 à 23:28:01
|