Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYes.
For an unknown reason, the last line of 'user/net-snmp/net-snmp-5.2.1/include/net-snmp/agent/net-snmp-agent-includes.h' was commented, disabling the include of 'net-snmp/agent/agent_module_config.h'. As a consequence, 'USING_AGENTX_xxx' were not defined, and the code managing the 'master' feature not compiled. I have also modify 'Makefile.top' to add '-fno-tree-loop-opt'diff --git a/user/net-snmp/net-snmp-5.2.1/Makefile.top b/user/net-snmp/net-snmp-
index 298ec0c..3227c95 100644
--- a/user/net-snmp/net-snmp-5.2.1/Makefile.top
+++ b/user/net-snmp/net-snmp-5.2.1/Makefile.top
@@ -81,7 +81,7 @@ RANLIB = :
# libtool definitions
.SUFFIXES: .c .o .lo .rc
.c.lo:
- $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+ $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) -fno-tree-loop-opt
.rc.lo:
$(LIBTOOL) --mode=compile windres -o $@ $<
At last, I'm using NON_SMP_BUILD=1 make to generate my kernel with parallele make disabled. Tschüs ! Fred