+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xipdump-1.5.4nb5/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xipdump-1.5.4nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xipdump-1.5.4nb5 gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_alloc.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_arr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_arr_char.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_assoc.c mg_assoc.c: In function 'assoc_str_int_from_right': mg_assoc.c:68:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 68 | if ((int)(assoc->right) == right) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_bit.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_buf.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_dict.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_dict_int.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_dict_str.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_dm.c mg_dm.c: In function 'dm_unregister_ptr': mg_dm.c:118:8: warning: implicit declaration of function 'gmatch' [-Wimplicit-function-declaration] 118 | if (!gmatch(dme->comment2,comment2)) | ^~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_dyn_str.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_err.c mg_err.c: In function 'err_init': mg_err.c:63:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 63 | (VOID_PTR)(ERR_MG_START + i), | ^ mg_err.c: In function 'err_msg': mg_err.c:88:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 88 | (VOID_PTR)errcode)) == NULL) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_hash.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_id.c mg_id.c: In function 'id_add_with_unique_positive_int_key': mg_id.c:393:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 393 | while (id_get(id,(VOID_PTR)base_key)) | ^ mg_id.c:401:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 401 | (VOID_PTR)base_key, | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_id_ptr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_id_str.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_int.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_mask.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_misc.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_parse.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_printf.c mg_printf.c: In function 'my_printf_char': mg_printf.c:21:7: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 21 | if (iscntrl(ch) && ch != '\n' && ch != '\t') | ^~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_stack.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_str.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_sysdep.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_vec.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_vec_buf.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_vec_int.c mg_vec_int.c: In function 'vec_int_average': mg_vec_int.c:23:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 23 | average += (int)p; | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_vec_ptr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_vec_str.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c mg_opt.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c gdm.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c gmatch.c gmatch.c: In function 'gmatch': gmatch.c:42:12: warning: implicit declaration of function 'glob_match'; did you mean 'gmatch'? [-Wimplicit-function-declaration] 42 | return (glob_match(pattern,text,0,GMATCH_SENSITIVE)); | ^~~~~~~~~~ | gmatch gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c snprintf.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_16.c In file included from pat_16.c:11: pat_16.c: In function 'safe_ntohs': pat_16.h:15:22: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 15 | #define UNSAFE_NTOHS ntohs | ^~~~~ pat_16.c:77:11: note: in expansion of macro 'UNSAFE_NTOHS' 77 | return (UNSAFE_NTOHS(a_u16)); | ^~~~~~~~~~~~ pat_16.c: In function 'safe_htons': pat_16.h:16:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 16 | #define UNSAFE_HTONS htons | ^~~~~ pat_16.c:84:11: note: in expansion of macro 'UNSAFE_HTONS' 84 | a_u16 = UNSAFE_HTONS(a_u16); | ^~~~~~~~~~~~ pat_16.c: In function 'nu16assoc_pat_insert': pat_16.c:391:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 391 | u16 = (t_u16)(t_u32)(assoc->right); | ^ pat_16.c: In function 'nu16bitfieldassoc_pat_insert': pat_16.c:735:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 735 | u16value = (t_u16)(t_u32)(assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_32.c In file included from pat_32.c:11: pat_32.c: In function 'safe_ntohl': pat_32.h:15:22: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] 15 | #define UNSAFE_NTOHL ntohl | ^~~~~ pat_32.c:60:11: note: in expansion of macro 'UNSAFE_NTOHL' 60 | return (UNSAFE_NTOHL(a_u32)); | ^~~~~~~~~~~~ pat_32.c: In function 'safe_htonl': pat_32.h:16:22: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] 16 | #define UNSAFE_HTONL htonl | ^~~~~ pat_32.c:67:11: note: in expansion of macro 'UNSAFE_HTONL' 67 | a_u32 = UNSAFE_HTONL(a_u32); | ^~~~~~~~~~~~ pat_32.c: In function 'nu32assoc_pat_insert': pat_32.c:314:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 314 | u32 = (t_u32)(t_u32)(assoc->right); | ^ pat_32.c: In function 'u32assoc_pat_insert': pat_32.c:404:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 404 | u32 = (t_u32)(t_u32)(assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_8.c pat_8.c: In function 'ascii_pat_insert': pat_8.c:182:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 182 | c = (t_u8)(t_u32)(assoc->right); | ^ pat_8.c: In function 'u8assoc_pat_insert': pat_8.c:425:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 425 | c = (t_u8)(t_u32)(assoc->right); | ^ pat_8.c: In function 'u8bitfieldassoc_pat_insert': pat_8.c:619:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 619 | u8value = (t_u8)(t_u32)(assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_arp.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_boolean.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_bootp.c pat_bootp.c: In function 'rfc2132opt_pat_get_tmpl': pat_bootp.c:743:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 743 | i = (int)(he->value); | ^ pat_bootp.c:753:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 753 | (VOID_PTR)(++i))) != 0) | ^ pat_bootp.c: In function 'rfc2132opt_pat_has_opt': pat_bootp.c:778:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 778 | if (tag == (int)(assoc->left)) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_buf.c pat_buf.c: In function 'buf_pat_extract': pat_buf.c:24:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 24 | if ((ulen = (int)(data)) == 0) | ^ pat_buf.c: In function 'buf_pat_insert': pat_buf.c:44:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 44 | if ((ulen = (int)(data)) == 0) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_bytebuf.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_data.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_dns.c pat_dns.c: In function 'dnsqtype_pat_sub': pat_dns.c:255:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 255 | nquestions = (int)(he->value); | ^ pat_dns.c:264:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 264 | (VOID_PTR)nquestions)) != 0) | ^ pat_dns.c: In function 'dns_pat_sub': pat_dns.c:725:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 725 | (VOID_PTR)((t_u32)(safe_ntohs(&dns->nquestions))))) != 0) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_ethaddr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_ether.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_icmp.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_icmpcode.c pat_icmpcode.c: In function 'icmpcode_get_assocs_from_type': pat_icmpcode.c:73:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 73 | if ((int)(icmpcode_assocs[i].left) == type) | ^ pat_icmpcode.c: In function 'icmpcode_from_str': pat_icmpcode.c:131:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | buf[1] = (t_u8)(t_u32)(assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_ieee802.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_igmp.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_inaddr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_ip.c pat_ip.c: In function 'ipopt_pat_get_tmpl': pat_ip.c:596:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 596 | i = (int)(he->value); | ^ pat_ip.c:606:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 606 | (VOID_PTR)(++i))) != 0) | ^ pat_ip.c: In function 'ip_pat_sub': pat_ip.c:1113:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1113 | (VOID_PTR)inaddr)) != 0) | ^ pat_ip.c:1118:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1118 | (VOID_PTR)inaddr)) != 0) | ^ pat_ip.c:1144:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1144 | (VOID_PTR)(t_u32)p)) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_ipproto.c pat_ipproto.c: In function 'proto_from_str': pat_ipproto.c:63:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | return ((int)assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_mac.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_null.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_pad.c pat_pad.c: In function 'pad_format': pat_pad.c:76:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 76 | (VOID_PTR)i, | ^ pat_pad.c: In function 'pad_pat_get_tmpl': pat_pad.c:95:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 95 | i = (int)(he->value); | ^ pat_pad.c:105:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 105 | (VOID_PTR)(++i))) != 0) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_pat.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_port.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_rip.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_rpc.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_rpcnum.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_seqack.c pat_seqack.c: In function 'seqack_pat_extract': pat_seqack.c:36:9: warning: implicit declaration of function 'safe_ntohl' [-Wimplicit-function-declaration] 36 | seq = safe_ntohl(&sa->seq); /* alignment */ | ^~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_shortbuf.c In file included from pat_shortbuf.c:12: pat_shortbuf.c: In function 'shortbuf_pat_extract': pat_16.h:15:22: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 15 | #define UNSAFE_NTOHS ntohs | ^~~~~ pat_shortbuf.c:72:12: note: in expansion of macro 'UNSAFE_NTOHS' 72 | my_len = UNSAFE_NTOHS(my_len); | ^~~~~~~~~~~~ pat_shortbuf.c: In function 'shortbuf_pat_insert': pat_16.h:16:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 16 | #define UNSAFE_HTONS htons | ^~~~~ pat_shortbuf.c:100:12: note: in expansion of macro 'UNSAFE_HTONS' 100 | my_len = UNSAFE_HTONS((t_u16)ilen); | ^~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_subnet.c pat_subnet.c: In function 'subnet_from_str': pat_subnet.c:67:25: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] 67 | subnet->addr.s_addr = inet_addr(safe_str); | ^~~~~~~~~ pat_subnet.c: In function 'subnet_to_str': pat_subnet.c:150:17: warning: implicit declaration of function 'inaddr_to_str'; did you mean 'mask_to_str'? [-Wimplicit-function-declaration] 150 | if ((status = inaddr_to_str(&(subnet->addr), | ^~~~~~~~~~~~~ | mask_to_str pat_subnet.c: In function 'subnet_show': pat_subnet.c:290:30: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] 290 | fprintf(stderr,"addr=%s\n",inet_ntoa(subnet->addr)); | ^~~~~~~~~ pat_subnet.c: In function 'subnet_pat_extract': pat_subnet.c:313:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 313 | (int)(data))); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_sz.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_tcp.c pat_tcp.c: In function 'tcpopt_pat_get_tmpl': pat_tcp.c:444:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 444 | i = (int)(he->value); | ^ pat_tcp.c:454:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 454 | (VOID_PTR)(++i))) != 0) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_tftp.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_time.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_tr.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat_udp.c pat_udp.c: In function 'udp_set_ulen': pat_udp.c:152:12: warning: type of 'ulen' defaults to 'int' [-Wimplicit-int] 152 | VOID_FUNC udp_set_ulen(udp,ulen) | ^~~~~~~~~~~~ pat_udp.c: In function 'udp_pat_sub': pat_udp.c:360:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 360 | (VOID_PTR)(t_u32)dport)) | ^ pat_udp.c:367:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 367 | (VOID_PTR)(t_u32)sport)) | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pat.c pat.c: In function 'pat_init': pat.c:29:14: warning: implicit declaration of function 'gmt2local' [-Wimplicit-function-declaration] 29 | pat_zone = gmt2local(0); | ^~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c patdef.c patdef.c: In function 'itmpl_format': patdef.c:52:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | (VOID_PTR)i, | ^ patdef.c: In function 'pat_name_generic': patdef.c:132:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 132 | i = (int)(he->value); | ^ patdef.c:143:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 143 | (VOID_PTR)(++i))) != 0) | ^ patdef.c: In function 'pat_get_itmpl_generic': patdef.c:253:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 253 | i = (int)(he->value); | ^ patdef.c:263:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 263 | (VOID_PTR)(++i))) != 0) | ^ patdef.c: In function 'pat_get_itmpl2_generic': patdef.c:289:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 289 | i = (int)(he->value); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c nbgethost.c nbgethost.c: In function 'nbgethostbyname': nbgethost.c:111:7: warning: implicit declaration of function 'signal' [-Wimplicit-function-declaration] 111 | signal(SIGALRM,sigalrm); | ^~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pkt.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pktio.c pktio.c: In function 'pkt_write': pktio.c:37:23: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] 37 | pkt_io.patnamelen = htonl(patnamelen); | ^~~~~ pktio.c: In function 'pkt_read': pktio.c:105:16: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] 105 | patnamelen = ntohl(pkt_io.patnamelen); | ^~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c pktsav.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c paterr.c paterr.c: In function 'err_pat_init': paterr.c:76:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 76 | (VOID_PTR)(ERR_PAT_START + i), | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c gmt2local.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Xmg.c Xmg.c: In function 'XmgInit': Xmg.c:113:3: warning: implicit declaration of function 'XmgRegisterConverters'; did you mean 'XtRegisterCaseConverter'? [-Wimplicit-function-declaration] 113 | XmgRegisterConverters(); | ^~~~~~~~~~~~~~~~~~~~~ | XtRegisterCaseConverter gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgAction.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgCvt.c XmgCvt.c: In function 'XmgCvtStringToGC': XmgCvt.c:228:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 228 | xgcv.function = (int)(assoc->right); | ^ XmgCvt.c:299:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 299 | xgcv.line_style = (int)(assoc->right); | ^ XmgCvt.c:313:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 313 | xgcv.cap_style = (int)(assoc->right); | ^ XmgCvt.c:327:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 327 | xgcv.join_style = (int)(assoc->right); | ^ XmgCvt.c:341:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | xgcv.fill_style = (int)(assoc->right); | ^ XmgCvt.c:355:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 355 | xgcv.fill_rule = (int)(assoc->right); | ^ XmgCvt.c:369:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 369 | xgcv.arc_mode = (int)(assoc->right); | ^ XmgCvt.c:515:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 515 | xgcv.subwindow_mode = (int)(assoc->right); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgDict.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgErr.c XmgErr.c: In function 'err_xmg_init': XmgErr.c:40:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 40 | (VOID_PTR)(ERR_XMG_START + i), | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgFancy.c In file included from XmgFancy.c:20: XmgFancy.c: In function 'xmgFancyViewSource': XmgMacro.h:62:6: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 62 | XmgMacroNothing( XmgMacroNothing( | ^~~~~~~~~~~~~~~ XmgFancy.c:4714:10: note: in expansion of macro 'END' 4714 | END), | ^~~ XmgFancy.c:4718:7: warning: implicit declaration of function 'XmgSetDestroyOnDelete' [-Wimplicit-function-declaration] 4718 | XmgSetDestroyOnDelete(shell); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgFileGet.c XmgFileGet.c: In function 'XmgFileGetSelectCallback': XmgFileGet.c:45:7: warning: implicit declaration of function 'XmgErrPrint' [-Wimplicit-function-declaration] 45 | XmgErrPrint(toplevel,status,"str_cat_str"); | ^~~~~~~~~~~ In file included from XmgFileGet.c:15: XmgFileGet.c: In function 'XmgFileGet': XmgMacro.h:73:17: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 73 | #define DONE XmgMacroNothing( NULL | ^~~~~~~~~~~~~~~ XmgMacro.h:77:24: note: in expansion of macro 'DONE' 77 | (XtPointer)(Dat)),DONE | ^~~~ XmgFileGet.c:87:5: note: in expansion of macro 'CALLBACK' 87 | CALLBACK(XtNselectCallback, | ^~~~~~~~ XmgFileGet.c:97:7: warning: implicit declaration of function 'XmgCenterWidget'; did you mean 'XtCreateWidget'? [-Wimplicit-function-declaration] 97 | XmgCenterWidget(xmg_filenom_shell); | ^~~~~~~~~~~~~~~ | XtCreateWidget gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgI.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgMacro.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgMessage.c In file included from XmgMessage.c:19: XmgMessage.c: In function 'XmgShowMessageBox': XmgMacro.h:62:6: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 62 | XmgMacroNothing( XmgMacroNothing( | ^~~~~~~~~~~~~~~ XmgMessage.c:50:21: note: in expansion of macro 'END' 50 | END), | ^~~ XmgMessage.c:61:3: warning: implicit declaration of function 'XmgCenterWidget'; did you mean 'XtCreateWidget'? [-Wimplicit-function-declaration] 61 | XmgCenterWidget(shell); | ^~~~~~~~~~~~~~~ | XtCreateWidget XmgMessage.c:62:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' [-Wimplicit-function-declaration] 62 | XmgSetDestroyOnDelete(shell); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgPrompt.c In file included from XmgPrompt.c:19: XmgPrompt.c: In function 'XmgShowPromptBox': XmgMacro.h:62:6: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 62 | XmgMacroNothing( XmgMacroNothing( | ^~~~~~~~~~~~~~~ XmgPrompt.c:59:7: note: in expansion of macro 'END' 59 | END), | ^~~ XmgPrompt.c:89:3: warning: implicit declaration of function 'XmgCenterWidget'; did you mean 'XtCreateWidget'? [-Wimplicit-function-declaration] 89 | XmgCenterWidget(shell); | ^~~~~~~~~~~~~~~ | XtCreateWidget XmgPrompt.c:90:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' [-Wimplicit-function-declaration] 90 | XmgSetDestroyOnDelete(shell); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c XmgPulldown.c In file included from XmgPulldown.c:16: XmgPulldown.c: In function 'XmgCreatePulldownFromVecStr': XmgMacro.h:73:17: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 73 | #define DONE XmgMacroNothing( NULL | ^~~~~~~~~~~~~~~ XmgMacro.h:119:28: note: in definition of macro 'INSERTCODE' 119 | #define INSERTCODE(x) DO;x;DONE | ^ XmgPulldown.c:68:13: note: in expansion of macro 'INSERTCODE' 68 | INSERTCODE( | ^~~~~~~~~~ XmgMacro.h:77:24: note: in expansion of macro 'DONE' 77 | (XtPointer)(Dat)),DONE | ^~~~ XmgPulldown.c:74:14: note: in expansion of macro 'CALLBACK' 74 | CALLBACK(XtNcallback,(XtCallbackProc)proc,pulldown), | ^~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c SmeBSBM.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Xws.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Tabs.c Tabs.c: In function 'DrawFrame': Tabs.c:1162:2: warning: implicit declaration of function 'Draw3dBox' [-Wimplicit-function-declaration] 1162 | Draw3dBox((Widget)tw, 0,tw->tabs.tab_total, | ^~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c TextField.c TextField.c: In function 'RequestSelection': TextField.c:1039:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1039 | w->text.CursorPos = (int) client; | ^ TextField.c: In function 'InsertSelection': TextField.c:1066:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1066 | (XtPointer) pos, event->xbutton.time); | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c ScrollText.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Gcs.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c FileNom.c FileNom.c: In function 'MakeMenu': FileNom.c:811:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 811 | XtAddCallback(menuEntry, XtNcallback, ChangeDir, (XtPointer) menuItem++); | ^ FileNom.c:824:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 824 | (XtPointer) menuItem++); | ^ FileNom.c: In function 'ChangeDir': FileNom.c:905:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 905 | ChangeDirectory(fnw, (int) client_data); | ^ FileNom.c: In function 'FillWindow': FileNom.c:116:58: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 116 | #define List(w) (((FileNominatorWidget) w)->fileNominator.listList) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char ** FileNom.c:1234:36: note: in expansion of macro 'List' 1234 | XawListChange(Child(fnw,list), List(fnw), newNum, -1, True); | ^~~~ In file included from FileNom.c:46: /home/pbulk/build/net/xipdump/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, FileNom.c:1239:2: warning: implicit declaration of function 'XawViewportSetLocation' [-Wimplicit-function-declaration] 1239 | XawViewportSetLocation(Child(fnw,viewport), 0.0, 0.0); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c match.c match.c: In function 'match': match.c:57:38: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 57 | #define streq(x, y) (*(x) == *(y) && strcmp(x, y) == 0) | ^~~~~~ match.c:66:10: note: in expansion of macro 'streq' 66 | return streq(p, s); | ^~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Viewlist.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipcap.c xipcap.c: In function 'make_packet_from_pp_and_buf': xipcap.c:123:18: warning: implicit declaration of function 'xip_shortcuts_html_do' [-Wimplicit-function-declaration] 123 | if ((status = xip_shortcuts_html_do(&pkt, | ^~~~~~~~~~~~~~~~~~~~~ xipcap.c:134:4: warning: implicit declaration of function 'XmgErrPrint' [-Wimplicit-function-declaration] 134 | XmgErrPrint(toplevel,status,"pkt_dup"); | ^~~~~~~~~~~ xipcap.c:142:2: warning: implicit declaration of function 'XipCreateSmallPkt'; did you mean 'XipCreatePkt'? [-Wimplicit-function-declaration] 142 | XipCreateSmallPkt(npkt, | ^~~~~~~~~~~~~~~~~ | XipCreatePkt xipcap.c: In function 'read_pcap': xipcap.c:171:7: warning: implicit declaration of function 'pcap_read'; did you mean 'pcap_next'? [-Wimplicit-function-declaration] 171 | if (pcap_read(pcap, | ^~~~~~~~~ | pcap_next xipcap.c: In function 'xip_cap_init': xipcap.c:227:2: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 227 | if ((pcap_dev = pcap_lookupdev(errbuf)) == NULL) | ^~ In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/pcap.h:43, from xipcap.c:15: /home/pbulk/build/net/xipdump/work/.buildlink/include/pcap/pcap.h:394:16: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipcust.c xipcust.c: In function 'xip_pkt_custom': xipcust.c:68:7: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] 68 | waitpid(custom_pid,&custom_status,NULL); | ^~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xiperr.c xiperr.c: In function 'err_xip_init': xiperr.c:53:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | (VOID_PTR)(ERR_XIP_START + i), | ^ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipimg.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipnet.c In file included from xipvar.h:18, from xipnet.c:21: pat_ip.h:17: warning: "IPOPT_NOP" redefined 17 | #define IPOPT_NOP 1 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from xipnet.c:16: /usr/include/netinet/ip.h:100: note: this is the location of the previous definition 100 | #define IPOPT_NOP 0x01 /* no operation */ | In file included from xipvar.h:18, from xipnet.c:21: pat_ip.h:18: warning: "IPOPT_RR" redefined 18 | #define IPOPT_RR 7 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from xipnet.c:16: /usr/include/netinet/ip.h:102: note: this is the location of the previous definition 102 | #define IPOPT_RR 0x07 /* record packet route */ | In file included from xipvar.h:18, from xipnet.c:21: pat_ip.h:19: warning: "IPOPT_TS" redefined 19 | #define IPOPT_TS 68 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from xipnet.c:16: /usr/include/netinet/ip.h:104: note: this is the location of the previous definition 104 | #define IPOPT_TS 0x44 /* timestamp */ | gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xippkt.c xippkt.c: In function 'set_prompt_ok': xippkt.c:120:4: warning: implicit declaration of function 'XmgErrPrint' [-Wimplicit-function-declaration] 120 | XmgErrPrint(SHELL_OR_TOPLEVEL(own_xmd), | ^~~~~~~~~~~ xippkt.c: In function 'xip_method_proc_set_args_eq_2': xippkt.c:348:4: warning: implicit declaration of function 'XmgShowPromptComplexPulldownBox' [-Wimplicit-function-declaration] 348 | XmgShowPromptComplexPulldownBox(SHELL_OR_TOPLEVEL(xmd), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xippkt.c:372:7: warning: implicit declaration of function 'XmgShowPromptBox' [-Wimplicit-function-declaration] 372 | XmgShowPromptBox(SHELL_OR_TOPLEVEL(xmd), | ^~~~~~~~~~~~~~~~ xippkt.c: In function 'xip_method_proc_extract_to_pkt_box': xippkt.c:554:7: warning: implicit declaration of function 'XipCreateSmallPkt'; did you mean 'XipCreatePkt'? [-Wimplicit-function-declaration] 554 | XipCreateSmallPkt(pkt,TRUE); | ^~~~~~~~~~~~~~~~~ | XipCreatePkt xippkt.c: In function 'xip_method_proc_reply': xippkt.c:1035:17: warning: implicit declaration of function 'xip_pkt_reply'; did you mean 'xip_pkt_tmpl'? [-Wimplicit-function-declaration] 1035 | if ((status = xip_pkt_reply(pkt)) != 0) | ^~~~~~~~~~~~~ | xip_pkt_tmpl xippkt.c: In function 'xip_method_proc_custom': xippkt.c:1083:17: warning: implicit declaration of function 'xip_pkt_custom'; did you mean 'xip_pkt_html'? [-Wimplicit-function-declaration] 1083 | if ((status = xip_pkt_custom(pkt,args)) != 0) | ^~~~~~~~~~~~~~ | xip_pkt_html In file included from xippkt.c:29: xippkt.c: In function 'xip_method_proc_view_tmpl': XmgMacro.h:62:6: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 62 | XmgMacroNothing( XmgMacroNothing( | ^~~~~~~~~~~~~~~ xippkt.c:1169:6: note: in expansion of macro 'END' 1169 | END), | ^~~ xippkt.c:1173:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' [-Wimplicit-function-declaration] 1173 | XmgSetDestroyOnDelete(shell); | ^~~~~~~~~~~~~~~~~~~~~ xippkt.c: In function 'xip_method_parse': xippkt.c:1402:11: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 1402 | if (isspace(*ptr)) | ^~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xiprepl.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipres.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipshcut.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c xipvar.c In file included from xipvar.c:20: xipvar.c: In function 'XipCreateCfBox': XmgMacro.h:62:6: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 62 | XmgMacroNothing( XmgMacroNothing( | ^~~~~~~~~~~~~~~ XmgMacro.h:119:28: note: in definition of macro 'INSERTCODE' 119 | #define INSERTCODE(x) DO;x;DONE | ^ xipvar.c:863:7: note: in expansion of macro 'INSERTCODE' 863 | INSERTCODE( | ^~~~~~~~~~ xipvar.c:929:13: note: in expansion of macro 'END' 929 | END), | ^~~ xipvar.c:965:3: warning: implicit declaration of function 'XmgSetDestroyOnDelete' [-Wimplicit-function-declaration] 965 | XmgSetDestroyOnDelete(shell); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c scandir.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c alphasort.c gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c main.c In file included from main.c:41: pat_ip.h:17: warning: "IPOPT_NOP" redefined 17 | #define IPOPT_NOP 1 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from main.c:15: /usr/include/netinet/ip.h:100: note: this is the location of the previous definition 100 | #define IPOPT_NOP 0x01 /* no operation */ | In file included from main.c:41: pat_ip.h:18: warning: "IPOPT_RR" redefined 18 | #define IPOPT_RR 7 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from main.c:15: /usr/include/netinet/ip.h:102: note: this is the location of the previous definition 102 | #define IPOPT_RR 0x07 /* record packet route */ | In file included from main.c:41: pat_ip.h:19: warning: "IPOPT_TS" redefined 19 | #define IPOPT_TS 68 | In file included from /home/pbulk/build/net/xipdump/work/.buildlink/include/libnet10/libnet.h:51, from main.c:15: /usr/include/netinet/ip.h:104: note: this is the location of the previous definition 104 | #define IPOPT_TS 0x44 /* timestamp */ | main.c: In function 'myexit': main.c:202:3: warning: implicit declaration of function 'xip_extra_vars_destroy'; did you mean 'xip_pkt_bar_destroy'? [-Wimplicit-function-declaration] 202 | xip_extra_vars_destroy(); | ^~~~~~~~~~~~~~~~~~~~~~ | xip_pkt_bar_destroy main.c:208:3: warning: implicit declaration of function 'XmgDestroy'; did you mean 'dm_destroy'? [-Wimplicit-function-declaration] 208 | XmgDestroy(); | ^~~~~~~~~~ | dm_destroy main.c: In function 'bsb_empty_cut_buf': main.c:275:7: warning: implicit declaration of function 'XmgErrPrint' [-Wimplicit-function-declaration] 275 | XmgErrPrint(status,"XIP_ALLOC_PROC"); | ^~~~~~~~~~~ main.c: In function 'xip_load_collection': main.c:461:21: warning: implicit declaration of function 'pkt_load'; did you mean 'pkt_on'? [-Wimplicit-function-declaration] 461 | if ((status = pkt_load(npkt, | ^~~~~~~~ | pkt_on main.c: In function 'xip_save_collection': main.c:545:21: warning: implicit declaration of function 'pkt_save'; did you mean 'pkt_paste'? [-Wimplicit-function-declaration] 545 | if ((status = pkt_save(xp->pkt,pktfname)) != 0) | ^~~~~~~~ | pkt_paste In file included from main.c:37: main.c: In function 'XipShowAboutBox': XmgMacro.h:73:17: warning: implicit declaration of function 'XmgMacroNothing'; did you mean 'XmgMacroPopChild'? [-Wimplicit-function-declaration] 73 | #define DONE XmgMacroNothing( NULL | ^~~~~~~~~~~~~~~ XmgMacro.h:77:24: note: in expansion of macro 'DONE' 77 | (XtPointer)(Dat)),DONE | ^~~~ main.c:878:5: note: in expansion of macro 'CALLBACK' 878 | CALLBACK(XtNlinkCallback, | ^~~~~~~~ main.c:894:7: warning: implicit declaration of function 'XmgSetPopdownOnDelete' [-Wimplicit-function-declaration] 894 | XmgSetPopdownOnDelete(aboutshell); | ^~~~~~~~~~~~~~~~~~~~~ main.c: In function 'doit': main.c:1535:17: warning: implicit declaration of function 'XmgPixmapDictAdd' [-Wimplicit-function-declaration] 1535 | if ((status = XmgPixmapDictAdd("internal:xipicon.xbm", | ^~~~~~~~~~~~~~~~ main.c:1568:17: warning: implicit declaration of function 'xip_extra_vars_get_from_xrm' [-Wimplicit-function-declaration] 1568 | if ((status = xip_extra_vars_get_from_xrm()) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1798:17: warning: implicit declaration of function 'xip_cap_init'; did you mean 'pcap_init'? [-Wimplicit-function-declaration] 1798 | if ((status = xip_cap_init()) != 0) | ^~~~~~~~~~~~ | pcap_init main.c:1808:17: warning: implicit declaration of function 'xip_net_init'; did you mean 'xip_vars_init'? [-Wimplicit-function-declaration] 1808 | if ((status = xip_net_init()) != 0) | ^~~~~~~~~~~~ | xip_vars_init main.c: In function 'main': main.c:1866:17: warning: implicit declaration of function 'err_xmg_init'; did you mean 'err_xip_init'? [-Wimplicit-function-declaration] 1866 | if ((status = err_xmg_init()) != 0) | ^~~~~~~~~~~~ | err_xip_init main.c:1906:3: warning: implicit declaration of function 'XmgDebugInit' [-Wimplicit-function-declaration] 1906 | XmgDebugInit(); | ^~~~~~~~~~~~ gcc -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include/libnet10 -I/usr/include -I. -c Group.c gcc -o xipdump mg_alloc.o mg_arr.o mg_arr_char.o mg_assoc.o mg_bit.o mg_buf.o mg_dict.o mg_dict_int.o mg_dict_str.o mg_dm.o mg_dyn_str.o mg_err.o mg_hash.o mg_id.o mg_id_ptr.o mg_id_str.o mg_int.o mg_mask.o mg_misc.o mg_parse.o mg_printf.o mg_stack.o mg_str.o mg_sysdep.o mg_vec.o mg_vec_buf.o mg_vec_int.o mg_vec_ptr.o mg_vec_str.o mg_opt.o gdm.o gmatch.o snprintf.o pat_16.o pat_32.o pat_8.o pat_arp.o pat_boolean.o pat_bootp.o pat_buf.o pat_bytebuf.o pat_data.o pat_dns.o pat_ethaddr.o pat_ether.o pat_icmp.o pat_icmpcode.o pat_ieee802.o pat_igmp.o pat_inaddr.o pat_ip.o pat_ipproto.o pat_mac.o pat_null.o pat_pad.o pat_pat.o pat_port.o pat_rip.o pat_rpc.o pat_rpcnum.o pat_seqack.o pat_shortbuf.o pat_subnet.o pat_sz.o pat_tcp.o pat_tftp.o pat_time.o pat_tr.o pat_udp.o pat.o patdef.o nbgethost.o pkt.o pktio.o pktsav.o paterr.o gmt2local.o Xmg.o XmgAction.o XmgCvt.o XmgDict.o XmgErr.o XmgFancy.o XmgFileGet.o XmgI.o XmgMacro.o XmgMessage.o XmgPrompt.o XmgPulldown.o Group.o SmeBSBM.o Xws.o Tabs.o TextField.o ScrollText.o Gcs.o FileNom.o match.o Viewlist.o xipcap.o xipcust.o xiperr.o xipimg.o xipnet.o xippkt.o xiprepl.o xipres.o xipshcut.o xipvar.o scandir.o alphasort.o main.o -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib/libnet10 -Wl,-R/opt/local/lib/libnet10 -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lXaw -lXmu -lXt -lXext -lX11 -lpcap -lnet Undefined first referenced symbol in file pcap_read xipcap.o ld: fatal: symbol referencing errors. No output written to xipdump collect2: error: ld returned 1 exit status *** [xipdump] Error code 1 bmake: stopped in /home/pbulk/build/net/xipdump/work/xipdump-1.5.4 1 error bmake: stopped in /home/pbulk/build/net/xipdump/work/xipdump-1.5.4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/xipdump *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/xipdump