> From: Dave Shield Sent: 21 July 2004 12:57 > > > Is the configure option --disable-debugging supposed to set all the > > DEBUGMSG macros to NOP's? > > It should do, yes. > > > It seems to work for my the main part of my > > agent but my own MIB module prints its debugging messages even if I > > start the agent without the -D flag now. I got rid of it by > > putting an SNMP_NO_DEBUGGING macro into my mib module header file > > It's a bit difficult to tell without seeing your code file, > but one thing that springs to mind is to check whether you > include the <net-snmp/net-snmp-config.h> header file ? > > Dave >
I do include <net-snmp/net-snmp-config.h>. I have just installed Net-SNMP 5.1.2.rc1 and I don't get any debug messages anymore (and I don't define SNMP_NO_DEBUGGING in my own header). So everything is as it should be. I just don't know why. Maybe there's something wrong with the dependencies and I should have done a make clean after configure --disable-debugging. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
