You can try the --host configure arg to force the platform to 32

Mike

On Apr 16, 2008, at 8:41 PM, "Anthony Knight" <[EMAIL PROTECTED]> wrote:

I'm having a problem building freeswitch on a xen debian etch slice (Details below).

Everything from the standard modules.conf builds except for mod_spidermonkey. Here are the details of the build error.

making all mod_spidermonkey
cd config; make -j1 export
cd pr; make -j1 export
cd include; make export
cd md; make export
cd private; make export
cd obsolete; make export
cd src; make export
cd io; make export
cd malloc; make export
cd md; make export
cd unix; make export
os_Linux_x86_64.s: Assembler messages:
os_Linux_x86_64.s:46: Error: bad register name `%rdi)'
os_Linux_x86_64.s:61: Error: bad register name `%rdi)'
os_Linux_x86_64.s:75: Error: bad register name `%rdi)'
os_Linux_x86_64.s:89: Error: bad register name `%rdi)'
make[10]: *** [os_Linux_x86_64.o] Error 1
make[9]: *** [export] Error 2
make[8]: *** [export] Error 2
make[7]: *** [export] Error 2
make[6]: *** [export] Error 2
make[5]: *** [/usr/src/freeswitch-1.0/libs/js/libjs.la] Error 2
make[4]: *** [all] Error 1
make[3]: *** [mod_spidermonkey-all] Error 1
make[2]: *** [all-recursive] Error 1



Details of my environment:

~:cat /proc/version
Linux version 2.6.18-xenU ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #4 SMP Wed Oct 24 01:50:19 UTC 2007

~:uname -a
Linux xyz.xyz.com 2.6.18-xenU #4 SMP Wed Oct 24 01:50:19 UTC 2007 x86_64 GNU/Linux

~:uname -m
x86_64

~:gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

from googling about I think this is the same problem documented here (http://trac.callcc.org/ticket/407) where the environment is reporting ARCH=x86_64, but should really be ARCH=x86.

Any suggestions on how to overcome this problem?

Thanks

Tony
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to