On Thu, 17 Mar 2005 00:02:17 -0500, Robert Story <[EMAIL PROTECTED]> wrote:
> What release are you using? What type of handler are you using? Did you use > mib2c to generate the code? I'm using version 5.2.1 (the latest release AFAIK). There are two handlers involved in my subagent: the stock integer handler (i.e., the one "magically" invoked with netsnmp_register_int_instance()), and a custom handler for strings generated by mib2c. The mib2c script gave me the framework and I filled in the details. > Are all the objects in the same handler, or different ones? The error messages appear whenever the custom string handler is used. If I only try to set integers, I get no error. This leads me to think that there's something wrong with my code. Unfortunately, due to the restrictions of my job, I can't post it here. > There are two options, and both require rebuilding the agent. One option is to > delete the netsnmp_assert in that particular file. That will handle that one > case. The other is to change line 36 of include/net-snmp/library/snmp_assert.h > from > > # ifndef SNMP_NO_DEBUGGING > > to > > # if 0 Ok I'll keep that in mind. For the time being I reworked my application code to only set one variable at a time (speed isn't a concern at the moment). Do you have any further suggestions given the new information I've provided? Thanks, Michael ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
