On Thu, 5 Feb 2004 22:32:34 -0500, Tim Sailer <[EMAIL PROTECTED]> wrote:
>Does anyone have the zaptel modules built for Debian 2.4.24 kernel? > >When I try to compile I get : > >./gendigits >gcc -I/include -O2 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -I. >-Wstrict-prototypes -fo >mit-frame-pointer -DSTANDALONE_ZAPATA -c zaptel.c >In file included from /usr/include/asm/smp.h:18, > from /usr/include/linux/smp.h:17, > from /usr/include/linux/sched.h:23, > from /usr/include/linux/module.h:10, > from zaptel.c:44: >/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory >In file included from /usr/include/asm/smp.h:18, > from /usr/include/linux/smp.h:17, > from /usr/include/linux/sched.h:23, > from /usr/include/linux/module.h:10, > from zaptel.c:44: >/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/sched.h:23, > from /usr/include/linux/module.h:10, > from zaptel.c:44: >/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a >functio >n) >/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' >make[2]: *** [zaptel.o] Error 1 >make[2]: Leaving directory `/usr/src/modules/zaptel' >make[1]: *** [binary-modules] Error 2 >make[1]: Leaving directory `/usr/src/modules/zaptel' >make: *** [kdist_image] Error 2 > > >I'm too tired to fight with this. If someone has the modules for this kernel, >can you tar them up and send them to me? > >Tim Tim, I got the same errors after I compiled version 2.4.25 of the kernel. I went in and recompiled the kernel without SMP support and it fixed the problem for me. Francois _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users