<div dir="ltr"><div>Hello.</div>
<div>Have you ever tried updating your GCC version?</div>
<div>Thanks.<br><br></div>
<div class="gmail_quote">On Thu, Oct 2, 2008 at 8:30 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish@linuxbug.org">satish@linuxbug.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><br>Regards,<br><br>Satish Patel<br><br><br>Quoting Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>>:<br><br></div>
<div class="Ih2E3d">> On Thu, Oct 02, 2008 at 11:33:01AM -0400, Satish Patel wrote:<br>>><br>>> Regards,<br>>><br>>> Satish Patel<br>>><br>>><br>>> Quoting Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>>:<br>
>><br>>> > On Thu, Oct 02, 2008 at 10:51:37AM -0400, Satish Patel wrote:<br>>> >><br>>> >> Quoting Tzafrir Cohen <<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>>:<br>
>> ><br>>> > As I wrote:<br>>> ><br>>> >> >Could you please try a newer version of zaptel 1.4? There have been many<br>>> >> >changes in the build system of zaptel 1.4 since 1.4.1 .<br>
>> ><br>>> > But in your reply:<br>>> ><br>>> >> clfs:/mnt/clfs/sources/zaptel-1.4.1$ ./configure<br>>> >> --host=${CLFS_TARGET} --prefix=/usr<br>>> ><br>>><br>
>> I wanted to show you what option i used now i have download zaptel-1.4.12.1<br>>><br>>> clfs:/mnt/clfs/sources/zaptel-1.4.12.1$ ./configure<br>>> --host=${CLFS_TARGET} --prefix=/usr<br>>> configure: WARNING: If you wanted to set the --build type, don't use --host.<br>
>> If a cross compiler is detected then cross compile mode will be used.<br>><br></div>> I don't know much about cross-compiling, but this warning scares me.<br>><br>> I have a feeling you're doing something wrong.<br>
><br>> Anyway, if you want to avoid the whole menuselect mess, take a look at<br>> <a href="http://bugs.digium.com/13132" target="_blank">http://bugs.digium.com/13132</a><br>><br>> Remove the subdirectory menuselect and put the makefile and script from<br>
> that bug report there instead. Run:<br>><br>> make -C menuselect dummies<br>><br>> Then it should behave just like the original. At least theoretically.<br>> You may need to instruct it to take data from other XML files. See the<br>
> calls to the function parse_menuselect_xml_file() in the end.<br>><br>> Let me know if it worked ;-)<br><br><br>> I'll see if someone else will pick it up on-list as both cross-compiling<br>> and menuselect are not my preffered code.<br>
<br>for experiment i have download 1.2.27 current version of zaptel<br>
<div class="Ih2E3d"><br>./configure --host=${CLFS_TARGET} --prefix=/usr<br><br></div> make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}-<br><br>make ARCH=arm CROSS_COMPILE=${CLFS_TARGET}- DESTDIR=${CLFS} install<br><br>it has installed module<br>
<br>clfs:/mnt/clfs/sources/zaptel-1.2.27$ ls -l ../../lib/modules/<a href="http://2.6.22.6/misc/" target="_blank">2.6.22.6/misc/</a><br>total 476<br>-rw-r--r-- 1 clfs clfs 67566 Sep 1 18:46 pciradio.ko<br>-rw-r--r-- 1 clfs clfs 92753 Sep 1 18:46 tor2.ko<br>
-rw-r--r-- 1 clfs clfs 19267 Sep 1 18:46 torisa.ko<br>-rw-r--r-- 1 clfs clfs 15542 Sep 1 18:46 wcfxo.ko<br>-rw-r--r-- 1 clfs clfs 18524 Sep 1 18:46 wct1xxp.ko<br>drwxr-xr-x 2 clfs clfs 4096 Sep 1 18:42 wct4xxp<br>
drwxr-xr-x 2 clfs clfs 4096 Sep 1 18:42 wctc4xxp<br>-rw-r--r-- 1 clfs clfs 46475 Sep 1 18:46 wctdm.ko<br>drwxr-xr-x 2 clfs clfs 4096 Sep 1 18:42 wctdm24xxp<br>-rw-r--r-- 1 clfs clfs 40601 Sep 1 18:46 wcte11xp.ko<br>
drwxr-xr-x 2 clfs clfs 4096 Sep 1 18:42 wcte12xp<br>-rw-r--r-- 1 clfs clfs 18531 Sep 1 18:46 wcusb.ko<br>-rw-r--r-- 1 clfs clfs 71372 Sep 1 18:46 zaptel.ko<br>-rw-r--r-- 1 clfs clfs 8250 Sep 1 18:46 ztd-eth.ko<br>
-rw-r--r-- 1 clfs clfs 4883 Sep 1 18:46 ztd-loc.ko<br>-rw-r--r-- 1 clfs clfs 3204 Sep 1 18:46 ztdummy.ko<br>-rw-r--r-- 1 clfs clfs 13059 Sep 1 18:46 ztdynamic.ko<br>-rw-r--r-- 1 clfs clfs 10780 Sep 1 18:46 zttranscode.ko<br>
<br><br>but when i have build-root and run is root-image on ARM hardware and<br>try to install module i got error<br><br>root#insmod zaptel<br>insmod: cannot insert '/lib/modules/<a href="http://2.6.22.6/misc/zaptel.ko" target="_blank">2.6.22.6/misc/zaptel.ko</a>' : Invalid<br>
module formate (-1): Exec format error<br>
<div>
<div></div>
<div class="Wj3C7c"><br><br><br><br><br><br><br>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
<br>AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>Register Now: <a href="http://www.astricon.net/" target="_blank">http://www.astricon.net</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></div></blockquote></div><br></div>