You've neglected to give us ANY information about your setup.
Guess: It looks like you don't have a full/proper install of gdbm or didn't
run configure.
1. Make sure you have gdbm installed properly. Ntop looks for two files:
test -r $GDBM_ROOT/libgdbm.a
test -r $GDBM_ROOT/gdbm.h
2. Did you run configure? Try recreating the configure files from the .ins
by doing this (you may need to tell it where to find gdbm):
./autogen.sh -1
./configure <options>
make
(Excerpted & Slightly updated from a 07Jan2001 post to ntop and ntop-dev)
We don't mind helping people, but you do have to give the rest of the people
monitoring this mailing list some basic information.
I've given notice that I will not reply to ANY "NTop has a bug" messages
unless you provide some reasonable information about your configuration!
(If you don't like it, ask somebody else to support you... I don't think
it's unreasonable to ask it... If you're uncomfortable giving specifics
(such as which mail server, then leave it generic))
Specifically:
Hardware
Type & # of processors
Amount of memory
# network interfaces and types (vendor, bus, etc.)
Software
NTop version, source and any applied patches
If you've compiled from the source, say so!
If you're using a package (such as an .rpm), where did you get
it from and what is the EXACT name?
The EXACT command line you are using to invoke NTop
OS vendor & version
Any major upgrades (kernel, networking, etc.)
gcc version (e.g. gcc --version)
glibc version
What else is running
Network
Roughly where are the interface(s) you're monitoring (Public Internet,
Private LAN, what?)
What's the bandwidth (e.g. 10 Mbps University internet, 1.5 Mbps T1,
CableModem capped at 1.5Mbps, 56K dialup)
How many machines (traffic sources/destinations) and users
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Javier Colter
Sent: Monday, January 28, 2002 5:23 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] building problem
I cannot compile it, any ideas?
--
sarge:/usr/src/ntop/ntop# make
make all-recursive
make[1]: Entering directory `/usr/src/ntop/ntop'
Making all in .
make[2]: Entering directory `/usr/src/ntop/ntop'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/src/ntop/gdchart0.94c -I/usr/local/ssl/include -g -O2 -pipe -c
address.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/usr/src/ntop/gdchart0.94c
-I/usr/local/ssl/include -g -O2 -pipe -Wp,-MD,.deps/address.pp -c
address.c -fPIC -DPIC -o .libs/address.lo
address.c: In function `resolveAddress':
address.c:301: `data_data' undeclared (first use in this function)
address.c:301: (Each undeclared identifier is reported only once
address.c:301: for each function it appears in.)
address.c:307: `gdbmMutex' undeclared (first use in this function)
address.c:310: `gdbm_file' undeclared (first use in this function)
address.c:319: `key_data' undeclared (first use in this function)
address.c:319: `GDBM_REPLACE' undeclared (first use in this function)
address.c: In function `ipaddr2str':
address.c:516: `tmpBuf' undeclared (first use in this function)
address.c:519: `key_data' undeclared (first use in this function)
address.c:523: `gdbmMutex' undeclared (first use in this function)
address.c:526: `gdbm_file' undeclared (first use in this function)
address.c:527: `data_data' undeclared (first use in this function)
address.c: In function `cleanupHostEntries':
address.c:1352: `datum' undeclared (first use in this function)
address.c:1352: parse error before `data_data'
address.c:1360: `gdbmMutex' undeclared (first use in this function)
address.c:1362: `return_data' undeclared (first use in this function)
address.c:1362: `gdbm_file' undeclared (first use in this function)
address.c:1369: `key_data' undeclared (first use in this function)
address.c:1374: `data_data' undeclared (first use in this function)
make[2]: *** [address.lo] Error 1
make[2]: Leaving directory `/usr/src/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ntop/ntop'
make: *** [all-recursive-am] Error 2
Thanks :)
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop