<html><body bgcolor="#FFFFFF"><div>You can try the --host configure arg to force the platform to 32</div><div><br class="webkit-block-placeholder"></div><div>Mike<br><br>On Apr 16, 2008, at 8:41 PM, "Anthony Knight" <<a href="mailto:tntknight@gmail.com">tntknight@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>I'm having a problem building freeswitch on a xen debian etch slice (Details below).<br><br>Everything from the standard modules.conf builds except for mod_spidermonkey. Here are the details of the build error.<br><br>
<span style="color: rgb(0, 0, 153);">making all mod_spidermonkey</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd config; make -j1 export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd pr; make -j1 export</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">cd include; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd md; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd private; make export</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">cd obsolete; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd src; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd io; make export</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">cd malloc; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd md; make export</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">cd unix; make export</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">os_Linux_x86_64.s: Assembler messages:</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">os_Linux_x86_64.s:46: Error: bad register name `%rdi)'</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">os_Linux_x86_64.s:61: Error: bad register name `%rdi)'</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">os_Linux_x86_64.s:75: Error: bad register name `%rdi)'</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">os_Linux_x86_64.s:89: Error: bad register name `%rdi)'</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">make[10]: *** [os_Linux_x86_64.o] Error 1</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">make[9]: *** [export] Error 2</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">make[8]: *** [export] Error 2</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">make[7]: *** [export] Error 2</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">make[6]: *** [export] Error 2</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">make[5]: *** [/usr/src/freeswitch-1.0/libs/js/<a href="http://libjs.la">libjs.la</a>] Error 2</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">make[4]: *** [all] Error 1</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">make[3]: *** [mod_spidermonkey-all] Error 1</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">make[2]: *** [all-recursive] Error 1</span><br><br><br><br>Details of my environment:<br><br>~:cat /proc/version<br>Linux version 2.6.18-xenU (<a href="mailto:root@host277.rimuhosting.com"><a href="mailto:root@host277.rimuhosting.com">root@host277.rimuhosting.com</a></a>) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #4 SMP Wed Oct 24 01:50:19 UTC 2007<br>
<br>~:uname -a<br>Linux <a href="http://xyz.xyz.com">xyz.xyz.com</a> 2.6.18-xenU #4 SMP Wed Oct 24 01:50:19 UTC 2007 x86_64 GNU/Linux<br><br>~:uname -m<br>x86_64<br><br>~:gcc --version<br>gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)<br>
<br>from googling about I think this is the same problem documented here (<a href="http://trac.callcc.org/ticket/407"><a href="http://trac.callcc.org/ticket/407">http://trac.callcc.org/ticket/407</a></a>) where the environment is reporting ARCH=x86_64, but should really be ARCH=x86. <br>
<br>Any suggestions on how to overcome this problem?<br><br>Thanks<br><br>Tony<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Freeswitch-users mailing list</span><br><span><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>