Subject: pkg/25577: net-snmp breaks on compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 05/15/2004 02:49:27
>Number: 25577
>Category: pkg
>Synopsis: net-snmp breaks on compile
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 15 06:51:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:
gcc -I../../include -I. -I../.. -I./../.. -I./../../snmplib -I./.. -I.. -I/usr/src/sys/pkgsrc/net/net-snmp/work/.buildlink/include -DINET6 -O2 -mieee -Dnetbsd1 -Dnetbsd -c /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/pass_persist.c -o ucd-snmp/pass_persist.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -I/usr/include -I/usr/pkg/include -DINET6 -O2 -mieee -Dnetbsd1 -I/usr/include -I/usr/pkg/include -Dnetbsd -c -o ucd-snmp/disk.lo /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c
gcc -I../../include -I. -I../.. -I./../.. -I./../../snmplib -I./.. -I.. -I/usr/src/sys/pkgsrc/net/net-snmp/work/.buildlink/include -DINET6 -O2 -mieee -Dnetbsd1 -Dnetbsd -c /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c -fPIC -DPIC -o ucd-snmp/.libs/disk.o
In file included from /usr/include/vm/vm.h:62,
from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm_page.h:157: warning: `PG_BUSY' redefined
/usr/include/uvm/uvm_page.h:163: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:158: warning: `PG_WANTED' redefined
/usr/include/uvm/uvm_page.h:164: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:159: warning: `PG_TABLED' redefined
/usr/include/uvm/uvm_page.h:165: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:161: warning: `PG_FAKE' redefined
/usr/include/uvm/uvm_page.h:169: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:164: warning: `PG_RELEASED' redefined
/usr/include/uvm/uvm_page.h:168: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:168: warning: `PQ_FREE' redefined
/usr/include/uvm/uvm_page.h:175: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:169: warning: `PQ_INACTIVE' redefined
/usr/include/uvm/uvm_page.h:176: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:170: warning: `PQ_ACTIVE' redefined
/usr/include/uvm/uvm_page.h:177: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:173: warning: `PQ_ANON' redefined
/usr/include/uvm/uvm_page.h:179: warning: this is the location of the previous definition
/usr/include/vm/vm_page.h:175: warning: `PQ_AOBJ' redefined
/usr/include/uvm/uvm_page.h:181: warning: this is the location of the previous definition
In file included from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm.h:92: warning: `vm_resident_count' redefined
/usr/include/uvm/uvm_extern.h:515: warning: this is the location of the previous definition
In file included from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm.h:41: warning: redefinition of `vm_inherit_t'
/usr/include/uvm/uvm_extern.h:93: warning: `vm_inherit_t' previously declared here
/usr/include/vm/vm.h:42: warning: redefinition of `voff_t'
/usr/include/uvm/uvm_extern.h:94: warning: `voff_t' previously declared here
In file included from /usr/include/vm/vm.h:60,
from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm_prot.h:80: warning: redefinition of `vm_prot_t'
/usr/include/uvm/uvm_prot.h:80: warning: `vm_prot_t' previously declared here
In file included from /usr/include/vm/vm.h:61,
from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm_map.h:103: redefinition of `struct vm_map_entry'
/usr/include/vm/vm_map.h:179: redefinition of `struct vm_map'
/usr/include/vm/vm_map.h:181: parse error before `lock_data_t'
/usr/include/vm/vm_map.h:181: warning: no semicolon at end of struct or union
/usr/include/vm/vm_map.h:186: parse error before `ref_lock'
/usr/include/vm/vm_map.h:186: warning: data definition has no type or storage class
/usr/include/vm/vm_map.h:188: parse error before `hint_lock'
/usr/include/vm/vm_map.h:188: warning: data definition has no type or storage class
/usr/include/vm/vm_map.h:191: parse error before `flags_lock'
/usr/include/vm/vm_map.h:191: warning: data definition has no type or storage class
/usr/include/vm/vm_map.h:195: parse error before `}'
In file included from /usr/include/vm/vm_page.h:111,
from /usr/include/vm/vm.h:62,
from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/pglist.h:46: redefinition of `struct pglist'
/usr/include/vm/pglist.h:56: redefinition of `struct pgfreelist'
In file included from /usr/include/vm/vm.h:62,
from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm_page.h:113: redefinition of `struct vm_page'
/usr/include/vm/vm_page.h:199: redefinition of `struct vm_physseg'
/usr/include/vm/vm_page.h:207: field `pmseg' has incomplete type
In file included from /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup/ucd-snmp/disk.c:86:
/usr/include/vm/vm.h:72: redefinition of `struct vmspace'
*** Error code 1
Stop.
make: stopped in /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent/mibgroup
*** Error code 1
Stop.
make: stopped in /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1/agent
*** Error code 1
Stop.
make: stopped in /usr/src/sys/pkgsrc/net/net-snmp/work/net-snmp-5.1.1
*** Error code 1
Stop.
make: stopped in /usr/src/sys/pkgsrc/net/net-snmp
*** Error code 1
Stop.
make: stopped in /sys/pkgsrc/net/net-snmp
>How-To-Repeat:
build net-snmp from pkgsrc-current
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: