Have you tried to run it with this error?  nTop doesn't typically make
use of snmp unless you're using the snmpPlugin - so maybe it will work
fine for you.  Else I'd definitely look into the snmp libraries and
maybe compile without SNMP?  Wish I could help more.

G


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Eric Brander
Sent: Tuesday, October 23, 2007 9:49 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] NTOP install on Ubuntu

I'm trying to install NTOP on Ubuntu:

Linux 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686
GNU/Linux

Installing from source, NOT apt-get: ntop-3.3.tar.gz

autogen.sh runs fine however when I run "make -d" I get the following
output:

~snip~
 gcc -DHAVE_CONFIG_H -I. -I. -DINET6 -g -Wall -O2 -DNETSNMP_USE_INLINE
-Dlinux -I. -I/usr/include -I/usr/local/rrdtool/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
In file included from /usr/include/net-snmp/utilities.h:54,
                 from /usr/include/net-snmp/net-snmp-includes.h:74,
                 from iface.c:766:
/usr/include/net-snmp/library/container.h: In function 'CONTAINER_FREE':
/usr/include/net-snmp/library/container.h:416: error: invalid lvalue
in assignment
iface.c: In function 'getIfName':
iface.c:784: warning: unused variable 'count'
Reaping losing child 0x080de4f0 PID 27110
make[2]: *** [iface.lo] Error 1
Removing child 0x080de4f0 PID 27110 from chain.
make[2]: Leaving directory `/btn/src/ntop-3.3'
Reaping losing child 0x08078458 PID 25843
make[1]: *** [all-recursive] Error 1
Removing child 0x08078458 PID 25843 from chain.
make[1]: Leaving directory `/btn/src/ntop-3.3'
Reaping losing child 0x080a2828 PID 25835
make: *** [all] Error 2
Removing child 0x080a2828 PID 25835 from chain.
~end~

I've searched for that error on Google but only find someone else
asking a similar question with no resolution.

In an effort to get all the dependencies I've run "apt-get build-dep
ntop" but I still get that error.

Might anyone be able to suggest some additional troubleshooting I can
do?

Thanks for your time,

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

===========================================================================





"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

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

Reply via email to