=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wide-dhcpv6", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for wide-dhcpv6-20080615nb1 --- dhcp6c.o --- --- common.o --- --- dhcp6c.o --- clang -pipe -Os -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DINET6=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETIFADDRS=1 -DHAVE_IF_NAMETOINDEX=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_DAEMON=1 -DHAVE_WARNX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_SIG_ATOMIC_T=1 -DGETPGRP_VOID=1 -DSETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_ARC4RANDOM=1 -DHAVE_TAILQ_FOREACH_REVERSE_OLD=1 -DHAVE_SA_LEN=1 -DHAVE_STDARG_H=1 -DSYSCONFDIR=\"/opt/pkg/etc\" -DLOCALDBDIR=\"/var/db\" -c dhcp6c.c --- common.o --- clang -pipe -Os -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DYYTEXT_POINTER=1 -DINET6=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETIFADDRS=1 -DHAVE_IF_NAMETOINDEX=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_DAEMON=1 -DHAVE_WARNX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_SIG_ATOMIC_T=1 -DGETPGRP_VOID=1 -DSETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_ARC4RANDOM=1 -DHAVE_TAILQ_FOREACH_REVERSE_OLD=1 -DHAVE_SA_LEN=1 -DHAVE_STDARG_H=1 -DSYSCONFDIR=\"/opt/pkg/etc\" -DLOCALDBDIR=\"/var/db\" -c common.c --- dhcp6c.o --- dhcp6c.c:229:7: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations] 229 | if (daemon(0, 0) < 0) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:319:6: note: 'daemon' has been explicitly marked deprecated here 319 | int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED; | ^ dhcp6c.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | main(argc, argv) | ^ --- common.o --- common.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | dhcp6_copy_list(dst, src) | ^ common.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | dhcp6_move_list(dst, src) | ^ --- dhcp6c.o --- dhcp6c.c:305:37: error: use of undeclared identifier 'IPV6_PKTINFO' 305 | if (setsockopt(sock, IPPROTO_IPV6, IPV6_PKTINFO, &on, | ^ --- common.o --- common.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | dhcp6_clear_list(head) | ^ common.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | dhcp6_count_list(head) | ^ --- dhcp6c.o --- dhcp6c.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | client6_start(ifp) | ^ --- common.o --- common.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | dhcp6_clear_listval(lv) | ^ --- dhcp6c.o --- dhcp6c.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | client6_startall(isrestart) | ^ --- common.o --- common.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- dhcp6c.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | free_resources(freeifp) | ^ --- common.o --- 195 | dhcp6_find_listval(head, type, val, option) | ^ --- dhcp6c.o --- dhcp6c.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | get_val32(bpp, lenp, valp) | ^ dhcp6c.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- common.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- 582 | get_ifname(bpp, lenp, ifbuf, ifbuflen) | ^ --- common.o --- 260 | dhcp6_add_listval(head, type, val, sublist) | ^ --- dhcp6c.o --- dhcp6c.c:599:26: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess] 599 | memset(ifbuf, 0, sizeof(ifbuf)); | ~~~~~ ^~~~~ dhcp6c.c:599:26: note: did you mean to provide an explicit length? 599 | memset(ifbuf, 0, sizeof(ifbuf)); | ^~~~~ dhcp6c.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | client6_do_ctlcommand(buf, len) | ^ --- common.o --- common.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | dhcp6_vbuf_copy(dst, src) | ^ common.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | dhcp6_vbuf_free(vbuf) | ^ common.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- dhcp6c.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | client6_ifctl(ifname, command) | ^ --- common.o --- 345 | dhcp6_vbuf_cmp(vb1, vb2) | ^ --- dhcp6c.o --- dhcp6c.c:750:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 750 | u_int16_t command; | ^ dhcp6c.c:121:54: note: previous declaration is here 121 | static int client6_ifctl __P((char *ifname, u_int16_t)); | ^ --- common.o --- common.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- dhcp6c.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- 355 | dhcp6_get_addr(optlen, cp, type, list) | ^ --- dhcp6c.o --- 790 | client6_expire_refreshtime(arg) | ^ dhcp6c.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | client6_timo(arg) | ^ --- common.o --- common.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | dhcp6_set_addr(type, list, p, optep, len) | ^ --- dhcp6c.o --- dhcp6c.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | construct_confdata(ifp, ev) | ^ --- common.o --- common.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | dhcp6_get_domain(optlen, cp, type, list) | ^ --- dhcp6c.o --- dhcp6c.c:932:25: warning: 'memset' call operates on objects of type 'struct dhcp6_eventdata' while the size is based on a different type 'struct dhcp6_eventdata *' [-Wsizeof-pointer-memaccess] 932 | memset(evd, 0, sizeof(evd)); | ~~~ ^~~ dhcp6c.c:932:25: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? --- common.o --- common.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- 932 | memset(evd, 0, sizeof(evd)); | ^~~ dhcp6c.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- 465 | dhcp6_set_domain(type, list, p, optep, len) | ^ --- dhcp6c.o --- 998 | construct_reqdata(ifp, optinfo, ev) | ^ --- common.o --- common.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | dhcp6_create_event(ifp, state) | ^ --- dhcp6c.o --- dhcp6c.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | destruct_iadata(evd) | ^ dhcp6c.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- common.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- 1110 | select_server(ev) | ^ --- common.o --- 546 | dhcp6_remove_event(ev) | ^ --- dhcp6c.o --- dhcp6c.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | client6_signal(sig) | ^ dhcp6c.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | client6_send(ev) | ^ --- common.o --- common.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | dhcp6_remove_evdata(ev) | ^ common.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | new_authparam(proto, alg, rdm) | ^ --- dhcp6c.o --- dhcp6c.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | tv_sub(a, b, result) | ^ --- common.o --- common.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | copy_authparam(authparam) | ^ common.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | dhcp6_auth_replaycheck(method, prev, current) | ^ common.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | getifaddr(addr, ifnam, prefix, plen, strong, ignoreflags) | ^ common.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | getifidfromaddr(addr, ifidp) | ^ --- dhcp6c.o --- dhcp6c.c:1423:24: error: use of undeclared identifier 'IPV6_PKTINFO' 1423 | cm->cmsg_type == IPV6_PKTINFO && | ^ --- common.o --- common.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | in6_addrscopebyif(addr, ifnam) | ^ --- dhcp6c.o --- dhcp6c.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | client6_recvadvert(ifp, dh6, len, optinfo) | ^ --- common.o --- common.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | transmit_sa(s, sa, buf, len) | ^ common.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | random_between(x, y) | ^ common.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | prefix6_mask(in6, plen) | ^ --- dhcp6c.o --- dhcp6c.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | find_server(ev, duid) | ^ --- common.o --- common.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | sa6_plen2mask(sa6, plen) | ^ --- dhcp6c.o --- dhcp6c.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | client6_recvreply(ifp, dh6, len, optinfo) | ^ --- common.o --- common.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | addr2str(sa) | ^ common.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | in6addr2str(in6, scopeid) | ^ common.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dhcp6c.o --- dhcp6c.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- 923 | in6_scope(addr) | ^ --- dhcp6c.o --- 1916 | find_event_withid(ifp, xid) | ^ dhcp6c.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | process_auth(authparam, dh6, len, optinfo) | ^ --- common.o --- common.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | in6_matchflags(addr, ifnam, flags) | ^ --- dhcp6c.o --- dhcp6c.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | set_auth(ev, optinfo) | ^ --- common.o --- common.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | get_duid(idfile, duid) | ^ --- dhcp6c.o --- 27 warnings and 2 errors generated. --- common.o --- common.c:1220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | gethwid(buf, len, ifname, hwtypep) | ^ common.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | dhcp6_init_options(optinfo) | ^ common.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | dhcp6_clear_options(optinfo) | ^ common.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | dhcp6_copy_options(dst, src) | ^ common.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | dhcp6_get_options(p, ep, optinfo) | ^ --- dhcp6c.o --- *** [dhcp6c.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/wide-dhcpv6/work/wide-dhcpv6-20080615 --- common.o --- common.c:1895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1895 | dnsdecode(sp, ep, buf, bufsiz) | ^ common.c:1945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1945 | copyin_option(type, p, ep, list) | ^ common.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | sprint_uint64(buf, buflen, i64) | ^ common.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | sprint_auth(optinfo) | ^ common.c:2215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | copy_option(type, len, val, optp, ep, totallenp) | ^ common.c:2216:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 2216 | u_int16_t type, len; | ^ common.c:111:38: note: previous declaration is here 111 | static int copy_option __P((u_int16_t, u_int16_t, void *, struct dhcp6opt **, | ^ common.c:2216:18: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 2216 | u_int16_t type, len; | ^ common.c:111:49: note: previous declaration is here 111 | static int copy_option __P((u_int16_t, u_int16_t, void *, struct dhcp6opt **, | ^ common.c:2242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2242 | dhcp6_set_options(type, optbp, optep, optinfo) | ^ common.c:2570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2570 | dnsencode(name, buf, buflen) | ^ common.c:2638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2638 | copyout_option(p, ep, optval) | ^ common.c:2779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | dhcp6_set_timeoparam(ev) | ^ common.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | dhcp6_reset_timer(ev) | ^ common.c:2879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2879 | duidcpy(dd, ds) | ^ common.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | duidcmp(d1, d2) | ^ common.c:2903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2903 | duidfree(duid) | ^ common.c:2918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | get_rdvalue(rdm, rdvalue, rdsize) | ^ common.c:2974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2974 | dhcp6optstr(type) | ^ common.c:3062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3062 | dhcp6msgstr(type) | ^ common.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3104 | dhcp6_stcodestr(code) | ^ common.c:3105:12: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_int16_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 3105 | u_int16_t code; | ^ ./common.h:172:44: note: previous declaration is here 172 | extern char *dhcp6_stcodestr __P((u_int16_t)); | ^ common.c:3134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | duidstr(duid) | ^ common.c:3156:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3156 | char *dhcp6_event_statestr(ev) | ^ common.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | setloglevel(debuglevel) | ^ common.c:3244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3244 | ifaddrconf(cmd, ifname, addr, plen, pltime, vltime) | ^ common.c:3352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3352 | safefile(path) | ^ 62 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/wide-dhcpv6/work/wide-dhcpv6-20080615 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wide-dhcpv6 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/wide-dhcpv6