[prev in list] [next in list] [prev in thread] [next in thread]
List: ntop
Subject: Re: [Ntop] Installing ntop - step : make
From: Luca Deri <deri () ntop ! org>
Date: 2011-08-17 12:08:45
Message-ID: 4E4BAF4D.9010104 () ntop ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 08/16/2011 10:35 AM, azadeh hashemi wrote:
<blockquote
cite="mid:1313483739.31924.YahooMailNeo@web110212.mail.gq1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div>in the installing process when I enter ./autogen.sh and
then make, in the output there are such errors </div>
<div>I'm beginner and not familiar with these errors!<br>
<br>
iface.c:765:38: error: net-snmp/net-snmp-config.h: No such
file or directory<br>
iface.c:766:40: error: net-snmp/net-snmp-includes.h: No such
file or directory<br>
</div>
</div>
</blockquote>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
Please install net-snmp<br>
<br>
Luca<br>
<blockquote
cite="mid:1313483739.31924.YahooMailNeo@web110212.mail.gq1.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: times new roman,new york,times,serif;
font-size: 12pt;">
<div>iface.c: In function ‘getIfName':<br>
iface.c:775: error: storage size of ‘session' isn't known<br>
iface.c:779: error: ‘oid' undeclared (first use in this
function)<br>
iface.c:779: error: (Each undeclared identifier is reported
only once<br>
iface.c:779: error: for each function it appears in.)<br>
iface.c:779: error: expected ‘;' before ‘anOID'<br>
iface.c:780: error: ‘MAX_OID_LEN' undeclared (first use in
this function)<br>
iface.c:791: warning: nested extern declaration of ‘init_snmp'<br>
iface.c:796: warning: nested extern declaration of
‘snmp_sess_init'<br>
iface.c:802: error: ‘SNMP_VERSION_1' undeclared (first use in
this function)<br>
iface.c:811: warning: nested extern declaration of ‘snmp_open'<br>
iface.c:816: warning: nested extern declaration of
‘snmp_pdu_create'<br>
iface.c:816: error: ‘SNMP_MSG_GET' undeclared (first use in
this function)<br>
iface.c:819: warning: nested extern declaration of
‘read_objid'<br>
iface.c:819: error: ‘anOID' undeclared (first use in this
function)<br>
iface.c:819: warning: nested extern declaration of
‘snmp_add_null_var'<br>
iface.c:827: warning: nested extern declaration of
‘snmp_synch_response'<br>
iface.c:832: error: ‘STAT_SUCCESS' undeclared (first use in
this function)<br>
iface.c:832: error: dereferencing pointer to incomplete type<br>
iface.c:832: error: ‘SNMP_ERR_NOERROR' undeclared (first use
in this function)<br>
iface.c:834: error: dereferencing pointer to incomplete type<br>
iface.c:834: error: dereferencing pointer to incomplete type<br>
iface.c:835: error: dereferencing pointer to incomplete type<br>
iface.c:835: error: ‘ASN_OCTET_STR' undeclared (first use in
this function)<br>
iface.c:836: error: dereferencing pointer to incomplete type<br>
iface.c:836: error: dereferencing pointer to incomplete type<br>
iface.c:837: error: dereferencing pointer to incomplete type<br>
iface.c:848: warning: nested extern declaration of
‘snmp_free_pdu'<br>
iface.c:849: warning: nested extern declaration of
‘snmp_close'<br>
make[2]: *** [iface.lo] Error 1<br>
make[2]: Leaving directory `/home/xlbrlx/ntop-3.3'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/xlbrlx/ntop-3.3'<br>
make: *** [all] Error 2<br>
<br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Ntop mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Ntop@listgateway.unipi.it">Ntop@listgateway.unipi.it</a> <a \
class="moz-txt-link-freetext" \
href="http://listgateway.unipi.it/mailman/listinfo/ntop">http://listgateway.unipi.it/mailman/listinfo/ntop</a>
</pre>
</blockquote>
<br>
</body>
</html>
_______________________________________________
Ntop mailing list
Ntop@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic