Hi Andy,
I've added a patch into ntop's CVS. Anyway the problem you reported is
quite strange in the sense that you have the ICMP definitions but you
miss ICMP_MAXTYPE. What OS are you using?

Cheers, Luca


[EMAIL PROTECTED] wrote:
> 
> Hi,
> I compiled ntop, and the required files no problem, no errors came from
> any of that, but when I did make it gave this:
> 
> stargate-i:/home/ftp/linuxtools/ntop-current/ntop# make
> cd . && autoheader
> make  all-recursive
> make[1]: Entering directory `/home/ftp/linuxtools/ntop-current/ntop'
> Making all in .
> make[2]: Entering directory `/home/ftp/linuxtools/ntop-current/ntop'
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include 
>-I/home/ftp/linuxtools/ntop-current/gdchart0.94c -I/usr/local/ssl/include    -g -O2 
>-pipe -c address.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I/usr/local/include 
>-I/home/ftp/linuxtools/ntop-current/gdchart0.94c -I/usr/local/ssl/include -g -O2 
>-pipe -Wp,-MD,.deps/address.pp -c  -fPIC -DPIC address.c -o .libs/address.lo
> In file included from address.c:22:
> ntop.h:1433: `ICMP_MAXTYPE' undeclared here (not in a function)
> ntop.h:1433: size of array `icmpMsgSent' has non-integer type
> ntop.h:1434: `ICMP_MAXTYPE' undeclared here (not in a function)
> ntop.h:1434: size of array `icmpMsgRcvd' has non-integer type
> make[2]: *** [address.lo] Error 1
> make[2]: Leaving directory `/home/ftp/linuxtools/ntop-current/ntop'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ftp/linuxtools/ntop-current/ntop'
> make: *** [all-recursive-am] Error 2
> 
> I'd like to get it working on this system as I use it on many others
> and its a great program!
> 
> any help apprechiated.
> 
> [EMAIL PROTECTED]
> http://www.linuxnetworking.co.uk

-- 
Luca Deri                Telecom Italia IT
Via Matteucci 34/B       56124 Pisa, Italy.
Ph. +39/050/968.639      Fax. +39/050/968.626
Email: [EMAIL PROTECTED] WWW: http://luca.ntop.org/
ICQ: 68183632
Software is about stuff, about getting hands dirty - Jim Coplien

Reply via email to