New issue as I cleared up the previous,n file included from 
/usr/local/include/net-snmp/utilities.h:54,                 from 
/usr/local/include/net-snmp/net-snmp-includes.h:74,                 from 
iface.c:766:/usr/local/include/net-snmp/library/container.h: In function 
�CONTAINER_FREE�:/usr/local/include/net-snmp/library/container.h:416: 
error: invalid lvalue in assignmentiface.c: In function 
�getIfName�:iface.c:784: warning: unused variable �count�make[2]: *** 
[iface.lo] Error 1make[2]: Leaving directory `/root/Desktop/ntop-3.3'make[1]: 
*** [all-recursive] Error 1make[1]: Leaving directory 
`/root/Desktop/ntop-3.3'make: *** [all] Error 2What is an lvalue and is there a 
quick fix to this error...???SNMP package install went well but have new error 
when attempting to run "make" in NTOP..... --- On Tue 06/12, Robert 
< [EMAIL PROTECTED] > wrote:From: Robert [mailto: [EMAIL PROTECTED]: 
[email protected], [EMAIL PROTECTED]: 
Tue, 12 Jun 2007 15:37:06 -0500Subject: Re: [Ntop] SuSe 10.1 Install IssueOn 
Tuesday 12 June 2007, Wm T. Robinson wrote:> I have a server running SuSe 
10.1 have loaded NTOP on another with 10.2> without any issue, however the 
10.1 box is reporting an error when> attempting to run 
"make".>> Cannot seem to find any indication of what may be 
causing this via numerous> search resources.>> Any assistance would 
greatly be appreciated......>> linux-bkqe:~/Desktop/ntop-3.3 # make> 
make all-recursive> make[1]: Entering directory `/root/Desktop/ntop-3.3'> 
Making all in .> make[2]: Entering directory `/root/Desktop/ntop-3.3'> if 
/bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I.> -I. 
-I. -DINET6 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall> 
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -fstack-protector-all -Dlinux> 
-I/usr/include/rpm -I. -I/usr/include -DLINUX -I/usr/local/include -g -O2> 
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes> 
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT iface.lo -MD -MP> 
-MF ".deps/iface.Tpo" -c -o iface.lo iface.c; \ then mv -f> 
".deps/iface.Tpo" ".deps/iface.Plo"; else rm -f 
".deps/iface.Tpo"; exit 1;> fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I. 
-DINET6 -O2 -march=i586 -mtune=i686> -fmessage-length=0 -Wall 
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing> -fstack-protector-all -Dlinux 
-I/usr/include/rpm -I. -I/usr/include -DLINUX> -I/usr/local/include -g -O2 
-I/usr/local/include -Wshadow -Wpointer-arith> -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fPIC -DPIC> -MT iface.lo -MD -MP 
-MF .deps/iface.Tpo -c iface.c -fPIC -DPIC -o> .libs/iface.o 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 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: implicit declaration of function �init_snmp�> iface.c:791: 
warning: nested extern declaration of �init_snmp�> iface.c:796: warning: 
implicit declaration of function �snmp_sess_init�> 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: implicit declaration of function> �snmp_open� iface.c:811: 
warning: nested extern declaration of �snmp_open�> iface.c:811: 
warning: assignment makes pointer from integer without a cast> iface.c:816: 
warning: implicit declaration of function �snmp_pdu_create�> 
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:816: warning: assignment makes pointer from integer 
without a cast> iface.c:819: warning: implicit declaration of function 
�read_objid�> 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: implicit declaration of function 
�snmp_add_null_var�> iface.c:819: warning: nested extern declaration of 
�snmp_add_null_var�> iface.c:827: warning: implicit declaration of 
function> �snmp_synch_response� 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:837: error: 
dereferencing pointer to incomplete type> iface.c:848: warning: implicit 
declaration of function �snmp_free_pdu�> iface.c:848: warning: nested 
extern declaration of �snmp_free_pdu�> iface.c:849: warning: implicit 
declaration of function �snmp_close�> iface.c:849: warning: nested 
extern declaration of �snmp_close�> iface.c:784: warning: unused 
variable �count�> iface.c:775: warning: unused variable 
�session�> make[2]: *** [iface.lo] Error 1> make[2]: Leaving 
directory `/root/Desktop/ntop-3.3'> make[1]: *** [all-recursive] Error 1> 
make[1]: Leaving directory `/root/Desktop/ntop-3.3'> make: *** [all] Error 
2>I'm no expert, but I'd say you are missing the net-snmp development 
packages. Specifically, net-snmp-config.h and net-snmp-includes.h are 
missing.See thehe lines in your original message:iface.c:765:38: error: 
net-snmp/net-snmp-config.h: No such file or directoryiface.c:766:40: error: 
net-snmp/net-snmp-includes.h: No such file or directory-- Fail to learn 
history-repeat it.Fail to learn rights-lose them.Learn both-get screwed by 
previous two groups.

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to