[asterisk-dev] Problems building zaptel

Stelios Koroneos skoroneos at digital-opsis.com
Tue Oct 21 10:51:28 CDT 2008


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

-- 
Stelios S. Koroneos

Digital OPSiS - Embedded Intelligence

Tel +30 210 9858296 Ext 100
Fax +30 210 9858298
http://www.digital-opsis.com




More information about the asterisk-dev mailing list