[asterisk-users] Zaptel-1.4.1 error cross compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Oct 5 11:15:08 CDT 2008


On Sun, Oct 05, 2008 at 11:28:47AM -0400, satish patel wrote:
>  
> 
> 
>  
>  >> Hello.
>  >> Have you ever tried updating your GCC version?
>  >> Thanks.
>  
> I am using cross compile so i can't update GCC other wise it will effect on
> my other packages anyway... tell me one thing i have host system kernel
> version is 2.6.18 and i am compiling ARM embedded rootbuild with other
> kernel version 2.6.22 so i need to compile my zaptel package with 2.6.22
> kernel caz i will use it on target ARM hardware ( IXP425 ). I am doing that
> but after porting rootfs on target host and when i run "insmod zaptel"
> command on target board i got error 
>  
> root#insmod zaptel
> insmod: cannot insert '/lib/modules/2.6.22.6/misc/zaptel.ko' : Invalid
> module formate  (-1): Exec format error

And what is the format of that file?

  file /lib/modules/2.6.22.6/misc/zaptel.ko

(run that either on your board or on the build system, before copying)

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list