On Tue, 10 Apr 2012 10:17:13 -0400 Zlatan wrote: ZS> Hello, ZS> ZS> I am following a tutorial ZS> http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/ ZS> ZS> When I try to run a makefile (i.e make -f ifTable_Makefile), I get the ZS> following errors: ZS> ZS> [root@localhost ifTable]# make -f ifTable_Makefile ZS> gcc -I. `net-snmp-config --base-cflags` -Wall -Wstrict-prototypes -c -o ZS> ifTable_data_access.o ifTable_data_access.c ZS> ifTable_data_access.c: In function âifTable_container_loadâ: ZS> ifTable_data_access.c:316: error: âifDescr_lenâ undeclared (first use in ZS> this function)
Did you follow the instructions on http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/ifTable/data_access.html, which indicate that you need to modify the generated skeleton code to actually do the right thing? That page even highlights the changes, and ifDescr_len does not appear anywhere in that example code. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
