Hello,

I am following a tutorial
http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/

When I try to run a makefile (i.e make -f ifTable_Makefile), I get the
following errors:

[root@localhost ifTable]# make -f ifTable_Makefile
gcc -I. `net-snmp-config --base-cflags` -Wall -Wstrict-prototypes   -c -o
ifTable_data_access.o ifTable_data_access.c
ifTable_data_access.c: In function âifTable_container_loadâ:
ifTable_data_access.c:316: error: âifDescr_lenâ undeclared (first use in
this function)
ifTable_data_access.c:316: error: (Each undeclared identifier is reported
only once
ifTable_data_access.c:316: error: for each function it appears in.)
ifTable_data_access.c:316: error: âifDescrâ undeclared (first use in this
function)
ifTable_data_access.c:328: error: âifTypeâ undeclared (first use in this
function)
ifTable_data_access.c:335: error: âifMtuâ undeclared (first use in this
function)
ifTable_data_access.c:342: error: âifSpeedâ undeclared (first use in this
function)
ifTable_data_access.c:354: error: âifPhysAddress_lenâ undeclared (first use
in this function)
ifTable_data_access.c:354: error: âifPhysAddressâ undeclared (first use in
this function)
ifTable_data_access.c:366: error: âifAdminStatusâ undeclared (first use in
this function)
ifTable_data_access.c:373: error: âifOperStatusâ undeclared (first use in
this function)
ifTable_data_access.c:380: error: âifLastChangeâ undeclared (first use in
this function)
ifTable_data_access.c:387: error: âifInOctetsâ undeclared (first use in
this function)
ifTable_data_access.c:394: error: âifInUcastPktsâ undeclared (first use in
this function)
ifTable_data_access.c:401: error: âifInNUcastPktsâ undeclared (first use in
this function)
ifTable_data_access.c:408: error: âifInDiscardsâ undeclared (first use in
this function)
ifTable_data_access.c:415: error: âifInErrorsâ undeclared (first use in
this function)
ifTable_data_access.c:422: error: âifInUnknownProtosâ undeclared (first use
in this function)
ifTable_data_access.c:429: error: âifOutOctetsâ undeclared (first use in
this function)
ifTable_data_access.c:436: error: âifOutUcastPktsâ undeclared (first use in
this function)
ifTable_data_access.c:443: error: âifOutNUcastPktsâ undeclared (first use
in this function)
ifTable_data_access.c:450: error: âifOutDiscardsâ undeclared (first use in
this function)
ifTable_data_access.c:457: error: âifOutErrorsâ undeclared (first use in
this function)
ifTable_data_access.c:464: error: âifOutQLenâ undeclared (first use in this
function)
ifTable_data_access.c:476: error: âifSpecific_lenâ undeclared (first use in
this function)
ifTable_data_access.c:476: error: âifSpecificâ undeclared (first use in
this function)
ifTable_data_access.c:502: warning: format â%dâ expects type âintâ, but
argument 3 has type âsize_tâ
ifTable_data_access.c:502: warning: format â%dâ expects type âintâ, but
argument 3 has type âsize_tâ
make: *** [ifTable_data_access.o] Error 1

How do I resolve these?

Thanks,

Zee
------------------------------------------------------------------------------
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-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to