=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for dnscap-141 --- dnscap.o --- --- dump_dns.o --- --- dnscap.cat1 --- --- dnscap.o --- clang -Wall -O2 -I/usr/include -c dnscap.c --- dump_dns.o --- clang -Wall -O2 -I/usr/include -c dump_dns.c --- dnscap.cat1 --- nroff -mandoc dnscap.1 > dnscap.cat1 --- dnscap.o --- dnscap.c:1998:21: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ip->ip_src; ^~~~~~~~~~ dnscap.c:1999:21: warning: taking address of packed member 'ip_dst' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member] resp_addr = &ip->ip_dst; ^~~~~~~~~~ dnscap.c:2002:21: warning: taking address of packed member 'ip_dst' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ip->ip_dst; ^~~~~~~~~~ dnscap.c:2003:21: warning: taking address of packed member 'ip_src' of class or structure 'ip' may result in an unaligned pointer value [-Waddress-of-packed-member] --- dump_dns.o --- dump_dns.c:12:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = "$Id: dump_dns.c,v 1.2 2008-03-14 21:33:28 wessels Exp $"; ^ --- dnscap.o --- resp_addr = &ip->ip_src; ^~~~~~~~~~ dnscap.c:2021:21: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ipv6->ip6_src; ^~~~~~~~~~~~~ dnscap.c:2022:21: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] resp_addr = &ipv6->ip6_dst; ^~~~~~~~~~~~~ dnscap.c:2025:21: warning: taking address of packed member 'ip6_dst' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] init_addr = &ipv6->ip6_dst; ^~~~~~~~~~~~~ dnscap.c:2026:21: warning: taking address of packed member 'ip6_src' of class or structure 'ip6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] resp_addr = &ipv6->ip6_src; ^~~~~~~~~~~~~ dnscap.c:2204:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] x = x; ~ ^ ~ dnscap.c:8:19: warning: unused variable 'copyright' [-Wunused-const-variable] static const char copyright[] = ^ --- dump_dns.o --- 1 warning generated. --- dnscap.o --- 10 warnings generated. --- dnscap --- clang -o dnscap -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib dnscap.o dump_dns.o -lpcap dump_dns.o: In function `dump_dns': dump_dns.c:(.text+0xc0): undefined reference to `_res_opcodes' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [dnscap] Error code 1 bmake: stopped in /var/pkgsrc/work/net/dnscap/work/dnscap-141 1 error bmake: stopped in /var/pkgsrc/work/net/dnscap/work/dnscap-141 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/dnscap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/dnscap