===> Building for smtpfeed-1.23nb1 gcc -DINET6 -pipe -Os -I/opt/pkg/include -c address.c address.c:72:20: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ha->name = newstr(name); ^ address.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addmyalias(name) ^ In file included from address.c:43: ./extern.h:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int addmyalias(); ^ address.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] isamyalias(name) ^ In file included from address.c:43: ./extern.h:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int isamyalias(); ^ address.c:108:27: warning: passing arguments to 'hash_host_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hostp = hash_host_lookup(mxp->name, &hashp); ^ address.c:132:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hostp->name = newstr(mxp->name); ^ address.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addinetaddress(mxp, inet_domain, len, addr) ^ In file included from address.c:43: ./extern.h:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int addinetaddress(); ^ address.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_address(str, err, addr, dom) ^ In file included from address.c:43: ./extern.h:42:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *parse_address(); ^ address.c:475:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->address = newstr(addr); ^ address.c:482:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->notify = newstr(notify); ^ address.c:488:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->orcpt = newstr(orcpt); ^ address.c:493:24: warning: passing arguments to 'hash_domain_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] d = hash_domain_lookup(domain, &hashp); ^ address.c:500:30: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->domain->name = newstr(domain); ^ address.c:503:49: warning: passing arguments to 'hash_domain_rcpts_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->domain->rcpts = hash_domain_rcpts_lookup(domain); ^ address.c:514:42: warning: passing arguments to 'host_map_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rcpt->domain->map_arg = host_map_lookup(rcpt->domain->name); ^ address.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addrecipient(addr, domain, notify, orcpt) ^ In file included from address.c:43: ./extern.h:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int addrecipient(); ^ address.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dnsstatus(rcpt, rcode, response) ^ address.c:573:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ address.c:584:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ address.c:591:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ address.c:598:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ address.c:605:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ address.c:613:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] dnsstatus(rcpt, rcpt->result, rcpt->response); ^~~~~~~~~~~~~~ 27 warnings generated. gcc -DINET6 -pipe -Os -I/opt/pkg/include -c dns.c dns.c:52:2: error: unknown type name 'HEADER' HEADER qb1; ^ dns.c:141:35: error: use of undeclared identifier 'T_A' if (query_domain(cnf.pgateway, T_A) < 0) ^ dns.c:147:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (query_domain(cnf.pgateway, T_AAAA) < 0) ^ dns.c:165:37: error: use of undeclared identifier 'T_A' if (query_domain(cnf.fallbackmx, T_A) < 0) ^ dns.c:171:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (query_domain(cnf.fallbackmx, T_AAAA) < 0) ^ dns.c:206:26: error: use of undeclared identifier 'T_A' if (query_domain(p, T_A) < 0) ^ dns.c:212:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (query_domain(p, T_AAAA) < 0) ^ dns.c:260:32: error: use of undeclared identifier 'T_MX' if (query_domain(dp->name, T_MX) < 0) ^ dns.c:272:33: error: use of undeclared identifier 'T_A' if (query_domain(dp->name, T_A) < 0) ^ dns.c:279:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (query_domain(dp->name, T_AAAA) < 0) ^ dns.c:289:32: error: use of undeclared identifier 'T_MX' if (query_domain(*map_arg, T_MX) < 0) ^ dns.c:315:9: error: use of undeclared identifier 'T_A' T_A) < 0) ^ dns.c:325:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (query_domain((*map_arg) + 1, ^ dns.c:350:20: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (process_query(1) < 0) /* sync */ ^ dns.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pregetmx(dl) ^ In file included from dns.c:43: ./extern.h:53:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int pregetmx(); ^ dns.c:370:25: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qrp = hash_query_lookup(name, &hashp); ^ dns.c:379:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qrp->name = newstr(name); ^ dns.c:385:9: error: use of undeclared identifier 'T_MX' case T_MX: ^ dns.c:386:9: error: use of undeclared identifier 'T_A' case T_A: ^ dns.c:394:12: warning: passing arguments to 'make_query' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_query(qrp, type); ^ dns.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] query_domain(name, type) ^ dns.c:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int query_domain(), process_query(); ^ dns.c:400:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static query_chain_count = 0; ~~~~~~ ^ int dns.c:413:9: error: use of undeclared identifier 'T_MX' case T_MX: ^ dns.c:416:9: error: use of undeclared identifier 'T_A' case T_A: ^ dns.c:440:33: error: use of undeclared identifier 'T_MX' if (cnf.tryANYfirst && type == T_MX && (qrp->rr_sent & RR_ANY) == 0) ^ dns.c:442:10: error: use of undeclared identifier 'T_ANY' type = T_ANY; ^ dns.c:459:18: error: use of undeclared identifier 'QUERY' n = res_mkquery(QUERY, qrp->name, C_IN, type, NULL, 0, NULL, ^ dns.c:459:36: error: use of undeclared identifier 'C_IN' n = res_mkquery(QUERY, qrp->name, C_IN, type, NULL, 0, NULL, ^ dns.c:523:19: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (process_query(0) < 0) ^ dns.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_query(qrp, type) ^ dns.c:91:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int make_query(); ^ dns.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] whichserver(inp) ^ dns.c:597:9: error: use of undeclared identifier 'HEADER' HEADER *qp, *hp; ^ dns.c:597:17: error: use of undeclared identifier 'qp' HEADER *qp, *hp; ^ dns.c:597:22: error: use of undeclared identifier 'hp' HEADER *qp, *hp; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 18 warnings and 20 errors generated. *** [dns.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/mail/smtpfeed/work/smtpfeed-1.23 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/mail/smtpfeed/work/smtpfeed-1.23 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/smtpfeed *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/smtpfeed