Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 09:38:27 GMT
From:      Matthew Thyer <thyerm@powerband.net.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/71071: ports/net-mgmt/net-snmp does not build on -CURRENT
Message-ID:  <200408280938.i7S9cRk2027756@www.freebsd.org>
Resent-Message-ID: <200408280940.i7S9eU8p049290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408280938.i7S9cRk2027756>