ports/71071: ports/net-mgmt/net-snmp does not build on -CURRENT
Matthew Thyer
thyerm at powerband.net.au
Sat Aug 28 09:40:31 UTC 2004
>Number: 71071
>Category: ports
>Synopsis: ports/net-mgmt/net-snmp does not build on -CURRENT
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 28 09:40:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Matthew Thyer
>Release: -CURRENT
>Organization:
>Environment:
FreeBSD mars.matt.thyer.org 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Fri Aug 27 23:03:46 CST 2004 root at mars.matt.thyer.org:/usr/obj/usr/src/sys/MYGENERIC i386
>Description:
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.
>How-To-Repeat:
Try to build ports/net-mgmt/net-snmp on recent -CURRENT
>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.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list