Subject: build failure for net/net-snmp on Mac OS X 10.4.7
To: None <>
From: Mark E. Perkins <>
List: pkgsrc-users
Date: 07/29/2006 20:31:00
When attempting to build net-snmp-5.3.1, I get the following error:

 gcc -pipe -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -no-cpp-precomp
-I/Volumes/NetBSD/pkgsrc/net/net-snmp/work/.buildlink/include -O2 -Ddarwin8 -c
host/hr_storage.c  -fno-common -DPIC -o host/.libs/hr_storage.o
host/hr_storage.c: In function 'var_hrstore':
host/hr_storage.c:583: warning: passing argument 3 of 'host_statistics' from
incompatible pointer type
host/hr_storage.c:583: warning: pointer targets in passing argument 4 of
'host_statistics' differ in signedness
host/hr_storage.c:842: error: duplicate case value
host/hr_storage.c:822: error: previously used here
*** Error code 1

bmake: stopped in
*** Error code 1

As noted in the Subject, this is on Mac OS X 10.4.7.
pkgsrc updated within the last few hours.

-> gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)

Any ideas?