Regards, Satish Patel
Quoting Tzafrir Cohen <[EMAIL PROTECTED]>: > 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) > clfs:/mnt/clfs$ file lib/modules/2.6.22.6/misc/zaptel.ko lib/modules/2.6.22.6/misc/zaptel.ko: ELF 32-bit MSB relocatable, ARM, version 1, not stripped i dont know why this error coming i think its caz confusion between host kernel and target kernel _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users