failure compiling hobbit_snmpcollect in latest snapshot, have net-snmp RPMs installed

Tom Georgoulias tomg at mcclatchyinteractive.com
Tue Oct 2 21:36:53 CEST 2007


Trying to build last night's snapshot on RHEL3 and getting this error 
during the compile:

hobbit_snmpcollect.c: In function `main':
hobbit_snmpcollect.c:1000: warning: implicit declaration of function 
`netsnmp_register_loghandler'
hobbit_snmpcollect.c:1000: `NETSNMP_LOGHANDLER_STDERR' undeclared (first 
use in this function)
hobbit_snmpcollect.c:1000: (Each undeclared identifier is reported only once
hobbit_snmpcollect.c:1000: for each function it appears in.)
make[1]: *** [hobbit_snmpcollect.o] Error 1
make[1]: Leaving directory `/home/hobbit/build/snapshot/bbnet'
make: *** [bbnet-build] Error 2

Here's line 1000 from hobbit_snmpcollect.c:

netsnmp_register_loghandler(NETSNMP_LOGHANDLER_STDERR, 7);

Got the following net-snmp RPMs installed:

net-snmp-libs-5.0.9-2.30E.20
net-snmp-5.0.9-2.30E.20
net-snmp-utils-5.0.9-2.30E.20
net-snmp-devel-5.0.9-2.30E.22
net-snmp-perl-5.0.9-2.30E.20

Anyone else seen this?

Thanks,
Tom



More information about the Xymon mailing list