[Asterisk-Users] Re: zaptel on Debian
Michael Welter
mike at introspect.com
Wed Mar 3 07:24:57 MST 2004
Woops, should have said "symbolic" link :-)
cd /usr/src
ln -s linux-2.4.25 linux-2.4
Cheers
Michael Welter wrote:
> I think the zaptel compile depends on a softlink 'linux-2.4' pointing to
> 'linux-2.4.25' (or whatever). Your compiles may be including .h files
> from an older source tree.
>
> Mike
>
> Francois wrote:
>
>> On Thu, 5 Feb 2004 22:32:34 -0500, Tim Sailer <tps at buoy.com> 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
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>
--
Michael Welter
Introspect Consulting, Inc.
Denver, Colorado
+1 303 674 2575
mike at introspect.com
www.introspect.com
More information about the asterisk-users
mailing list