===> Building for nagios-plugin-dnsrbl-0.4 clang -pipe -Os -c check_dnsrbl.c check_dnsrbl.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic(msg) ^ check_dnsrbl.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_addrlist(alp) ^ check_dnsrbl.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(name) ^ check_dnsrbl.c:197: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_options(argc, argv) ^ check_dnsrbl.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rev_addr(alp, mtx, addr) ^ check_dnsrbl.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_dnsrbl(file) ^ check_dnsrbl.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load_addr(alp, mtx, addrs) ^ check_dnsrbl.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rev_dns(alp, mtx, name) ^ check_dnsrbl.c:478:28: error: use of undeclared identifier 'NS_MAXMSG' unsigned char ans4[NS_MAXMSG + 1]; ^ check_dnsrbl.c:481:28: error: use of undeclared identifier 'NS_MAXMSG' unsigned char ans6[NS_MAXMSG + 1]; ^ check_dnsrbl.c:488:34: error: use of undeclared identifier 'C_IN' anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1); ^ check_dnsrbl.c:488:40: error: use of undeclared identifier 'T_A' anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1); ^ check_dnsrbl.c:488:51: error: use of undeclared identifier 'NS_MAXMSG' anslen4 = res_nquery(res, name, C_IN, T_A, ans4, NS_MAXMSG + 1); ^ check_dnsrbl.c:501:41: error: use of undeclared identifier 'T_A' if ((rr.rdlength != 4) ||(rr.type != T_A)) ^ check_dnsrbl.c:525:34: error: use of undeclared identifier 'C_IN' anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1); ^ check_dnsrbl.c:525:40: error: use of undeclared identifier 'T_AAAA' anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1); ^ check_dnsrbl.c:525:54: error: use of undeclared identifier 'NS_MAXMSG' anslen6 = res_nquery(res, name, C_IN, T_AAAA, ans6, NS_MAXMSG + 1); ^ check_dnsrbl.c:539:43: error: use of undeclared identifier 'T_AAAA' if ((rr.rdlength != 16) || (rr.type != T_AAAA)) ^ check_dnsrbl.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_dnsrbl(revaddr, d, alp, mtx, wait_cond, retval, count) ^ check_dnsrbl.c:620:28: error: use of undeclared identifier 'NS_MAXMSG' unsigned char ans4[NS_MAXMSG + 1]; ^ check_dnsrbl.c:647:39: error: use of undeclared identifier 'C_IN' anslen4 = res_nquery(res, queryname, C_IN, T_A, ^ check_dnsrbl.c:647:45: error: use of undeclared identifier 'T_A' anslen4 = res_nquery(res, queryname, C_IN, T_A, ^ check_dnsrbl.c:648:15: error: use of undeclared identifier 'NS_MAXMSG' ans4, NS_MAXMSG + 1); ^ check_dnsrbl.c:669:41: error: use of undeclared identifier 'T_A' if ((rr.rdlength != 4) ||(rr.type != T_A)) ^ check_dnsrbl.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_subnet(addr, subnet, maskint) ^ check_dnsrbl.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 11 warnings and 15 errors generated. *** [check_dnsrbl.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/net/nagios-plugin-dnsrbl/work/check_dnsrbl-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/nagios-plugin-dnsrbl