
deri at ntop
Aug 17, 2011, 5:08 AM
Post #2 of 2
(307 views)
Permalink
|
On 08/16/2011 10:35 AM, azadeh hashemi wrote: > in the installing process when I enter ./autogen.sh and then make, in > the output there are such errors > I'm beginner and not familiar with these errors! > > iface.c:765:38: error: net-snmp/net-snmp-config.h: No such file or > directory > iface.c:766:40: error: net-snmp/net-snmp-includes.h: No such file or > directory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Please install net-snmp Luca > iface.c: In function ‘getIfName’: > iface.c:775: error: storage size of ‘session’ isn’t known > iface.c:779: error: ‘oid’ undeclared (first use in this function) > iface.c:779: error: (Each undeclared identifier is reported only once > iface.c:779: error: for each function it appears in.) > iface.c:779: error: expected ‘;’ before ‘anOID’ > iface.c:780: error: ‘MAX_OID_LEN’ undeclared (first use in this function) > iface.c:791: warning: nested extern declaration of ‘init_snmp’ > iface.c:796: warning: nested extern declaration of ‘snmp_sess_init’ > iface.c:802: error: ‘SNMP_VERSION_1’ undeclared (first use in this > function) > iface.c:811: warning: nested extern declaration of ‘snmp_open’ > iface.c:816: warning: nested extern declaration of ‘snmp_pdu_create’ > iface.c:816: error: ‘SNMP_MSG_GET’ undeclared (first use in this function) > iface.c:819: warning: nested extern declaration of ‘read_objid’ > iface.c:819: error: ‘anOID’ undeclared (first use in this function) > iface.c:819: warning: nested extern declaration of ‘snmp_add_null_var’ > iface.c:827: warning: nested extern declaration of ‘snmp_synch_response’ > iface.c:832: error: ‘STAT_SUCCESS’ undeclared (first use in this function) > iface.c:832: error: dereferencing pointer to incomplete type > iface.c:832: error: ‘SNMP_ERR_NOERROR’ undeclared (first use in this > function) > iface.c:834: error: dereferencing pointer to incomplete type > iface.c:834: error: dereferencing pointer to incomplete type > iface.c:835: error: dereferencing pointer to incomplete type > iface.c:835: error: ‘ASN_OCTET_STR’ undeclared (first use in this > function) > iface.c:836: error: dereferencing pointer to incomplete type > iface.c:836: error: dereferencing pointer to incomplete type > iface.c:837: error: dereferencing pointer to incomplete type > iface.c:848: warning: nested extern declaration of ‘snmp_free_pdu’ > iface.c:849: warning: nested extern declaration of ‘snmp_close’ > make[2]: *** [iface.lo] Error 1 > make[2]: Leaving directory `/home/xlbrlx/ntop-3.3' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/xlbrlx/ntop-3.3' > make: *** [all] Error 2 > > > _______________________________________________ > Ntop mailing list > Ntop [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/ntop
|