At 05.05.2011 v 21:25:56, Andrei Pelinescu-Onciul andrei@iptel.org wrote:
All requested output are in the attachment (3.3kb, I hope that's fine) or alternativaly at http://elektromaniak.wz.cz/info.tar.gz
I hope the config.mak is configured.. it should be.
Someone else asked me to build a kamailio 1.5 brach... result: fails around atomic locks too By the way: the device I have is called "pandaboard".
Thanks for such quick reply MMlosh
On May 04, 2011 at 22:19, kasip@elektromaniak.wz.cz kasip@elektromaniak.wz.cz wrote:
Hi! I once sent this message as a non-member and it was probably never looked
on.
I tried to compile kamailio on ARM A9 (omap4430) natively and failed with these errors
Could you please send more info? uname -m uname -a gcc --version gcc -dM -E -x c /dev/null
and the generated config.mak (after make cfg).
The problem are the atomic_get_and_set_* instructions which use swp (not supported on ARMv7+). However they are easy to replace with a ldrex/strex (one need only to replace the ATOMIC_XCHG_DECL macro in atomic_arm with a modified version of the ATOMIC_CMPXCHG_DECL macro). To enable proper SMP support we need also to define some memory barriers.
However since I don't have access to an ARMv7+, I need the above info from your machine so that I can modify the Maekfiles to properly detect a ARMv7.
Thanks, Andrei
CC (gcc) [kamailio] atomic_ops.o ./tmp/ccm1k5em.s: Assembler messages: /tmp/ccm1k5em.s:35: Error: selected processor does not support Thumb mode
`swp
r4,r8,[r6]' /tmp/ccm1k5em.s:46: Error: selected processor does not support Thumb mode
`swp
r4,r8,[r6]' /tmp/ccm1k5em.s:191: Error: selected processor does not support Thumb mode
`swp
r4,r9,[r7]' /tmp/ccm1k5em.s:204: Error: selected processor does not support Thumb mode
`swp
r4,r9,[r7]' make: *** [atomic_ops.o] Error 1
ALTERNATIVELY I have found openser 1.3.2-3 in debian lenny for armel achitecture. Is this version secure enough? (I mean - has no some remote code execution
/ db
corruption bugs which are fixed in current kamailio version?) I don't care about call authenticity or bookkeeping or protecting the
uplink
(because there is none) If it only lacks features, then it would be enough.
Thanks for reply. MMlosh
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev