Subject: pkg/14005: cannot compile ucd-snmp on NetBSD-current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <igy@arhc.org>
List: netbsd-bugs
Date: 09/18/2001 19:20:19
>Number:         14005
>Category:       pkg
>Synopsis:       cannot compile ucd-snmp on NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 18 19:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Naoto Shimazaki
>Release:        NetBSD-current
>Organization:
PRUG
>Environment:
NetBSD caolila 1.5Y NetBSD 1.5Y (CAOLILA) #2: Tue Sep 18 13:06:27 JST 2001     root@caolila:/net/src/sys/arch/i386/compile/CAOLILA i386

>Description:
compilation fails by "`arptab_current' undeclared"

===> Building for ucd-snmp-4.1.2
for i in snmplib agent apps local ov man ; do    ( cd $i ; make ) ;             
 done
cd mibgroup; make; cd ..
/usr/pkg/bin/libtool  cc -c -I. -I../.. -I. -I./../..  -I./../../snmplib -I./.. 
-I..  -fPIC -shared -DINET6 -O2 -Dnetbsd1 -Dnetbsd1 -Dnetbsdelf -o mibII/at.o mi
bII/at.c
cc -c -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -fPIC -shared -DIN
ET6 -O2 -Dnetbsd1 -Dnetbsd1 -Dnetbsdelf mibII/at.c  -fPIC -DPIC -o mibII/.libs/a
t.o
mibII/at.c: In function `ARP_Scan_Next':
mibII/at.c:533: `arptab_current' undeclared (first use in this function)
mibII/at.c:533: (Each undeclared identifier is reported only once
mibII/at.c:533: for each function it appears in.)
mibII/at.c:533: `arptab_size' undeclared (first use in this function)
mibII/at.c:555: dereferencing pointer to incomplete type
mibII/at.c:556: dereferencing pointer to incomplete type
mibII/at.c:557: dereferencing pointer to incomplete type
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp/work.i386/ucd-snmp-4.1.2/agent/mibgrou
p
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp/work.i386/ucd-snmp-4.1.2/agent
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp/work.i386/ucd-snmp-4.1.2
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp
*** Error code 1

Stop.
make: stopped in /net/pkgsrc/net/ucd-snmp


>How-To-Repeat:
cd pkgsrc/net/ucd-snmp
make clean
make
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: