I tried with the snmp srpm out of current and got the same results. This is on a Solaris 9 Sparc system with the latest patch cluster.
On Tue, 2004-09-28 at 07:22, David M. Fetter wrote: > Ok, I'm getting this build error now when I manually try to build snmp > with the following command: > > openpkg rpm --rebuild --define 'with_mib_host yes' --define 'with_perl > yes' snmp-5.1.1-2.1.0.src.rpm > > /bin/sh ../../libtool --silent --mode=compile /usr/local/bin/gcc > -I../../include -I../../include -I. -I../.. -I. -I./../.. > -I./../../snmplib -I./.. -I.. -I/usr/local/include > -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/local/lib/perl/5.8.4/sun4-solaris/CORE > -O2 -pipe -I/usr/local/include -Dsolaris2 -c -o host/hr_storage.lo > host/hr_storage.c > host/hr_storage.c: In function `sol_get_swapinfo': > host/hr_storage.c:845: error: storage size of 'ainfo' isn't known > host/hr_storage.c:847: error: `SC_AINFO' undeclared (first use in this > function)host/hr_storage.c:847: error: (Each undeclared identifier is > reported only once > host/hr_storage.c:847: error: for each function it appears in.) > make[2]: *** [host/hr_storage.lo] Error 1 > make[1]: *** [subdirs] Error 1 > make: *** [subdirs] Error 1 > > Anybody know what the issue is or how to resolve it? Thanks. -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu "Only those who attempt the absurd can achieve the impossible."
signature.asc
Description: This is a digitally signed message part