I don't have execinfo.h so switch_core_stat_machine.c does not compile. This patch fixes the issue, can it be added to svn? Thanks, Simon Index: configure.in =================================================================== --- configure.in (revision 8884) +++ configure.in (working copy) @@ -179,6 +179,13 @@ ;; esac +AC_CHECK_HEADERS([execinfo.h]) + +# some architectures don't have execinfo.h +if test x"$ac_cv_header_execinfo_h" = xyes; then + APR_ADDTO(SWITCH_AM_CFLAGS, -DHAVE_EXECINFO_H) +fi + APR_REMOVEFROM(SWITCH_AM_CXXFLAGS, -std=c99) AC_SUBST(SWITCH_AM_CFLAGS) Index: src/switch_core_state_machine.c =================================================================== --- src/switch_core_state_machine.c (revision 8884) +++ src/switch_core_state_machine.c (working copy) @@ -198,7 +198,7 @@ //static switch_hash_t *stack_table = NULL; static Hash stack_table; -#if defined (__GNUC__) && defined (LINUX) +#if defined (__GNUC__) && defined (LINUX) && defined (HAVE_EXECINFO_H) #include <execinfo.h> #include <stdio.h> #include <stdlib.h>