for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x depend || exit 1 ; done make[1]: Entering directory `/usr/local/src/openpbx/res' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/res' make[1]: Entering directory `/usr/local/src/openpbx/channels' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/channels' make[1]: Entering directory `/usr/local/src/openpbx/pbx' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/pbx' make[1]: Entering directory `/usr/local/src/openpbx/apps' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/apps' make[1]: Entering directory `/usr/local/src/openpbx/codecs' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/codecs' make[1]: Entering directory `/usr/local/src/openpbx/formats' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/formats' make[1]: Entering directory `/usr/local/src/openpbx/agi' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/agi' make[1]: Entering directory `/usr/local/src/openpbx/cdr' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/cdr' make[1]: Entering directory `/usr/local/src/openpbx/funcs' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/funcs' make[1]: Entering directory `/usr/local/src/openpbx/utils' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/utils' make[1]: Entering directory `/usr/local/src/openpbx/stdtime' make[1]: Nothing to be done for `depend'. make[1]: Leaving directory `/usr/local/src/openpbx/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || ./configure make -C editline libedit.a make[1]: Entering directory `/usr/local/src/openpbx/editline' make[1]: Nothing to be done for `libedit.a'. make[1]: Leaving directory `/usr/local/src/openpbx/editline' make[1]: Entering directory `/usr/local/src/openpbx/db1-ast' make[1]: `libdb1.a' is up to date. make[1]: Leaving directory `/usr/local/src/openpbx/db1-ast' make[1]: Entering directory `/usr/local/src/openpbx/stdtime' make[1]: `libtime.a' is up to date. make[1]: Leaving directory `/usr/local/src/openpbx/stdtime' gcc -g -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -march=i686 -fomit-frame-pointer -c -o cli.o cli.c gcc -g -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -march=i686 -fomit-frame-pointer -c -o openpbx.o openpbx.c gcc -g -o openpbx -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o udptl.o manager.o openpbx.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o opbxmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o resonator.o slinfactory.o opbx_expr2.o opbx_expr2f.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -lz -ltermcap -lssl -lrt -lresolv -lpthread -lnsl -lnewt -lncurses -lm -lkdeui -lkdecore -lexpat -ldl -ldb -lcrypto -lc -lasound for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done make[1]: Entering directory `/usr/local/src/openpbx/res' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/openpbx/res' make[1]: Entering directory `/usr/local/src/openpbx/channels' gcc -g -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -march=i686 -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -fPIC -c -o chan_exosip2.o chan_exosip2.c In file included from /usr/local/include/ortp/rtpsession.h:24, from /usr/local/include/ortp/ortp.h:24, from chan_exosip2.c:40: /usr/local/include/ortp/rtpport.h:146:18: glib.h: No such file or directory In file included from /usr/local/include/ortp/rtpsession.h:24, from /usr/local/include/ortp/ortp.h:24, from chan_exosip2.c:40: /usr/local/include/ortp/rtpport.h:291: error: syntax error before "guint16" /usr/local/include/ortp/rtpport.h:297: error: syntax error before "dwsplit_t" In file included from /usr/local/include/ortp/rtpsession.h:25, from /usr/local/include/ortp/ortp.h:24, from chan_exosip2.c:40: /usr/local/include/ortp/rtp.h:48: error: syntax error before "guint16" /usr/local/include/ortp/rtp.h:56: error: syntax error before "timestamp" /usr/local/include/ortp/rtp.h:57: error: syntax error before "ssrc" /usr/local/include/ortp/rtp.h:58: error: syntax error before "csrc" /usr/local/include/ortp/rtp.h:59: error: syntax error before '}' token /usr/local/include/ortp/rtp.h:66: error: syntax error before "guint64" /usr/local/include/ortp/rtp.h:68: error: syntax error before "recv" /usr/local/include/ortp/rtp.h:68: error: 'recv' redeclared as different kind of symbol /usr/include/sys/socket.h:143: error: previous declaration of 'recv' was here /usr/local/include/ortp/rtp.h:68: error: 'recv' redeclared as different kind of symbol /usr/include/sys/socket.h:143: error: previous declaration of 'recv' was here /usr/local/include/ortp/rtp.h:69: error: syntax error before "hw_recv" /usr/local/include/ortp/rtp.h:70: error: syntax error before "packet_recv" /usr/local/include/ortp/rtp.h:71: error: syntax error before "unavaillable" /usr/local/include/ortp/rtp.h:72: error: syntax error before "outoftime" /usr/local/include/ortp/rtp.h:73: error: syntax error before "skipped" /usr/local/include/ortp/rtp.h:75: error: syntax error before "cum_packet_loss" /usr/local/include/ortp/rtp.h:76: error: syntax error before "bad" /usr/local/include/ortp/rtp.h:77: error: syntax error before "discarded" In file included from /usr/local/include/ortp/rtpsession.h:26, from /usr/local/include/ortp/ortp.h:24, from chan_exosip2.c:40: /usr/local/include/ortp/payloadtype.h:30: error: syntax error before "gint" /usr/local/include/ortp/payloadtype.h:38: error: syntax error before "pattern_length" /usr/local/include/ortp/payloadtype.h:40: error: syntax error before "normal_bitrate" /usr/local/include/ortp/payloadtype.h:45: error: syntax error before '}' token /usr/local/include/ortp/payloadtype.h:95: error: syntax error before "rtp_profile_get_payload_number_from_mime" /usr/local/include/ortp/payloadtype.h:96: error: syntax error before "rtp_profile_get_payload_number_from_rtpmap" /usr/local/include/ortp/payloadtype.h:97: error: syntax error before "rtp_profile_find_payload_number" /usr/local/include/ortp/payloadtype.h:97: error: syntax error before '*' token /usr/local/include/ortp/payloadtype.h:98: error: syntax error before '*' token /usr/local/include/ortp/payloadtype.h:99: error: syntax error before "rtp_profile_move_payload" In file included from /usr/local/include/ortp/rtpsession.h:28, from /usr/local/include/ortp/ortp.h:24, from chan_exosip2.c:40: /usr/local/include/ortp/rtcp.h:53: error: syntax error before "guint16" /usr/local/include/ortp/rtcp.h:78: error: syntax error before "guint32" /usr/local/include/ortp/rtcp.h:80: error: syntax error before "rtp_timestamp" /usr/local/include/ortp/rtcp.h:81: error: syntax error before "senders_packet_count" /usr/local/include/ortp/rtcp.h:82: error: syntax error before "senders_octet_count" /usr/local/include/ortp/rtcp.h:87: error: syntax error before "guint32" /usr/local/include/ortp/rtcp.h:91: error: syntax error before "interarrival_jitter" /usr/local/include/ortp/rtcp.h:92: error: syntax error before "lsr" /usr/local/include/ortp/rtcp.h:93: error: syntax error before "delay_snc_last_sr" /usr/local/include/ortp/rtcp.h:114: error: syntax error before "guint32" /usr/local/include/ortp/rtcp.h:119: error: syntax error before "guint8" /usr/local/include/ortp/rtcp.h:121: error: syntax error before "content" /usr/local/include/ortp/rtcp.h:122: error: syntax error before '}' token /usr/local/include/ortp/rtcp.h:133: error: syntax error before "guint8" /usr/local/include/ortp/rtcp.h:135: error: syntax error before '}' token /usr/local/include/ortp/rtcp.h:139: error: syntax error before "rtcp_common_header_t" /usr/local/include/ortp/rtcp.h:140: error: conflicting types for 'ssrc' /usr/local/include/ortp/rtp.h:57: error: previous declaration of 'ssrc' was here /usr/local/include/ortp/rtcp.h:141: error: syntax error before '}' token /usr/local/include/ortp/rtcp.h:150: error: syntax error before "rtcp_common_header_t" /usr/local/include/ortp/rtcp.h:151: error: conflicting types for 'ssrc' /usr/local/include/ortp/rtcp.h:140: error: previous declaration of 'ssrc' was here /usr/local/include/ortp/rtcp.h:151: error: conflicting types for 'ssrc' /usr/local/include/ortp/rtcp.h:140: error: previous declaration of 'ssrc' was here /usr/local/include/ortp/rtcp.h:152: error: syntax error before "si" /usr/local/include/ortp/rtcp.h:153: error: syntax error before "rb" /usr/local/include/ortp/rtcp.h:154: error: syntax error before '}' token /usr/local/include/ortp/rtcp.h:157: error: syntax error before "rtcp_common_header_t" /usr/local/include/ortp/rtcp.h:159: error: syntax error before "rb"