Subject: Re: build failure for net/net-snmp on Mac OS X 10.4.7
To: Brian A.Seklecki <>
From: Adam <>
List: pkgsrc-users
Date: 07/30/2006 08:43: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':

I have updated patch-ag to fix this. Please, give it a try.

Please note, now you can add PREFER_NATIVE+=net-snmp to your /etc/ 
mk.conf and use net-snmp that comes with Mac OS X.

Kind regards,