On Mon, 06 Nov 2006 13:13:51 +0100 Thomas wrote: TA> my former "rfv: build fix for --without-kmem-usage" TA> TA> http://sourceforge.net/mailarchive/message.php?msg_id=37193353 TA> TA> raised objections wrt. klookup error handling in certain mib modules, so TA> I'm hereby proposing a modified patch that allows for TA> --without-kmem-usage *and* adds proper error handling to all TA> NETSNMP_KLOOKUP calls to be on the safe side.
diff -u -p -r5.6 kernel.h --- agent/kernel.h 31 Oct 2006 20:35:58 -0000 5.6 +++ agent/kernel.h 5 Nov 2006 22:13:22 -0000 @@ -3,6 +3,8 @@ extern void init_kmem(const char *); extern int klookup(unsigned long, char *, int); #define NETSNMP_KLOOKUP(x,y,z) klookup((unsigned long) x,y,z) +#else +#define NETSNMP_KLOOKUP(x,y,z) #endif Shouldn't that be "#define NETSNMP_KLOOKUP(x,y,z) (0)"? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
