[asterisk-dev] Problems building zaptel
Vadim Lebedev
vadim at mbdsys.com
Tue Oct 21 11:46:04 CDT 2008
Stelios Koroneos wrote:
> On Tue, 2008-10-21 at 15:13 +0200, Vadim Lebedev wrote:
>
>> Tzafrir Cohen wrote:
>>
>>> On Tue, Oct 21, 2008 at 02:18:36PM +0200, Vadim Lebedev wrote:
>>>
>>>
>>>> Hello,
>>>>
>>>> I'm cross-compiling zaptel for Freescale mx27 uisng LTIB environment...
>>>> and getting following:
>>>>
>>>> CC [M] /home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/zaptel-base.o
>>>> LD [M] /home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/zaptel.o
>>>> CC [M] /home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/ztdummy.o
>>>> CC [M] /home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/ztdynamic.o
>>>> CC [M] /home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/zttranscode.o
>>>> Building modules, stage 2.
>>>> MODPOST 4 modules
>>>> WARNING: "crc_ccitt_table"
>>>> [/home/vadim/ltib/rpm/BUILD/zaptel-1.4.11/kernel/zaptel.ko] undefined!
>>>> ....
>>>>
>>>> Any ideas what could be wrong?
>>>>
>>>>
>>> Quoting the README:
>>>
>>> ...
>>>
>>> If you build a custom kernel, note the following configuration items:
>>>
>>> * CONFIG_CRC_CCITT must be enabled (y or m). On 2.6 kernels this
>>> can be selected These can be selected from the "Library
>>> Routines" submenu during kernel configuration via "make
>>> menuconfig".
>>>
>>> http://docs.tzafrir.org.il/README.html#_kernel_configuration
>>>
>>> BTW: latest version is 1.4.12.1 .
>>>
>>>
>>>
>> The README says that RTC for ztdummy is supported on X86 kernels,
>> My ARM kernel does support RTC too so i can modify ztdummy.c to
>> support RTC
>> by adding an #ifdef.
>>
>> Is there any further reasons that precludes usage of RTC on non-x86
>> platforms
>>
>> Thanks
>> Vadim
>>
>>
> Setting your kernel clock to 1000Hz will allow you to build it without
> rtc getting involved
>
>
The question is what is the prefered solution performance-wise?
RTC or HZ=1000
Thanks
Vadim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20081021/f1453c9d/attachment-0001.htm
More information about the asterisk-dev
mailing list