pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build failure for net/net-snmp on Mac OS X 10.4.7



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

Stop.
bmake: stopped in
/Volumes/NetBSD/pkgsrc/net/net-snmp/work/net-snmp-5.3.1/agent/mibgroup
*** 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?

Thanks,
Mark



Home | Main Index | Thread Index | Old Index