App_conference compile error on OS X

I am trying to compile app_conference on os X and keep getting errors. Not sure where to start but I included the messages below.

bash-3.2# make gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/local/include/asterisk/ -D_REENTRANT -D_GNU_SOURCE -DCRYPTO -DAPP_CONFERENCE_DEBUG -Ilibspeex -DSILDET=2 -c -o app_conference.o app_conference.c In file included from /usr/include/sys/time.h:198, from /usr/local/include/asterisk/abstract_jb.h:33, from /usr/local/include/asterisk/channel.h:126, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/time.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_sec’ /usr/local/include/asterisk/time.h:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_sec’ /usr/local/include/asterisk/time.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_us’ /usr/local/include/asterisk/time.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_us’ /usr/local/include/asterisk/time.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_ms’ /usr/local/include/asterisk/time.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_tvdiff_ms’ In file included from /usr/local/include/asterisk/abstract_jb.h:35, from /usr/local/include/asterisk/channel.h:126, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/frame_defs.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘format_t’ In file included from /usr/local/include/asterisk/channel.h:126, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/abstract_jb.h:100: error: expected specifier-qualifier-list before ‘format_t’ In file included from /usr/local/include/asterisk/astobj2.h:20, from /usr/local/include/asterisk/channel.h:127, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/compat.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘htonll’ /usr/local/include/asterisk/compat.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ntohll’ /usr/local/include/asterisk/compat.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strtoq’ /usr/local/include/asterisk/compat.h:141: error: expected identifier or ‘(’ before ‘do’ /usr/local/include/asterisk/compat.h:141: error: expected identifier or ‘(’ before ‘while’ In file included from /usr/local/include/asterisk/channel.h:129, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/poll-compat.h:99: error: redefinition of ‘struct pollfd’ In file included from /usr/local/include/asterisk/channel.h:141, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/frame.h:39: error: ‘format_t’ undeclared here (not in a function) /usr/local/include/asterisk/frame.h:137: error: expected specifier-qualifier-list before ‘format_t’ /usr/local/include/asterisk/frame.h:525: error: expected specifier-qualifier-list before ‘format_t’ /usr/local/include/asterisk/frame.h:598: error: expected ‘)’ before ‘format’ /usr/local/include/asterisk/frame.h:608: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:615: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_getformatbyname’ /usr/local/include/asterisk/frame.h:622: error: expected ‘)’ before ‘codec’ /usr/local/include/asterisk/frame.h:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_codec_pref_index’ /usr/local/include/asterisk/frame.h:701: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:705: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:709: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:714: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_codec_choose’ /usr/local/include/asterisk/frame.h:718: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:722: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:729: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/frame.h:749: error: expected ‘)’ before ‘format’ /usr/local/include/asterisk/frame.h:756: error: expected ‘)’ before ‘format’ /usr/local/include/asterisk/frame.h:783: error: expected ‘)’ before ‘format’ In file included from /usr/local/include/asterisk/cdr.h:31, from /usr/local/include/asterisk/channel.h:146, from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/data.h:811: error: expected declaration specifiers or ‘...’ before ‘format_t’ In file included from /usr/local/include/asterisk/pbx.h:26, from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/channel.h:511: error: expected specifier-qualifier-list before ‘format_t’ /usr/local/include/asterisk/channel.h:837: error: expected specifier-qualifier-list before ‘format_t’ /usr/local/include/asterisk/channel.h:1326: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:1344: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:1362: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:1375: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:1817: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:1826: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/channel.h:2095: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_best_codec’ In file included from app_conference.h:25, from app_conference.c:19: /usr/local/include/asterisk/pbx.h:916: error: expected declaration specifiers or ‘...’ before ‘format_t’ /usr/local/include/asterisk/pbx.h:920: error: expected declaration specifiers or ‘...’ before ‘format_t’ In file included from app_conference.h:32, from app_conference.c:19: /usr/local/include/asterisk/translate.h:73: error: expected specifier-qualifier-list before ‘format_t’ /usr/local/include/asterisk/translate.h:206: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_translator_best_choice’ /usr/local/include/asterisk/translate.h:215: error: expected ‘)’ before ‘dest’ /usr/local/include/asterisk/translate.h:241: error: expected ‘)’ before ‘dest’ /usr/local/include/asterisk/translate.h:255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ast_translate_available_formats’ In file included from app_conference.h:38, from app_conference.c:19: /usr/include/stdlib.h:177: error: conflicting types for ‘realloc’ /usr/local/include/asterisk/utils.h:526: error: previous implicit declaration of ‘realloc’ was here app_conference.c:51: warning: data definition has no type or storage class app_conference.c:51: warning: type defaults to ‘int’ in declaration of ‘STANDARD_LOCAL_USER’ app_conference.c:52: warning: data definition has no type or storage class app_conference.c:52: warning: type defaults to ‘int’ in declaration of ‘LOCAL_USER_DECL’ app_conference.c:55: warning: no previous prototype for ‘unload_module’ app_conference.c: In function ‘unload_module’: app_conference.c:58: error: ‘STANDARD_HANGUP_LOCALUSERS’ undeclared (first use in this function) app_conference.c:58: error: (Each undeclared identifier is reported only once app_conference.c:58: error: for each function it appears in.) app_conference.c: At top level: app_conference.c:67: warning: no previous prototype for ‘load_module’ app_conference.c: In function ‘load_module’: app_conference.c:76: warning: passing argument 2 of ‘ast_register_application2’ from incompatible pointer type app_conference.c: At top level: app_conference.c:80: warning: no previous prototype for ‘description’ app_conference.c:85: warning: no previous prototype for ‘usecount’ app_conference.c: In function ‘usecount’: app_conference.c:87: warning: implicit declaration of function ‘STANDARD_USECOUNT’ app_conference.c: At top level: app_conference.c:92: warning: no previous prototype for ‘key’ app_conference.c: In function ‘app_conference_main’: app_conference.c:106: warning: implicit declaration of function ‘LOCAL_USER_ADD’ app_conference.c:112: warning: implicit declaration of function ‘LOCAL_USER_REMOVE’ make: *** [app_conference.o] Error 1

app_conference isn’t part of Asterisk. Try the app_conference developer page - sourceforge.net/projects/appconference/

at least that’s what Google seems to think it is. Good luck.