cc1: warnings being treated as errors
src/switch_ivr_menu.c: In function 'play_and_collect':
src/switch_ivr_menu.c:319: warning: the address of 'buf' will always evaluate as 'true'
src/switch_ivr_menu.c:323: warning: the address of 'buf' will always evaluate as 'true'
gmake[2]: *** [libfreeswitch_la-switch_ivr_menu.lo] Error 1
Making all in src
Making all in mod
making all mod_amr
gmake[5]: *** No rule to make target `/var/freeswitch/freeswitch-snapshot/libfreeswitch.la', needed by `mod_amr.so'. Stop.
gmake[4]: *** [all] Error 1
gmake[3]: *** [mod_amr-all] Error 1
gmake[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ gmake install +
+----------------------------------------------+
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2