There seems to be a problem with mib2c.check_values_local.conf in that it 
generates a file with a double include symbol of XXX_CHECKFNS_H.
As this is the same symbol as is used in xxx_checkfns.h, xxx_checkfns_local.h 
never gets included at all.

Very simple patch below...


diff -Naur -x '.*.swp' 
net-snmp-5.7.2-unpatched/local/mib2c.check_values_local.conf 
net-snmp-5.7.2/local/mib2c.check_values_local.conf
--- net-snmp-5.7.2-unpatched/local/mib2c.check_values_local.conf        
2013-09-25 14:39:43.076113688 +0100
+++ net-snmp-5.7.2/local/mib2c.check_values_local.conf  2013-09-30 
08:39:05.990166290 +0100
@@ -8,8 +8,8 @@
  *        : $Id$
  * 
  */
-#ifndef $name.uc_CHECKFNS_H
-#define $name.uc_CHECKFNS_H
+#ifndef $name.uc_CHECKFNS_LOCAL_H
+#define $name.uc_CHECKFNS_LOCAL_H
 
 @foreach $t table@
 /* these functions are designed to check incoming values for 
@@ -27,7 +27,7 @@
   @end@
 @end@
 
-#endif /* $name.uc_CHECKFNS_H */
+#endif /* $name.uc_CHECKFNS_LOCAL_H */
 
 ######################################################################
 ## Do the .c file

                                          
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to