2001-04-25 15:13:08

by Ahmed Warsame

[permalink] [raw]
Subject: NTOP for Redhat

I tried to install my Linux Redhat the Network Monitoring system call Ntop
and the following messages is what I am getting each time I execute make.

I thought Libpcap is what is needed and I installed but it did not help.

Can any body out there help me whit this.

The following is the message that I am receiving form the system
installations

Thanks

creating config.h
config.h is unchanged
make all-recursive
make[1]: Entering directory `/etc/ntop/ntop-1.3.1'
Making all in gdchart0.94b
make[2]: Entering directory `/etc/ntop/ntop-1.3.1/gdchart0.94b'
cc -Igd1.3 -I. -g -c gdc.c
cc -Igd1.3 -I. -g -c gdchart.c
cc -g -c price_conv.c
cc -Igd1.3 -I. -g -c gdc_pie.c
cd gd1.3 ; make -f Makefile libgd.a
make[3]: Entering directory `/etc/ntop/ntop-1.3.1/gdchart0.94b/gd1.3'
cc -O -c -o gd.o gd.c
cc -O -c -o gdfontt.o gdfontt.c
cc -O -c -o gdfonts.o gdfonts.c
cc -O -c -o gdfontmb.o gdfontmb.c
cc -O -c -o gdfontl.o gdfontl.c
cc -O -c -o gdfontg.o gdfontg.c
rm -f libgd.a
ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
gdfontl.o gdfontg.o
make[3]: Leaving directory `/etc/ntop/ntop-1.3.1/gdchart0.94b/gd1.3'
make[2]: Leaving directory `/etc/ntop/ntop-1.3.1/gdchart0.94b'
Making all in .
make[2]: Entering directory `/etc/ntop/ntop-1.3.1'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I./gdchart0.94b
-I/usr/include/pcap -g -O2 -pipe -c admin.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I./gdchart0.94b -I/usr/include/pcap -g -O2 -pipe -c
admin.c -fPIC -DPIC -o .libs/admin.lo
In file included from admin.c:23:
ntop.h:380: pcap.h: No such file or directory
In file included from admin.c:23:
ntop.h:465: field `h' has incomplete type
ntop.h:567: parse error before `pcap_t'
ntop.h:567: warning: no semicolon at end of struct or union
ntop.h:572: `filter' redeclared as different kind of symbol
/usr/include/ncurses.h:447: previous declaration of `filter'
ntop.h:655: parse error before `}'
ntop.h:655: warning: data definition has no type or storage class
ntop.h:1083: field `fcode' has incomplete type
ntop.h:1277: field `h' has incomplete type
In file included from ntop.h:1534,
from admin.c:23:
globals-core.h:38: parse error before `device'
globals-core.h:38: warning: data definition has no type or storage class
make[2]: *** [admin.lo] Error 1
make[2]: Leaving directory `/etc/ntop/ntop-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/etc/ntop/ntop-1.3.1'
make: *** [all-recursive-am] Error 2


2001-04-25 17:17:45

by Gábor Lénárt

[permalink] [raw]
Subject: Re: NTOP for Redhat

On Wed, Apr 25, 2001 at 10:55:44AM -0400, Ahmed Warsame wrote:
> I tried to install my Linux Redhat the Network Monitoring system call Ntop
> and the following messages is what I am getting each time I execute make.
>
> I thought Libpcap is what is needed and I installed but it did not help.

Install the development package of libpcap as well.
(libpcap-dev on Debian, I guess it must be libpcap-devel or something on
RedHat)
However, it's not the right forum for these types of questions.
This mailing list is about kernel developmenting and related topics.

- Gabor

--
--[ G?bor L?n?rt ]---[ Vivendi Telecom Hungary ]---------[ [email protected] ]--
U have 8 bit comp or chip of them and it's unused or to be sold? Call me!
-------[ +36 30 2270823 ]------> LGB <-----[ Linux/UNIX/8bit 4ever ]-----