Sounds like you have just enough installed to fool the test but not the
actual package with the .h files.

Make sure you have installed not only the snmp packages but the snmp
developer packages - that's where the .h files come from and ntop needs
those to build.

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wm
T. Robinson
Sent: Tuesday, June 12, 2007 10:14 AM
To: [email protected]
Subject: [Ntop] SuSe 10.1 Install Issue


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 isnt 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





_______________________________________________
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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.9.0/852 - Release Date: 6/17/2007
8:23 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.9.0/852 - Release Date: 6/17/2007
8:23 AM
 

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to