On Thu, 2011-09-29 at 23:52 -0400, Rodrigo Hjort wrote:
> Hello coders,
>
> I'm trying to compile a custom SNMP subagent with caching
> capabilities, but I'm facing this issue:
>
> rodrigo@zangaro:~/cache$ make
> gcc -I. `net-snmp-config --cflags` -c -o example-demon.o
> example-demon.c
> gcc -I.
Hello Magnus,
Actually I'm using the Debian package *libsnmp-dev* (v5.4.2.1), and here's
the requested instruction:
*$ net-snmp-config --configure-options*
'--build=i486-linux-gnu' '--includedir=/usr/include'
'--mandir=/usr/share/man' '--infodir=/usr/share/info' '--localstatedir=/var'
'--libexec
I just ran into a segfault in netsnmp_swinst_arch_load() where if the
pkg_directory name is set, but the dir can't be opened, it was still attempting
to read the NULL descriptor.
Symptom: snmpd segfault when walking the entire MIB (one of the Host Resources
tables)
Patch below. Apologies if t