could anyone please help me with compiling parapin?
i get the following output on 'make':
root@borg3000:/download/parapin-0.2/parapin-0.95 # make
gcc -DPARAPIN_LINUX -O2 -g -Wall -D__KERNEL__ -DMODULE -o kparapin.o -c
parapin.
c
In Datei, eingefügt von /usr/include/asm/smp.h:18,
von /usr/include/linux/smp.h:17,
von /usr/include/linux/topology.h:33,
von /usr/include/linux/mmzone.h:296,
von /usr/include/linux/gfp.h:4,
von /usr/include/linux/slab.h:15,
von /usr/include/linux/proc_fs.h:5,
von /usr/include/linux/parport.h:101,
von parapin.h:19,
von parapin.c:65:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis
nicht gefu
nden
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:296,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/proc_fs.h:5,
from /usr/include/linux/parport.h:101,
from parapin.h:19,
from parapin.c:65:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not
in a fu
nction)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not
in a fu
nction)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not
in a f
root@borg3000:/download/parapin-0.2/parapin-0.95 # make
gcc -DPARAPIN_LINUX -O2 -g -Wall -D__KERNEL__ -DMODULE -o kparapin.o -c
parapin.c
In Datei, eingefügt von /usr/include/asm/smp.h:18,
von /usr/include/linux/smp.h:17,
von /usr/include/linux/topology.h:33,
von /usr/include/linux/mmzone.h:296,
von /usr/include/linux/gfp.h:4,
von /usr/include/linux/slab.h:15,
von /usr/include/linux/proc_fs.h:5,
von /usr/include/linux/parport.h:101,
von parapin.h:19,
von parapin.c:65:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis
nicht gefunden
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:296,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/proc_fs.h:5,
from /usr/include/linux/parport.h:101,
from parapin.h:19,
from parapin.c:65:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a
function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here
(not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not
in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a
function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/topology.h:33,
from /usr/include/linux/mmzone.h:296,
from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/proc_fs.h:5,
from /usr/include/linux/parport.h:101,
from parapin.h:19,
from parapin.c:65:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here
(not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In Datei, eingefügt von /usr/include/linux/smp.h:17,
von /usr/include/linux/topology.h:33,
von /usr/include/linux/mmzone.h:296,
von /usr/include/linux/gfp.h:4,
von /usr/include/linux/slab.h:15,
von /usr/include/linux/proc_fs.h:5,
von /usr/include/linux/parport.h:101,
von parapin.h:19,
von parapin.c:65:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: Datei oder Verzeichnis nicht
gefunden
In Datei, eingefügt von parapin-linux.h:15,
von parapin.c:71:
/usr/include/asm/irq.h:16:25: irq_vectors.h: Datei oder Verzeichnis nicht
gefunden
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from parapin-linux.h:20,
from parapin.c:71:
/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 parapin-linux.h:20,
from parapin.c:71:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a
function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a
function)
make: *** [kparapin.o] Fehler 1
had no problems to compile other stuff.
thanks in advance
(running debian 2.6.10)