cc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -fno-strict-aliasing -I/usr/local/lib/perl5/5.6.1/mach/CORE -DINET6 -O -pipe -Dfreebsd6 -c mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.o mibII/tcpTable.c: In function `tcpTable_load': mibII/tcpTable.c:742: error: structure has no member named `xt_tp' mibII/tcpTable.c:746: error: structure has no member named `xt_inp' *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2/agent/mibgroup. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2/agent. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.1.2. *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp. Fix: A workaround can be found here: http://sourceforge.net/mailarchive/forum.php?thread_id=3910688&forum_id=4959 The workaround is: Yep. The whole tcpTable and udpTables are broken for the whole BSD family. ./configure --with-out-mib-modules="mibII/tcpTable mibII/udpTable" and you"ll need to change a TCP_Count_Connections() call to a hardcoded 0, unless you are using cvs. How-To-Repeat: Try to build ports/net-mgmt/net-snmp on recent -CURRENT
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer.
State Changed From-To: open->closed Fixed, thanks!