j ai installer les rpm qui vont bien et j ai cette page d erreur ( cette fois ce je la met)
gcc -c -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux/include -o imon_input.o imon_input.c
In file included from /usr/include/linux/cpumask.h:8,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/module.h:9,
from imon_input.c:1:
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:85: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/module.h:9,
from imon_input.c:1:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from /usr/include/asm/siginfo.h:4,
from /usr/include/linux/signal.h:7,
from /usr/include/linux/sched.h:24,
from /usr/include/linux/module.h:9,
from imon_input.c:1:
/usr/include/asm-generic/siginfo.h: At top level:
/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/sched.h:30,
from /usr/include/linux/module.h:9,
from imon_input.c:1:
/usr/include/linux/mmzone.h:333: error: parse error before '(' token
/usr/include/linux/mmzone.h:334: error: parse error before numeric constant
In file included from /usr/include/linux/module.h:20,
from imon_input.c:1:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from imon_input.c:4:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from imon_input.c:4:
/usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from imon_input.c:4:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:15,
from imon_input.c:4:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
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: warning: assignment from incompatible pointer type
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