It seems that net-snmp wants struct ifaddr and now fails on -CURRENT with: libtool: compile: cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/usr/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe -march=core2 -I/usr/local/include -I/include -D_WANT_IFADDR -fstack-protector -fno-strict-aliasing -std=c99 -Ufreebsd11 -Dfreebsd11=freebsd11 -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.18/mach/CORE -c mibII/ipv6.c -fPIC -DPIC -o mibII/.libs/ipv6.o mibII/ipv6.c:806:20: warning: returning 'char *' from a function with result type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return p; ^ mibII/ipv6.c:848:29: error: variable has incomplete type 'struct ifaddr' struct ifaddr ifaddr; ^ /usr/include/net/if_var.h:89:24: note: forward declaration of 'struct ifaddr' TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */ ^ /usr/include/sys/queue.h:493:9: note: expanded from macro 'TAILQ_HEAD' struct type *tqh_first; /* first element */ \ ^ 1 warning and 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/agent/mibgroup *** Error code 1
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC