[root@172 pbx]# make cc -fPIC -c -o pbx_dundi.o pbx_dundi.c pbx_dundi.c:45:18: error: zlib.h: No such file or directory pbx_dundi.c:47:22: error: asterisk.h: No such file or directory pbx_dundi.c:49: error: syntax error before string constant pbx_dundi.c:51:27: error: asterisk/file.h: No such file or directory pbx_dundi.c:52:29: error: asterisk/logger.h: No such file or directory pbx_dundi.c:53:30: error: asterisk/channel.h: No such file or directory pbx_dundi.c:54:29: error: asterisk/config.h: No such file or directory pbx_dundi.c:55:30: error: asterisk/options.h: No such file or directory pbx_dundi.c:56:26: error: asterisk/pbx.h: No such file or directory pbx_dundi.c:57:29: error: asterisk/module.h: No such file or directory pbx_dundi.c:58:28: error: asterisk/frame.h: No such file or directory pbx_dundi.c:60:26: error: asterisk/cli.h: No such file or directory pbx_dundi.c:61:27: error: asterisk/lock.h: No such file or directory pbx_dundi.c:62:26: error: asterisk/md5.h: No such file or directory pbx_dundi.c:63:28: error: asterisk/dundi.h: No such file or directory pbx_dundi.c:64:28: error: asterisk/sched.h: No such file or directory pbx_dundi.c:65:25: error: asterisk/io.h: No such file or directory pbx_dundi.c:66:28: error: asterisk/utils.h: No such file or directory pbx_dundi.c:67:29: error: asterisk/crypto.h: No such file or directory pbx_dundi.c:68:28: error: asterisk/astdb.h: No such file or directory pbx_dundi.c:69:26: error: asterisk/acl.h: No such file or directory pbx_dundi.c:70:26: error: asterisk/aes.h: No such file or directory In file included from pbx_dundi.c:72: dundi-parser.h: In function 'ASTERISK_FILE_VERSION': dundi-parser.h:22: error: syntax error before 'dundi_eid' dundi-parser.h:22: warning: no semicolon at end of struct or union dundi-parser.h:24: error: syntax error before 'dundi_eid' dundi-parser.h:52: error: syntax error before '}' token dundi-parser.h:57: warning: empty declaration dundi-parser.h:60: error: storage class specified for parameter 'dundi_set_output' dundi-parser.h:62: error: storage class specified for parameter 'dundi_set_error' dundi-parser.h:63: warning: 'struct dundi_hdr' declared inside parameter list dundi-parser.h:63: warning: its scope is only this definition or declaration, which is probably not what you want dundi-parser.h:63: error: storage class specified for parameter 'dundi_showframe' dundi-parser.h:65: error: storage class specified for parameter 'dundi_ie2str' dundi-parser.h:67: error: storage class specified for parameter 'dundi_ie_append_raw' dundi-parser.h:68: error: storage class specified for parameter 'dundi_ie_append_addr' dundi-parser.h:69: error: storage class specified for parameter 'dundi_ie_append_int' dundi-parser.h:70: error: storage class specified for parameter 'dundi_ie_append_short' dundi-parser.h:71: error: storage class specified for parameter 'dundi_ie_append_str' dundi-parser.h:72: error: syntax error before 'dundi_eid' dundi-parser.h:72: error: storage class specified for parameter 'dundi_ie_append_eid' dundi-parser.h:73: error: storage class specified for parameter 'dundi_ie_append_cause' dundi-parser.h:74: error: storage class specified for parameter 'dundi_ie_append_hint' dundi-parser.h:75: error: syntax error before 'dundi_eid' dundi-parser.h:75: error: storage class specified for parameter 'dundi_ie_append_answer' dundi-parser.h:76: error: storage class specified for parameter 'dundi_ie_append_encdata' dundi-parser.h:77: error: storage class specified for parameter 'dundi_ie_append_byte' dundi-parser.h:78: error: storage class specified for parameter 'dundi_ie_append' dundi-parser.h:79: error: storage class specified for parameter 'dundi_parse_ies' dundi-parser.h:80: error: syntax error before 'dundi_eid' dundi-parser.h:80: error: storage class specified for parameter 'dundi_eid_to_str' dundi-parser.h:81: error: syntax error before 'dundi_eid' dundi-parser.h:81: error: storage class specified for parameter 'dundi_eid_to_str_short' dundi-parser.h:82: error: syntax error before '*' token dundi-parser.h:82: error: storage class specified for parameter 'dundi_str_to_eid' dundi-parser.h:83: error: syntax error before '*' token dundi-parser.h:83: error: storage class specified for parameter 'dundi_str_short_to_eid' dundi-parser.h:84: error: syntax error before '*' token dundi-parser.h:84: error: storage class specified for parameter 'dundi_eid_zero' dundi-parser.h:85: error: syntax error before '*' token dundi-parser.h:85: error: storage class specified for parameter 'dundi_eid_cmp' dundi-parser.h:86: error: storage class specified for parameter 'dundi_flags2str' dundi-parser.h:87: error: storage class specified for parameter 'dundi_hint2str' pbx_dundi.c:78: error: storage class specified for parameter 'ast_config_AST_KEY_DIR' pbx_dundi.c:80: error: storage class specified for parameter 'tdesc' pbx_dundi.c:80: error: parameter 'tdesc' is initialized pbx_dundi.c:82: error: storage class specified for parameter 'app' pbx_dundi.c:82: error: parameter 'app' is initialized pbx_dundi.c:83: error: storage class specified for parameter 'synopsis' pbx_dundi.c:83: error: parameter 'synopsis' is initialized pbx_dundi.c:84: error: storage class specified for parameter 'descrip' pbx_dundi.c:84: error: parameter 'descrip' is initialized pbx_dundi.c:122: error: storage class specified for parameter 'io' pbx_dundi.c:123: error: storage class specified for parameter 'sched' pbx_dundi.c:124: error: storage class specified for parameter 'netsocket' pbx_dundi.c:124: error: parameter 'netsocket' is initialized pbx_dundi.c:125: error: storage class specified for parameter 'netthreadid' pbx_dundi.c:125: error: parameter 'netthreadid' is initialized pbx_dundi.c:125: error: 'AST_PTHREADT_NULL' undeclared (first use in this function) pbx_dundi.c:125: error: (Each undeclared identifier is reported only once pbx_dundi.c:125: error: for each function it appears in.) pbx_dundi.c:126: error: storage class specified for parameter 'precachethreadid' pbx_dundi.c:126: error: parameter 'precachethreadid' is initialized pbx_dundi.c:127: error: storage class specified for parameter 'tos' pbx_dundi.c:127: error: parameter 'tos' is initialized pbx_dundi.c:128: error: storage class specified for parameter 'dundidebug' pbx_dundi.c:128: error: parameter 'dundidebug' is initialized pbx_dundi.c:129: error: storage class specified for parameter 'authdebug' pbx_dundi.c:129: error: parameter 'authdebug' is initialized pbx_dundi.c:130: error: storage class specified for parameter 'dundi_ttl' pbx_dundi.c:130: error: parameter 'dundi_ttl' is initialized pbx_dundi.c:130: error: 'DUNDI_DEFAULT_TTL' undeclared (first use in this function) pbx_dundi.c:131: error: storage class specified for parameter 'dundi_key_ttl' pbx_dundi.c:131: error: parameter 'dundi_key_ttl' is initialized pbx_dundi.c:131: error: 'DUNDI_DEFAULT_KEY_EXPIRE' undeclared (first use in this function) pbx_dundi.c:132: error: storage class specified for parameter 'dundi_cache_time' pbx_dundi.c:132: error: parameter 'dundi_cache_time' is initialized pbx_dundi.c:132: error: 'DUNDI_DEFAULT_CACHE_TIME' undeclared (first use in this function) pbx_dundi.c:133: error: storage class specified for parameter 'global_autokilltimeout' pbx_dundi.c:133: error: parameter 'global_autokilltimeout' is initialized pbx_dundi.c:134: error: storage class specified for parameter 'dundi_eid' pbx_dundi.c:134: error: syntax error before 'global_eid' pbx_dundi.c:135: error: storage class specified for parameter 'default_expiration' pbx_dundi.c:135: error: parameter 'default_expiration' is initialized pbx_dundi.c:136: error: storage class specified for parameter 'global_storehistory' pbx_dundi.c:136: error: parameter 'global_storehistory' is initialized pbx_dundi.c:137: error: storage class specified for parameter 'dept' pbx_dundi.c:138: error: storage class specified for parameter 'org' pbx_dundi.c:139: error: storage class specified for parameter 'locality' pbx_dundi.c:140: error: storage class specified for parameter 'stateprov' pbx_dundi.c:141: error: storage class specified for parameter 'country' pbx_dundi.c:142: error: storage class specified for parameter 'email' pbx_dundi.c:143: error: storage class specified for parameter 'phone' pbx_dundi.c:144: error: storage class specified for parameter 'secretpath' pbx_dundi.c:145: error: storage class specified for parameter 'cursecret' pbx_dundi.c:146: error: storage class specified for parameter 'ipaddr' pbx_dundi.c:147: error: storage class specified for parameter 'rotatetime' pbx_dundi.c:148: error: storage class specified for parameter 'dundi_eid' pbx_dundi.c:148: error: redefinition of parameter 'dundi_eid' pbx_dundi.c:134: error: previous definition of 'dundi_eid' was here pbx_dundi.c:148: error: syntax error before 'empty_eid' pbx_dundi.c:153: warning: empty declaration pbx_dundi.c:163: warning: empty declaration pbx_dundi.c:167: error: 'AST_MAX_EXTENSION' undeclared (first use in this function) pbx_dundi.c:168: warning: empty declaration pbx_dundi.c:175: warning: empty declaration pbx_dundi.c:177: warning: empty declaration pbx_dundi.c:182: error: syntax error before 'dundi_eid' pbx_dundi.c:182: warning: no semicolon at end of struct or union pbx_dundi.c:183: error: redefinition of parameter 'eidcount' dundi-parser.h:25: error: previous definition of 'eidcount' was here pbx_dundi.c:184: error: syntax error before 'dundi_eid' pbx_dundi.c:189: error: redefinition of parameter 'ttl' dundi-parser.h:31: error: previous definition of 'ttl' was here pbx_dundi.c:205: error: syntax error before '}' token pbx_dundi.c:210: error: syntax error before 'dundi_eid' pbx_dundi.c:210: warning: no semicolon at end of struct or union pbx_dundi.c:217: error: redefinition of parameter 'expiration' dundi-parser.h:33: error: previous definition of 'expiration' was here pbx_dundi.c:218: error: redefinition of parameter 'cbypass' dundi-parser.h:51: error: previous definition of 'cbypass' was here pbx_dundi.c:222: error: conflicting types for 'next' pbx_dundi.c:202: error: previous definition of 'next' was here pbx_dundi.c:223: error: syntax error before '}' token pbx_dundi.c:234: error: storage class specified for parameter 'mappings' pbx_dundi.c:234: error: parameter 'mappings' is initialized pbx_dundi.c:237: error: syntax error before 'dundi_eid' pbx_dundi.c:237: warning: no semicolon at end of struct or union pbx_dundi.c:243: error: syntax error before 'dundi_eid' pbx_dundi.c:254: error: syntax error before 'aes_encrypt_ctx' pbx_dundi.c:257: error: syntax error before 'aes_encrypt_ctx' pbx_dundi.c:273: error: conflicting types for 'next' pbx_dundi.c:222: error: previous definition of 'next' was here pbx_dundi.c:274: error: syntax error before '}' token pbx_dundi.c:276: error: storage class specified for parameter 'pcq' pbx_dundi.c:278: error: syntax error before 'AST_MUTEX_DEFINE_STATIC' pbx_dundi.c:281: error: storage class specified for parameter 'dundi_xmit' pbx_dundi.c:284: error: storage class specified for parameter 'dundi_debug_output' pbx_dundi.c:284: error: syntax error before '{' token pbx_dundi.c:334: error: syntax error before 'dundi_eid' pbx_dundi.c:334: error: storage class specified for parameter 'dundi_precache_internal' pbx_dundi.c:335: error: storage class specified for parameter 'create_transaction' pbx_dundi.c:337: error: storage class specified for parameter 'find_transaction' pbx_dundi.c:337: error: syntax error before '{' token pbx_dundi.c:379: error: storage class specified for parameter 'dundi_ack' pbx_dundi.c:379: error: syntax error before '{' token pbx_dundi.c:387: error: syntax error before '}' token pbx_dundi.c:388: error: conflicting types for 'trans' pbx_dundi.c:221: error: previous definition of 'trans' was here pbx_dundi.c:390: error: syntax error before 'if' pbx_dundi.c:414: error: syntax error before 's' pbx_dundi.c:457: error: parameter 'stid' is initialized pbx_dundi.c:458: error: parameter 'tid' is initialized pbx_dundi.c:459: error: syntax error before 'do' pbx_dundi.c:508: error: syntax error before 'fluffy' pbx_dundi.c:516: error: syntax error before 'dundi_eid' pbx_dundi.c:522: error: conflicting types for 'trans' pbx_dundi.c:388: error: previous definition of 'trans' was here pbx_dundi.c:525: error: redefinition of parameter 'ttl' pbx_dundi.c:189: error: previous definition of 'ttl' was here pbx_dundi.c:527: error: syntax error before '}' token pbx_dundi.c:529: error: syntax error before 'dundi_eid' pbx_dundi.c:530: error: storage class specified for parameter 'dundi_lookup_local' pbx_dundi.c:532: error: redefinition of parameter 'x' pbx_dundi.c:507: error: previous definition of 'x' was here pbx_dundi.c:533: error: syntax error before 'if' pbx_dundi.c:554: error: syntax error before 'ast_set_flag' pbx_dundi.c:605: error: storage class specified for parameter 'dundi_lookup_thread' pbx_dundi.c:605: error: syntax error before '{' token pbx_dundi.c:607: error: array type has incomplete element type pbx_dundi.c:609: error: conflicting types for 'hmd' pbx_dundi.c:214: error: previous definition of 'hmd' was here pbx_dundi.c:610: error: redefinition of parameter 'eid_str' pbx_dundi.c:411: error: previous definition of 'eid_str' was here pbx_dundi.c:611: error: redefinition of parameter 'x' pbx_dundi.c:532: error: previous definition of 'x' was here pbx_dundi.c:612: error: parameter 'ouranswers' is initialized pbx_dundi.c:613: error: parameter 'max' is initialized pbx_dundi.c:614: error: parameter 'expiration' is initialized pbx_dundi.c:614: error: redefinition of parameter 'expiration' pbx_dundi.c:217: error: previous definition of 'expiration' was here pbx_dundi.c:616: error: syntax error before 'ast_log' pbx_dundi.c:671: error: redefinition of parameter 'ied' pbx_dundi.c:608: error: previous definition of 'ied' was here pbx_dundi.c:672: error: redefinition of parameter 'hmd' pbx_dundi.c:609: error: previous definition of 'hmd' was here pbx_dundi.c:673: error: redefinition of parameter 'eid_str' pbx_dundi.c:610: error: previous definition of 'eid_str' was here pbx_dundi.c:675: error: syntax error before 'ast_log' pbx_dundi.c:702: error: storage class specified for parameter 'dundi_query_thread' pbx_dundi.c:702: error: syntax error before '{' token pbx_dundi.c:704: error: conflicting types for 'dei' pbx_dundi.c:213: error: previous definition of 'dei' was here pbx_dundi.c:705: error: redefinition of parameter 'ied' pbx_dundi.c:671: error: previous definition of 'ied' was here pbx_dundi.c:706: error: redefinition of parameter 'hmd' pbx_dundi.c:672: error: previous definition of 'hmd' was here pbx_dundi.c:707: error: redefinition of parameter 'eid_str' pbx_dundi.c:673: error: previous definition of 'eid_str' was here pbx_dundi.c:708: error: redefinition of parameter 'res' pbx_dundi.c:611: error: previous definition of 'res' was here pbx_dundi.c:709: error: syntax error before 'ast_log' pbx_dundi.c:759: error: redefinition of parameter 'x' pbx_dundi.c:611: error: previous definition of 'x' was here pbx_dundi.c:760: error: parameter 'skipfirst' is initialized pbx_dundi.c:761: error: redefinition of parameter 'ied' pbx_dundi.c:705: error: previous definition of 'ied' was here pbx_dundi.c:762: error: redefinition of parameter 'eid_str' pbx_dundi.c:707: error: previous definition of 'eid_str' was here pbx_dundi.c:766: error: syntax error before 'if' pbx_dundi.c:824: error: syntax error before 'if' pbx_dundi.c:852: error: redefinition of parameter 'key1' pbx_dundi.c:817: error: previous definition of 'key1' was here pbx_dundi.c:853: error: redefinition of parameter 'key2' pbx_dundi.c:818: error: previous definition of 'key2' was here pbx_dundi.c:854: error: redefinition of parameter 'data' pbx_dundi.c:821: error: previous definition of 'data' was here pbx_dundi.c:855: error: redefinition of parameter 'eidpeer_str' pbx_dundi.c:819: error: previous definition of 'eidpeer_str' was here pbx_dundi.c:856: error: redefinition of parameter 'eidroot_str' pbx_dundi.c:820: error: previous definition of 'eidroot_str' was here pbx_dundi.c:857: error: redefinition of parameter 'timeout' pbx_dundi.c:822: error: previous definition of 'timeout' was here pbx_dundi.c:859: error: syntax error before 'if' pbx_dundi.c:893: error: redefinition of parameter 'totallen' pbx_dundi.c:758: error: previous definition of 'totallen' was here pbx_dundi.c:894: error: redefinition of parameter 'x' pbx_dundi.c:759: error: previous definition of 'x' was here pbx_dundi.c:895: error: redefinition of parameter 'ied' pbx_dundi.c:761: error: previous definition of 'ied' was here pbx_dundi.c:896: error: redefinition of parameter 's' pbx_dundi.c:763: error: previous definition of 's' was here pbx_dundi.c:897: error: array type has incomplete element type pbx_dundi.c:899: error: redefinition of parameter 'hmd' pbx_dundi.c:706: error: previous definition of 'hmd' was here pbx_dundi.c:903: error: parameter 'skipfirst' is initialized pbx_dundi.c:903: error: redefinition of parameter 'skipfirst' pbx_dundi.c:760: error: previous definition of 'skipfirst' was here pbx_dundi.c:905: error: redefinition of parameter 'lookupthread' pbx_dundi.c:764: error: previous definition of 'lookupthread' was here pbx_dundi.c:906: error: redefinition of parameter 'attr' pbx_dundi.c:765: error: previous definition of 'attr' was here pbx_dundi.c:908: error: syntax error before 'memset' pbx_dundi.c:1048: error: redefinition of parameter 'totallen' pbx_dundi.c:893: error: previous definition of 'totallen' was here pbx_dundi.c:1049: error: redefinition of parameter 'x' pbx_dundi.c:894: error: previous definition of 'x' was here pbx_dundi.c:1050: error: redefinition of parameter 'ied' pbx_dundi.c:895: error: previous definition of 'ied' was here pbx_dundi.c:1051: error: redefinition of parameter 's' pbx_dundi.c:896: error: previous definition of 's' was here pbx_dundi.c:1052: error: redefinition of parameter 'cur' pbx_dundi.c:901: error: previous definition of 'cur' was here pbx_dundi.c:1053: error: redefinition of parameter 'mapcount' pbx_dundi.c:902: error: previous definition of 'mapcount' was here pbx_dundi.c:1054: error: parameter 'skipfirst' is initialized pbx_dundi.c:1054: error: redefinition of parameter 'skipfirst' pbx_dundi.c:903: error: previous definition of 'skipfirst' was here pbx_dundi.c:1056: error: redefinition of parameter 'lookupthread' pbx_dundi.c:905: error: previous definition of 'lookupthread' was here pbx_dundi.c:1057: error: redefinition of parameter 'attr' pbx_dundi.c:906: error: previous definition of 'attr' was here pbx_dundi.c:1058: error: syntax error before 'totallen' pbx_dundi.c:1142: error: conflicting types for 'flags' pbx_dundi.c:188: error: previous definition of 'flags' was here pbx_dundi.c:1145: error: redefinition of parameter 'z' pbx_dundi.c:894: error: previous definition of 'z' was here pbx_dundi.c:1146: error: redefinition of parameter 'expiration' pbx_dundi.c:614: error: previous definition of 'expiration' was here pbx_dundi.c:1148: error: redefinition of parameter 'timeout' pbx_dundi.c:857: error: previous definition of 'timeout' was here pbx_dundi.c:1150: error: syntax error before 'if' pbx_dundi.c:1212: error: redefinition of parameter 'eid_str' pbx_dundi.c:762: error: previous definition of 'eid_str' was here pbx_dundi.c:1213: error: redefinition of parameter 'eidroot_str' pbx_dundi.c:856: error: previous definition of 'eidroot_str' was here pbx_dundi.c:1215: error: parameter 'res' is initialized pbx_dundi.c:1215: error: redefinition of parameter 'res' pbx_dundi.c:708: error: previous definition of 'res' was here pbx_dundi.c:1216: error: parameter 'res2' is initialized pbx_dundi.c:1218: error: parameter 'tmp' is initialized pbx_dundi.c:1219: error: redefinition of parameter 'x' pbx_dundi.c:1049: error: previous definition of 'x' was here pbx_dundi.c:1221: error: syntax error before 'time' pbx_dundi.c:1262: error: storage class specified for parameter 'apply_peer' pbx_dundi.c:1262: error: syntax error before '{' token pbx_dundi.c:1288: error: redefinition of parameter 'eid_str' pbx_dundi.c:1212: error: previous definition of 'eid_str' was here pbx_dundi.c:1290: error: syntax error before 'ast_log' pbx_dundi.c:1301: error: redefinition of parameter 'eid_str' pbx_dundi.c:1288: error: previous definition of 'eid_str' was here pbx_dundi.c:1302: error: redefinition of parameter 'res' pbx_dundi.c:1215: error: previous definition of 'res' was here pbx_dundi.c:1303: error: syntax error before 'if' pbx_dundi.c:1339: error: redefinition of parameter 'x' pbx_dundi.c:1219: error: previous definition of 'x' was here pbx_dundi.c:1340: error: syntax error before 'memcpy' pbx_dundi.c:1355: error: redefinition of parameter 'x' pbx_dundi.c:1339: error: previous definition of 'x' was here pbx_dundi.c:1356: error: syntax error before 'memcpy' pbx_dundi.c:1375: error: syntax error before 'decrypt_space' pbx_dundi.c:1397: error: redefinition of parameter 'res' pbx_dundi.c:1302: error: previous definition of 'res' was here pbx_dundi.c:1398: error: redefinition of parameter 'bytes' pbx_dundi.c:1372: error: previous definition of 'bytes' was here pbx_dundi.c:1399: error: redefinition of parameter 'ied' pbx_dundi.c:1050: error: previous definition of 'ied' was here pbx_dundi.c:1402: error: syntax error before 'len' pbx_dundi.c:1463: error: redefinition of parameter 'res' pbx_dundi.c:1397: error: previous definition of 'res' was here pbx_dundi.c:1464: error: redefinition of parameter 'skey' pbx_dundi.c:1300: error: previous definition of 'skey' was here pbx_dundi.c:1465: error: redefinition of parameter 'eid_str' pbx_dundi.c:1301: error: previous definition of 'eid_str' was here pbx_dundi.c:1466: error: syntax error before 'if' pbx_dundi.c:1518: error: parameter 'cmd' is initialized pbx_dundi.c:1518: error: invalid type argument of '->' pbx_dundi.c:1519: error: redefinition of parameter 'x' pbx_dundi.c:1355: error: previous definition of 'x' was here pbx_dundi.c:1519: error: redefinition of parameter 'z' pbx_dundi.c:1145: error: previous definition of 'z' was here pbx_dundi.c:1521: error: redefinition of parameter 'res' pbx_dundi.c:1463: error: previous definition of 'res' was here pbx_dundi.c:1522: error: parameter 'authpass' is initialized pbx_dundi.c:1524: error: redefinition of parameter 'ied' pbx_dundi.c:1399: error: previous definition of 'ied' was here pbx_dundi.c:1526: error: redefinition of parameter 'peer' pbx_dundi.c:1400: error: previous definition of 'peer' was here pbx_dundi.c:1527: error: redefinition of parameter 'eid_str' pbx_dundi.c:1465: error: previous definition of 'eid_str' was here pbx_dundi.c:1529: error: syntax error before 'memset' pbx_dundi.c:1623: error: redefinition of parameter 'data' pbx_dundi.c:854: error: previous definition of 'data' was here pbx_dundi.c:1624: error: parameter 'needqual' is initialized pbx_dundi.c:1625: error: syntax error before 'if' pbx_dundi.c:1873: error: syntax error before 'ddatalen' pbx_dundi.c:1906: error: storage class specified for parameter 'destroy_packets' pbx_dundi.c:1906: error: syntax error before '{' token pbx_dundi.c:1986: error: redefinition of parameter 'res' pbx_dundi.c:1521: error: previous definition of 'res' was here pbx_dundi.c:1987: error: redefinition of parameter 'h' pbx_dundi.c:1373: error: previous definition of 'h' was here pbx_dundi.c:1989: error: conflicting types for 'len' pbx_dundi.c:1396: error: previous definition of 'len' was here pbx_dundi.c:1990: error: syntax error before 'len' pbx_dundi.c:2014: error: redefinition of parameter 's' pbx_dundi.c:1051: error: previous definition of 's' was here pbx_dundi.c:2015: error: syntax error before 'build_iv' pbx_dundi.c:2042: error: parameter 'last' is initialized pbx_dundi.c:2043: error: redefinition of parameter 'tmp' pbx_dundi.c:1218: error: previous definition of 'tmp' was here pbx_dundi.c:2046: error: syntax error before 'ast_db_get' pbx_dundi.c:2081: error: redefinition of parameter 'now' pbx_dundi.c:1214: error: previous definition of 'now' was here pbx_dundi.c:2083: error: syntax error before 'time' pbx_dundi.c:2120: error: redefinition of parameter 'now' pbx_dundi.c:2081: error: previous definition of 'now' was here pbx_dundi.c:2124: error: syntax error before 'for' pbx_dundi.c:2190: error: redefinition of parameter 'x' pbx_dundi.c:1519: error: previous definition of 'x' was here pbx_dundi.c:2191: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:2248: error: redefinition of parameter 'eid_str' pbx_dundi.c:1527: error: previous definition of 'eid_str' was here pbx_dundi.c:2249: error: syntax error before 'if' pbx_dundi.c:2293: error: redefinition of parameter 'tmp' pbx_dundi.c:2043: error: previous definition of 'tmp' was here pbx_dundi.c:2294: error: parameter 'fs' is initialized pbx_dundi.c:2294: error: redefinition of parameter 'fs' pbx_dundi.c:1147: error: previous definition of 'fs' was here pbx_dundi.c:2295: error: redefinition of parameter 'context' pbx_dundi.c:2121: error: previous definition of 'context' was here pbx_dundi.c:2296: error: redefinition of parameter 'x' pbx_dundi.c:2190: error: previous definition of 'x' was here pbx_dundi.c:2297: error: parameter 'bypass' is initialized pbx_dundi.c:2298: error: array type has incomplete element type pbx_dundi.c:2300: error: syntax error before 'if' pbx_dundi.c:2334: error: redefinition of parameter 'tmp' pbx_dundi.c:2293: error: previous definition of 'tmp' was here pbx_dundi.c:2335: error: redefinition of parameter 'context' pbx_dundi.c:2295: error: previous definition of 'context' was here pbx_dundi.c:2336: error: redefinition of parameter 'start' pbx_dundi.c:2299: error: previous definition of 'start' was here pbx_dundi.c:2337: error: syntax error before 'if' pbx_dundi.c:2359: error: redefinition of parameter 'tmp' pbx_dundi.c:2334: error: previous definition of 'tmp' was here pbx_dundi.c:2360: error: redefinition of parameter 'context' pbx_dundi.c:2335: error: previous definition of 'context' was here pbx_dundi.c:2361: error: syntax error before 'dundi_eid' pbx_dundi.c:2362: error: redefinition of parameter 'dei' pbx_dundi.c:704: error: previous definition of 'dei' was here pbx_dundi.c:2363: error: syntax error before 'if' pbx_dundi.c:2397: error: conflicting types for 'p' pbx_dundi.c:2247: error: previous definition of 'p' was here pbx_dundi.c:2398: error: conflicting types for 'order' pbx_dundi.c:250: error: previous definition of 'order' was here pbx_dundi.c:2399: error: redefinition of parameter 'iabuf' pbx_dundi.c:1622: error: previous definition of 'iabuf' was here pbx_dundi.c:2400: error: redefinition of parameter 'eid_str' pbx_dundi.c:2248: error: previous definition of 'eid_str' was here pbx_dundi.c:2401: error: redefinition of parameter 'x' pbx_dundi.c:2296: error: previous definition of 'x' was here pbx_dundi.c:2403: error: syntax error before 'if' pbx_dundi.c:2475: error: redefinition of parameter 'iabuf' pbx_dundi.c:2399: error: previous definition of 'iabuf' was here pbx_dundi.c:2476: error: parameter 'registeredonly' is initialized pbx_dundi.c:2477: error: conflicting types for 'avgms' pbx_dundi.c:263: error: previous definition of 'avgms' was here pbx_dundi.c:2478: error: redefinition of parameter 'eid_str' pbx_dundi.c:2400: error: previous definition of 'eid_str' was here pbx_dundi.c:2479: error: parameter 'online_peers' is initialized pbx_dundi.c:2480: error: parameter 'offline_peers' is initialized pbx_dundi.c:2481: error: parameter 'unmonitored_peers' is initialized pbx_dundi.c:2482: error: parameter 'total_peers' is initialized pbx_dundi.c:2484: error: syntax error before 'if' pbx_dundi.c:2496: error: parameter 'print_line' is initialized pbx_dundi.c:2498: error: syntax error before 'total_peers' pbx_dundi.c:2560: error: redefinition of parameter 'iabuf' pbx_dundi.c:2475: error: previous definition of 'iabuf' was here pbx_dundi.c:2561: error: syntax error before 'if' pbx_dundi.c:2593: error: syntax error before 'if' pbx_dundi.c:2614: error: redefinition of parameter 'fs' pbx_dundi.c:2294: error: previous definition of 'fs' was here pbx_dundi.c:2615: error: syntax error before 'if' pbx_dundi.c:2635: error: conflicting types for 'h' pbx_dundi.c:1987: error: previous definition of 'h' was here pbx_dundi.c:2635: error: conflicting types for 's' pbx_dundi.c:2014: error: previous definition of 's' was here pbx_dundi.c:2636: error: redefinition of parameter 'now' pbx_dundi.c:2120: error: previous definition of 'now' was here pbx_dundi.c:2638: error: syntax error before 'if' pbx_dundi.c:2661: error: storage class specified for parameter 'no_debug_usage' pbx_dundi.c:2661: error: parameter 'no_debug_usage' is initialized pbx_dundi.c:2665: error: storage class specified for parameter 'store_history_usage' pbx_dundi.c:2665: error: parameter 'store_history_usage' is initialized pbx_dundi.c:2670: error: storage class specified for parameter 'no_store_history_usage' pbx_dundi.c:2670: error: parameter 'no_store_history_usage' is initialized pbx_dundi.c:2675: error: storage class specified for parameter 'show_peers_usage' pbx_dundi.c:2675: error: parameter 'show_peers_usage' is initialized pbx_dundi.c:2679: error: storage class specified for parameter 'show_trans_usage' pbx_dundi.c:2679: error: parameter 'show_trans_usage' is initialized pbx_dundi.c:2683: error: storage class specified for parameter 'show_mappings_usage' pbx_dundi.c:2683: error: parameter 'show_mappings_usage' is initialized pbx_dundi.c:2687: error: storage class specified for parameter 'show_precache_usage' pbx_dundi.c:2687: error: parameter 'show_precache_usage' is initialized pbx_dundi.c:2691: error: storage class specified for parameter 'show_entityid_usage' pbx_dundi.c:2691: error: parameter 'show_entityid_usage' is initialized pbx_dundi.c:2695: error: storage class specified for parameter 'show_peer_usage' pbx_dundi.c:2695: error: parameter 'show_peer_usage' is initialized pbx_dundi.c:2699: error: storage class specified for parameter 'show_requests_usage' pbx_dundi.c:2699: error: parameter 'show_requests_usage' is initialized pbx_dundi.c:2703: error: storage class specified for parameter 'lookup_usage' pbx_dundi.c:2703: error: parameter 'lookup_usage' is initialized pbx_dundi.c:2709: error: storage class specified for parameter 'precache_usage' pbx_dundi.c:2709: error: parameter 'precache_usage' is initialized pbx_dundi.c:2715: error: storage class specified for parameter 'query_usage' pbx_dundi.c:2715: error: parameter 'query_usage' is initialized pbx_dundi.c:2721: error: storage class specified for parameter 'flush_usage' pbx_dundi.c:2721: error: parameter 'flush_usage' is initialized pbx_dundi.c:2727: error: storage class specified for parameter 'cli_debug' pbx_dundi.c:2727: error: parameter 'cli_debug' is initialized pbx_dundi.c:2728: error: extra brace group at end of initializer pbx_dundi.c:2728: error: (near initialization for 'cli_debug') pbx_dundi.c:2728: warning: excess elements in struct initializer pbx_dundi.c:2728: warning: (near initialization for 'cli_debug') pbx_dundi.c:2728: error: 'dundi_do_debug' undeclared (first use in this function) pbx_dundi.c:2728: warning: excess elements in struct initializer pbx_dundi.c:2728: warning: (near initialization for 'cli_debug') pbx_dundi.c:2728: warning: excess elements in struct initializer pbx_dundi.c:2728: warning: (near initialization for 'cli_debug') pbx_dundi.c:2728: error: 'debug_usage' undeclared (first use in this function) pbx_dundi.c:2728: warning: excess elements in struct initializer pbx_dundi.c:2728: warning: (near initialization for 'cli_debug') pbx_dundi.c:2730: error: storage class specified for parameter 'cli_store_history' pbx_dundi.c:2730: error: parameter 'cli_store_history' is initialized pbx_dundi.c:2731: error: extra brace group at end of initializer pbx_dundi.c:2731: error: (near initialization for 'cli_store_history') pbx_dundi.c:2731: warning: excess elements in struct initializer pbx_dundi.c:2731: warning: (near initialization for 'cli_store_history') pbx_dundi.c:2731: error: 'dundi_do_store_history' undeclared (first use in this function) pbx_dundi.c:2731: warning: excess elements in struct initializer pbx_dundi.c:2731: warning: (near initialization for 'cli_store_history') pbx_dundi.c:2731: warning: excess elements in struct initializer pbx_dundi.c:2731: warning: (near initialization for 'cli_store_history') pbx_dundi.c:2731: warning: excess elements in struct initializer pbx_dundi.c:2731: warning: (near initialization for 'cli_store_history') pbx_dundi.c:2733: error: storage class specified for parameter 'cli_no_store_history' pbx_dundi.c:2733: error: parameter 'cli_no_store_history' is initialized pbx_dundi.c:2734: error: extra brace group at end of initializer pbx_dundi.c:2734: error: (near initialization for 'cli_no_store_history') pbx_dundi.c:2734: warning: excess elements in struct initializer pbx_dundi.c:2734: warning: (near initialization for 'cli_no_store_history') pbx_dundi.c:2734: error: 'dundi_no_store_history' undeclared (first use in this function) pbx_dundi.c:2734: warning: excess elements in struct initializer pbx_dundi.c:2734: warning: (near initialization for 'cli_no_store_history') pbx_dundi.c:2734: warning: excess elements in struct initializer pbx_dundi.c:2734: warning: (near initialization for 'cli_no_store_history') pbx_dundi.c:2734: warning: excess elements in struct initializer pbx_dundi.c:2734: warning: (near initialization for 'cli_no_store_history') pbx_dundi.c:2736: error: storage class specified for parameter 'cli_flush' pbx_dundi.c:2736: error: parameter 'cli_flush' is initialized pbx_dundi.c:2737: error: extra brace group at end of initializer pbx_dundi.c:2737: error: (near initialization for 'cli_flush') pbx_dundi.c:2737: warning: excess elements in struct initializer pbx_dundi.c:2737: warning: (near initialization for 'cli_flush') pbx_dundi.c:2737: error: 'dundi_flush' undeclared (first use in this function) pbx_dundi.c:2737: warning: excess elements in struct initializer pbx_dundi.c:2737: warning: (near initialization for 'cli_flush') pbx_dundi.c:2737: warning: excess elements in struct initializer pbx_dundi.c:2737: warning: (near initialization for 'cli_flush') pbx_dundi.c:2737: warning: excess elements in struct initializer pbx_dundi.c:2737: warning: (near initialization for 'cli_flush') pbx_dundi.c:2739: error: storage class specified for parameter 'cli_no_debug' pbx_dundi.c:2739: error: parameter 'cli_no_debug' is initialized pbx_dundi.c:2740: error: extra brace group at end of initializer pbx_dundi.c:2740: error: (near initialization for 'cli_no_debug') pbx_dundi.c:2740: warning: excess elements in struct initializer pbx_dundi.c:2740: warning: (near initialization for 'cli_no_debug') pbx_dundi.c:2740: error: 'dundi_no_debug' undeclared (first use in this function) pbx_dundi.c:2740: warning: excess elements in struct initializer pbx_dundi.c:2740: warning: (near initialization for 'cli_no_debug') pbx_dundi.c:2740: warning: excess elements in struct initializer pbx_dundi.c:2740: warning: (near initialization for 'cli_no_debug') pbx_dundi.c:2740: warning: excess elements in struct initializer pbx_dundi.c:2740: warning: (near initialization for 'cli_no_debug') pbx_dundi.c:2742: error: storage class specified for parameter 'cli_show_peers' pbx_dundi.c:2742: error: parameter 'cli_show_peers' is initialized pbx_dundi.c:2743: error: extra brace group at end of initializer pbx_dundi.c:2743: error: (near initialization for 'cli_show_peers') pbx_dundi.c:2743: warning: excess elements in struct initializer pbx_dundi.c:2743: warning: (near initialization for 'cli_show_peers') pbx_dundi.c:2743: error: 'dundi_show_peers' undeclared (first use in this function) pbx_dundi.c:2743: warning: excess elements in struct initializer pbx_dundi.c:2743: warning: (near initialization for 'cli_show_peers') pbx_dundi.c:2743: warning: excess elements in struct initializer pbx_dundi.c:2743: warning: (near initialization for 'cli_show_peers') pbx_dundi.c:2743: warning: excess elements in struct initializer pbx_dundi.c:2743: warning: (near initialization for 'cli_show_peers') pbx_dundi.c:2745: error: storage class specified for parameter 'cli_show_trans' pbx_dundi.c:2745: error: parameter 'cli_show_trans' is initialized pbx_dundi.c:2746: error: extra brace group at end of initializer pbx_dundi.c:2746: error: (near initialization for 'cli_show_trans') pbx_dundi.c:2746: warning: excess elements in struct initializer pbx_dundi.c:2746: warning: (near initialization for 'cli_show_trans') pbx_dundi.c:2746: error: 'dundi_show_trans' undeclared (first use in this function) pbx_dundi.c:2746: warning: excess elements in struct initializer pbx_dundi.c:2746: warning: (near initialization for 'cli_show_trans') pbx_dundi.c:2746: warning: excess elements in struct initializer pbx_dundi.c:2746: warning: (near initialization for 'cli_show_trans') pbx_dundi.c:2746: warning: excess elements in struct initializer pbx_dundi.c:2746: warning: (near initialization for 'cli_show_trans') pbx_dundi.c:2748: error: storage class specified for parameter 'cli_show_entityid' pbx_dundi.c:2748: error: parameter 'cli_show_entityid' is initialized pbx_dundi.c:2749: error: extra brace group at end of initializer pbx_dundi.c:2749: error: (near initialization for 'cli_show_entityid') pbx_dundi.c:2749: warning: excess elements in struct initializer pbx_dundi.c:2749: warning: (near initialization for 'cli_show_entityid') pbx_dundi.c:2749: error: 'dundi_show_entityid' undeclared (first use in this function) pbx_dundi.c:2749: warning: excess elements in struct initializer pbx_dundi.c:2749: warning: (near initialization for 'cli_show_entityid') pbx_dundi.c:2749: warning: excess elements in struct initializer pbx_dundi.c:2749: warning: (near initialization for 'cli_show_entityid') pbx_dundi.c:2749: warning: excess elements in struct initializer pbx_dundi.c:2749: warning: (near initialization for 'cli_show_entityid') pbx_dundi.c:2751: error: storage class specified for parameter 'cli_show_mappings' pbx_dundi.c:2751: error: parameter 'cli_show_mappings' is initialized pbx_dundi.c:2752: error: extra brace group at end of initializer pbx_dundi.c:2752: error: (near initialization for 'cli_show_mappings') pbx_dundi.c:2752: warning: excess elements in struct initializer pbx_dundi.c:2752: warning: (near initialization for 'cli_show_mappings') pbx_dundi.c:2752: error: 'dundi_show_mappings' undeclared (first use in this function) pbx_dundi.c:2752: warning: excess elements in struct initializer pbx_dundi.c:2752: warning: (near initialization for 'cli_show_mappings') pbx_dundi.c:2752: warning: excess elements in struct initializer pbx_dundi.c:2752: warning: (near initialization for 'cli_show_mappings') pbx_dundi.c:2752: warning: excess elements in struct initializer pbx_dundi.c:2752: warning: (near initialization for 'cli_show_mappings') pbx_dundi.c:2754: error: storage class specified for parameter 'cli_show_precache' pbx_dundi.c:2754: error: parameter 'cli_show_precache' is initialized pbx_dundi.c:2755: error: extra brace group at end of initializer pbx_dundi.c:2755: error: (near initialization for 'cli_show_precache') pbx_dundi.c:2755: warning: excess elements in struct initializer pbx_dundi.c:2755: warning: (near initialization for 'cli_show_precache') pbx_dundi.c:2755: error: 'dundi_show_precache' undeclared (first use in this function) pbx_dundi.c:2755: warning: excess elements in struct initializer pbx_dundi.c:2755: warning: (near initialization for 'cli_show_precache') pbx_dundi.c:2755: warning: excess elements in struct initializer pbx_dundi.c:2755: warning: (near initialization for 'cli_show_precache') pbx_dundi.c:2755: warning: excess elements in struct initializer pbx_dundi.c:2755: warning: (near initialization for 'cli_show_precache') pbx_dundi.c:2757: error: storage class specified for parameter 'cli_show_requests' pbx_dundi.c:2757: error: parameter 'cli_show_requests' is initialized pbx_dundi.c:2758: error: extra brace group at end of initializer pbx_dundi.c:2758: error: (near initialization for 'cli_show_requests') pbx_dundi.c:2758: warning: excess elements in struct initializer pbx_dundi.c:2758: warning: (near initialization for 'cli_show_requests') pbx_dundi.c:2758: error: 'dundi_show_requests' undeclared (first use in this function) pbx_dundi.c:2758: warning: excess elements in struct initializer pbx_dundi.c:2758: warning: (near initialization for 'cli_show_requests') pbx_dundi.c:2758: warning: excess elements in struct initializer pbx_dundi.c:2758: warning: (near initialization for 'cli_show_requests') pbx_dundi.c:2758: warning: excess elements in struct initializer pbx_dundi.c:2758: warning: (near initialization for 'cli_show_requests') pbx_dundi.c:2760: error: storage class specified for parameter 'cli_show_peer' pbx_dundi.c:2760: error: parameter 'cli_show_peer' is initialized pbx_dundi.c:2761: error: extra brace group at end of initializer pbx_dundi.c:2761: error: (near initialization for 'cli_show_peer') pbx_dundi.c:2761: warning: excess elements in struct initializer pbx_dundi.c:2761: warning: (near initialization for 'cli_show_peer') pbx_dundi.c:2761: error: 'dundi_show_peer' undeclared (first use in this function) pbx_dundi.c:2761: warning: excess elements in struct initializer pbx_dundi.c:2761: warning: (near initialization for 'cli_show_peer') pbx_dundi.c:2761: warning: excess elements in struct initializer pbx_dundi.c:2761: warning: (near initialization for 'cli_show_peer') pbx_dundi.c:2761: warning: excess elements in struct initializer pbx_dundi.c:2761: warning: (near initialization for 'cli_show_peer') pbx_dundi.c:2761: error: 'complete_peer_4' undeclared (first use in this function) pbx_dundi.c:2761: warning: excess elements in struct initializer pbx_dundi.c:2761: warning: (near initialization for 'cli_show_peer') pbx_dundi.c:2763: error: storage class specified for parameter 'cli_lookup' pbx_dundi.c:2763: error: parameter 'cli_lookup' is initialized pbx_dundi.c:2764: error: extra brace group at end of initializer pbx_dundi.c:2764: error: (near initialization for 'cli_lookup') pbx_dundi.c:2764: warning: excess elements in struct initializer pbx_dundi.c:2764: warning: (near initialization for 'cli_lookup') pbx_dundi.c:2764: error: 'dundi_do_lookup' undeclared (first use in this function) pbx_dundi.c:2764: warning: excess elements in struct initializer pbx_dundi.c:2764: warning: (near initialization for 'cli_lookup') pbx_dundi.c:2764: warning: excess elements in struct initializer pbx_dundi.c:2764: warning: (near initialization for 'cli_lookup') pbx_dundi.c:2764: warning: excess elements in struct initializer pbx_dundi.c:2764: warning: (near initialization for 'cli_lookup') pbx_dundi.c:2766: error: storage class specified for parameter 'cli_precache' pbx_dundi.c:2766: error: parameter 'cli_precache' is initialized pbx_dundi.c:2767: error: extra brace group at end of initializer pbx_dundi.c:2767: error: (near initialization for 'cli_precache') pbx_dundi.c:2767: warning: excess elements in struct initializer pbx_dundi.c:2767: warning: (near initialization for 'cli_precache') pbx_dundi.c:2767: error: 'dundi_do_precache' undeclared (first use in this function) pbx_dundi.c:2767: warning: excess elements in struct initializer pbx_dundi.c:2767: warning: (near initialization for 'cli_precache') pbx_dundi.c:2767: warning: excess elements in struct initializer pbx_dundi.c:2767: warning: (near initialization for 'cli_precache') pbx_dundi.c:2767: warning: excess elements in struct initializer pbx_dundi.c:2767: warning: (near initialization for 'cli_precache') pbx_dundi.c:2769: error: storage class specified for parameter 'cli_queryeid' pbx_dundi.c:2769: error: parameter 'cli_queryeid' is initialized pbx_dundi.c:2770: error: extra brace group at end of initializer pbx_dundi.c:2770: error: (near initialization for 'cli_queryeid') pbx_dundi.c:2770: warning: excess elements in struct initializer pbx_dundi.c:2770: warning: (near initialization for 'cli_queryeid') pbx_dundi.c:2770: error: 'dundi_do_query' undeclared (first use in this function) pbx_dundi.c:2770: warning: excess elements in struct initializer pbx_dundi.c:2770: warning: (near initialization for 'cli_queryeid') pbx_dundi.c:2770: warning: excess elements in struct initializer pbx_dundi.c:2770: warning: (near initialization for 'cli_queryeid') pbx_dundi.c:2770: warning: excess elements in struct initializer pbx_dundi.c:2770: warning: (near initialization for 'cli_queryeid') pbx_dundi.c:2772: error: syntax error before 'STANDARD_LOCAL_USER' pbx_dundi.c:2777: error: storage class specified for parameter 'create_transaction' pbx_dundi.c:2777: error: redefinition of parameter 'create_transaction' pbx_dundi.c:335: error: previous definition of 'create_transaction' was here pbx_dundi.c:2777: error: syntax error before '{' token pbx_dundi.c:2779: error: redefinition of parameter 'tid' pbx_dundi.c:458: error: previous definition of 'tid' was here pbx_dundi.c:2782: error: syntax error before 'if' pbx_dundi.c:2811: error: redefinition of parameter 'iabuf' pbx_dundi.c:2560: error: previous definition of 'iabuf' was here pbx_dundi.c:2812: error: syntax error before 'if' pbx_dundi.c:2856: error: redefinition of parameter 'peer' pbx_dundi.c:1526: error: previous definition of 'peer' was here pbx_dundi.c:2858: error: redefinition of parameter 'x' pbx_dundi.c:2401: error: previous definition of 'x' was here pbx_dundi.c:2859: error: redefinition of parameter 'cnt' pbx_dundi.c:2401: error: previous definition of 'cnt' was here pbx_dundi.c:2860: error: redefinition of parameter 'eid_str' pbx_dundi.c:2478: error: previous definition of 'eid_str' was here pbx_dundi.c:2861: error: syntax error before 'if' pbx_dundi.c:2970: error: redefinition of parameter 'iabuf' pbx_dundi.c:2811: error: previous definition of 'iabuf' was here pbx_dundi.c:2971: error: redefinition of parameter 'res' pbx_dundi.c:1986: error: previous definition of 'res' was here pbx_dundi.c:2972: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:2995: error: redefinition of parameter 'res' pbx_dundi.c:2971: error: previous definition of 'res' was here pbx_dundi.c:2996: error: conflicting types for 'len' pbx_dundi.c:1989: error: previous definition of 'len' was here pbx_dundi.c:2997: error: redefinition of parameter 'eid_str' pbx_dundi.c:2860: error: previous definition of 'eid_str' was here pbx_dundi.c:2998: error: syntax error before 'len' pbx_dundi.c:3068: error: redefinition of parameter 'eid_str' pbx_dundi.c:2997: error: previous definition of 'eid_str' was here pbx_dundi.c:3069: error: syntax error before 'ast_log' pbx_dundi.c:3103: error: redefinition of parameter 'x' pbx_dundi.c:2858: error: previous definition of 'x' was here pbx_dundi.c:3104: error: syntax error before 'if' pbx_dundi.c:3127: error: redefinition of parameter 'x' pbx_dundi.c:3103: error: previous definition of 'x' was here pbx_dundi.c:3127: error: redefinition of parameter 'res' pbx_dundi.c:2995: error: previous definition of 'res' was here pbx_dundi.c:3128: error: parameter 'max' is initialized pbx_dundi.c:3128: error: redefinition of parameter 'max' pbx_dundi.c:613: error: previous definition of 'max' was here pbx_dundi.c:3129: error: parameter 'expiration' is initialized pbx_dundi.c:3129: error: redefinition of parameter 'expiration' pbx_dundi.c:1146: error: previous definition of 'expiration' was here pbx_dundi.c:3130: error: parameter 'ouranswers' is initialized pbx_dundi.c:3130: error: redefinition of parameter 'ouranswers' pbx_dundi.c:612: error: previous definition of 'ouranswers' was here pbx_dundi.c:3131: error: syntax error before 'dundi_eid' pbx_dundi.c:3132: error: parameter 'direct' is initialized pbx_dundi.c:3133: error: array type has incomplete element type pbx_dundi.c:3134: error: redefinition of parameter 'hmd' pbx_dundi.c:899: error: previous definition of 'hmd' was here pbx_dundi.c:3135: error: syntax error before 'if' pbx_dundi.c:3193: error: redefinition of parameter 'x' pbx_dundi.c:3127: error: previous definition of 'x' was here pbx_dundi.c:3194: error: syntax error before 'if' pbx_dundi.c:3280: error: redefinition of parameter 'peer' pbx_dundi.c:2856: error: previous definition of 'peer' was here pbx_dundi.c:3281: error: syntax error before 'dundi_eid' pbx_dundi.c:3282: error: redefinition of parameter 'x' pbx_dundi.c:3193: error: previous definition of 'x' was here pbx_dundi.c:3284: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:3336: error: redefinition of parameter 'x' pbx_dundi.c:3282: error: previous definition of 'x' was here pbx_dundi.c:3337: error: redefinition of parameter 'eid_str' pbx_dundi.c:3068: error: previous definition of 'eid_str' was here pbx_dundi.c:3338: error: redefinition of parameter 'eid_str2' pbx_dundi.c:1528: error: previous definition of 'eid_str2' was here pbx_dundi.c:3340: error: syntax error before 'if' pbx_dundi.c:3391: error: redefinition of parameter 'x' pbx_dundi.c:3336: error: previous definition of 'x' was here pbx_dundi.c:3392: error: redefinition of parameter 'res' pbx_dundi.c:3127: error: previous definition of 'res' was here pbx_dundi.c:3395: error: redefinition of parameter 'eid_str' pbx_dundi.c:3337: error: previous definition of 'eid_str' was here pbx_dundi.c:3396: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:3450: error: parameter 'res' is initialized pbx_dundi.c:3450: error: redefinition of parameter 'res' pbx_dundi.c:3392: error: previous definition of 'res' was here pbx_dundi.c:3451: error: redefinition of parameter 'eid_str' pbx_dundi.c:3395: error: previous definition of 'eid_str' was here pbx_dundi.c:3452: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:3504: error: parameter 'res' is initialized pbx_dundi.c:3504: error: redefinition of parameter 'res' pbx_dundi.c:3450: error: previous definition of 'res' was here pbx_dundi.c:3505: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:3523: error: redefinition of parameter 'x' pbx_dundi.c:3391: error: previous definition of 'x' was here pbx_dundi.c:3524: error: syntax error before 'for' pbx_dundi.c:3537: error: syntax error before 'dundi_eid' pbx_dundi.c:3538: error: redefinition of parameter 'x' pbx_dundi.c:3523: error: previous definition of 'x' was here pbx_dundi.c:3540: error: redefinition of parameter 'ms' pbx_dundi.c:2857: error: previous definition of 'ms' was here pbx_dundi.c:3542: error: parameter 'skipped' is initialized pbx_dundi.c:3543: error: parameter 'order' is initialized pbx_dundi.c:3543: error: conflicting types for 'order' pbx_dundi.c:2398: error: previous definition of 'order' was here pbx_dundi.c:3544: error: redefinition of parameter 'eid_str' pbx_dundi.c:3451: error: previous definition of 'eid_str' was here pbx_dundi.c:3545: error: redefinition of parameter 'start' pbx_dundi.c:2336: error: previous definition of 'start' was here pbx_dundi.c:3548: error: syntax error before 'if' pbx_dundi.c:3639: error: parameter 'direct' is initialized pbx_dundi.c:3639: error: redefinition of parameter 'direct' pbx_dundi.c:3132: error: previous definition of 'direct' was here pbx_dundi.c:3640: error: parameter 'expiration' is initialized pbx_dundi.c:3640: error: redefinition of parameter 'expiration' pbx_dundi.c:3129: error: previous definition of 'expiration' was here pbx_dundi.c:3641: error: syntax error before 'memset' pbx_dundi.c:3649: error: parameter 'prev' is initialized pbx_dundi.c:3650: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:3695: error: syntax error before 'cur' pbx_dundi.c:3721: error: redefinition of parameter 'hmd' pbx_dundi.c:3134: error: previous definition of 'hmd' was here pbx_dundi.c:3722: error: array type has incomplete element type pbx_dundi.c:3723: error: redefinition of parameter 'start' pbx_dundi.c:3545: error: previous definition of 'start' was here pbx_dundi.c:3724: error: parameter 'maps' is initialized pbx_dundi.c:3724: error: redefinition of parameter 'maps' pbx_dundi.c:519: error: previous definition of 'maps' was here pbx_dundi.c:3724: error: redefinition of parameter 'cur' pbx_dundi.c:1052: error: previous definition of 'cur' was here pbx_dundi.c:3725: error: redefinition of parameter 'nummaps' pbx_dundi.c:520: error: previous definition of 'nummaps' was here pbx_dundi.c:3727: error: redefinition of parameter 'foundcache' pbx_dundi.c:3541: error: previous definition of 'foundcache' was here pbx_dundi.c:3727: error: redefinition of parameter 'skipped' pbx_dundi.c:3542: error: previous definition of 'skipped' was here pbx_dundi.c:3727: error: redefinition of parameter 'ttlms' pbx_dundi.c:3539: error: previous definition of 'ttlms' was here pbx_dundi.c:3727: error: redefinition of parameter 'ms' pbx_dundi.c:3540: error: previous definition of 'ms' was here pbx_dundi.c:3728: error: syntax error before 'if' pbx_dundi.c:3802: error: redefinition of parameter 'dr' pbx_dundi.c:3536: error: previous definition of 'dr' was here pbx_dundi.c:3803: error: syntax error before 'dundi_eid' pbx_dundi.c:3804: error: redefinition of parameter 'x' pbx_dundi.c:3538: error: previous definition of 'x' was here pbx_dundi.c:3805: error: redefinition of parameter 'ttlms' pbx_dundi.c:3727: error: previous definition of 'ttlms' was here pbx_dundi.c:3806: error: parameter 'skipped' is initialized pbx_dundi.c:3806: error: redefinition of parameter 'skipped' pbx_dundi.c:3727: error: previous definition of 'skipped' was here pbx_dundi.c:3807: error: parameter 'foundcache' is initialized pbx_dundi.c:3807: error: redefinition of parameter 'foundcache' pbx_dundi.c:3727: error: previous definition of 'foundcache' was here pbx_dundi.c:3808: error: redefinition of parameter 'start' pbx_dundi.c:3723: error: previous definition of 'start' was here pbx_dundi.c:3810: error: syntax error before 'ttlms' pbx_dundi.c:3849: error: redefinition of parameter 'hmd' pbx_dundi.c:3721: error: previous definition of 'hmd' was here pbx_dundi.c:3850: error: syntax error before 'memset' pbx_dundi.c:3860: error: redefinition of parameter 'context' pbx_dundi.c:2360: error: previous definition of 'context' was here pbx_dundi.c:3863: error: redefinition of parameter 'x' pbx_dundi.c:3804: error: previous definition of 'x' was here pbx_dundi.c:3864: error: parameter 'bypass' is initialized pbx_dundi.c:3864: error: redefinition of parameter 'bypass' pbx_dundi.c:2297: error: previous definition of 'bypass' was here pbx_dundi.c:3866: error: array type has incomplete element type pbx_dundi.c:3867: error: storage class specified for parameter 'dep_warning' pbx_dundi.c:3867: error: parameter 'dep_warning' is initialized pbx_dundi.c:3869: error: syntax error before 'LOCAL_USER_ADD' pbx_dundi.c:3926: error: redefinition of parameter 'context' pbx_dundi.c:3860: error: previous definition of 'context' was here pbx_dundi.c:3927: error: redefinition of parameter 'opts' pbx_dundi.c:3861: error: previous definition of 'opts' was here pbx_dundi.c:3928: error: redefinition of parameter 'results' pbx_dundi.c:3862: error: previous definition of 'results' was here pbx_dundi.c:3929: error: redefinition of parameter 'x' pbx_dundi.c:3863: error: previous definition of 'x' was here pbx_dundi.c:3930: error: parameter 'bypass' is initialized pbx_dundi.c:3930: error: redefinition of parameter 'bypass' pbx_dundi.c:3864: error: previous definition of 'bypass' was here pbx_dundi.c:3931: error: redefinition of parameter 'u' pbx_dundi.c:3865: error: previous definition of 'u' was here pbx_dundi.c:3932: error: array type has incomplete element type pbx_dundi.c:3934: error: syntax error before 'LOCAL_USER_ACF_ADD' pbx_dundi.c:4001: error: storage class specified for parameter 'mark_peers' pbx_dundi.c:4001: error: syntax error before '{' token pbx_dundi.c:4124: error: redefinition of parameter 'x' pbx_dundi.c:3929: error: previous definition of 'x' was here pbx_dundi.c:4125: error: redefinition of parameter 'y' pbx_dundi.c:1519: error: previous definition of 'y' was here pbx_dundi.c:4126: error: syntax error before 't' pbx_dundi.c:4199: error: parameter 'peer' is initialized pbx_dundi.c:4199: error: redefinition of parameter 'peer' pbx_dundi.c:3280: error: previous definition of 'peer' was here pbx_dundi.c:4200: error: redefinition of parameter 'eid_str' pbx_dundi.c:3544: error: previous definition of 'eid_str' was here pbx_dundi.c:4201: error: redefinition of parameter 'eid_str2' pbx_dundi.c:3338: error: previous definition of 'eid_str2' was here pbx_dundi.c:4203: error: syntax error before 'ast_log' pbx_dundi.c:4262: error: redefinition of parameter 'eid_str' pbx_dundi.c:4200: error: previous definition of 'eid_str' was here pbx_dundi.c:4263: error: syntax error before 'dundi_eid_to_str' pbx_dundi.c:4286: error: syntax error before 'dundi_eid' pbx_dundi.c:4287: error: parameter 'needregister' is initialized pbx_dundi.c:4288: error: redefinition of parameter 'eid_str' pbx_dundi.c:4262: error: previous definition of 'eid_str' was here pbx_dundi.c:4290: error: syntax error before 'ast_mutex_lock' pbx_dundi.c:4440: error: redefinition of parameter 'res' pbx_dundi.c:3504: error: previous definition of 'res' was here pbx_dundi.c:4441: error: redefinition of parameter 'x' pbx_dundi.c:4124: error: previous definition of 'x' was here pbx_dundi.c:4442: error: parameter 'found' is initialized pbx_dundi.c:4443: error: syntax error before 'if' pbx_dundi.c:4489: error: redefinition of parameter 'res' pbx_dundi.c:4440: error: previous definition of 'res' was here pbx_dundi.c:4490: error: parameter 'x' is initialized pbx_dundi.c:4490: error: redefinition of parameter 'x' pbx_dundi.c:4441: error: previous definition of 'x' was here pbx_dundi.c:4494: error: syntax error before 'if' pbx_dundi.c:4554: error: storage class specified for parameter 'set_config' pbx_dundi.c:4554: error: syntax error before '{' token pbx_dundi.c:4559: error: redefinition of parameter 'x' pbx_dundi.c:4490: error: previous definition of 'x' was here pbx_dundi.c:4560: error: 'MAXHOSTNAMELEN' undeclared (first use in this function) pbx_dundi.c:4560: error: parameter 'hn' is initialized pbx_dundi.c:4561: error: redefinition of parameter 'he' pbx_dundi.c:4284: error: previous definition of 'he' was here pbx_dundi.c:4562: error: redefinition of parameter 'hp' pbx_dundi.c:4285: error: previous definition of 'hp' was here pbx_dundi.c:4564: error: storage class specified for parameter 'last_port' pbx_dundi.c:4564: error: parameter 'last_port' is initialized pbx_dundi.c:4565: error: parameter 'globalpcmodel' is initialized pbx_dundi.c:4566: error: syntax error before 'dundi_eid' pbx_dundi.c:4601: error: redefinition of parameter 'he' pbx_dundi.c:4561: error: previous definition of 'he' was here pbx_dundi.c:4602: error: syntax error before 'hp' pbx_dundi.c:4744: error: redefinition of parameter 'iabuf' pbx_dundi.c:2970: error: previous definition of 'iabuf' was here pbx_dundi.c:4746: error: syntax error before 'dundi_set_output' make: *** [pbx_dundi.o] Error 1