Re: Issue compiling with cache handler

2011-10-03 Thread Rodrigo Hjort
It seems the code automagically generated by *mib2c* was considering those inexistent functions *netsnmp_cache_free()* and * netsnmp_table_registration_info_free()*. I created another file using an updated mib2c conf (see http://gist.github.com/1259707) and those functions were not present. Howev

Re: Issue compiling with cache handler

2011-10-01 Thread Magnus Fromreide
On Fri, 2011-09-30 at 08:33 -0400, Rodrigo Hjort wrote: > Hello Magnus, > > Actually I'm using the Debian package libsnmp-dev (v5.4.2.1), and > here's the requested instruction: If that is the case then it isn't that but then I am quite confused as it builds for me using libsnmp-dev 5.4.3~dfsg-2.

Re: Issue compiling with cache handler

2011-09-30 Thread Rodrigo Hjort
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

Re: Issue compiling with cache handler

2011-09-30 Thread Magnus Fromreide
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.