Ntop has a great reputation, and I would love to use it. However, I
cannot get any version to compile on my RedHat 6.2 box. I have tried
2.1.2 and 2.1.1. Do you have any suggestions?
Here's the error output during 'make':
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
cd . && autoheader
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
creating config.h
config.h is unchanged
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/local/include -g -O2 -pipe -c address.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -g -O2 -pipe
-Wp,-MD,.deps/address.pp -c address.c -fPIC -DPIC -o .libs/address.lo
In file included from ntop.h:613,
from address.c:21:
/usr/local/include/pcap.h:42: net/bpf.h: No such file or directory
In file included from ntop.h:613,
from address.c:21:
/usr/local/include/pcap.h:112: warning: `struct bpf_program' declared
inside parameter list
/usr/local/include/pcap.h:112: warning: its scope is only this
definition or declaration,
/usr/local/include/pcap.h:112: warning: which is probably not what you
want.
/usr/local/include/pcap.h:117: warning: `struct bpf_program' declared
inside parameter list
/usr/local/include/pcap.h:119: warning: `struct bpf_program' declared
inside parameter list
/usr/local/include/pcap.h:135: warning: `struct bpf_insn' declared
inside parameter list
/usr/local/include/pcap.h:136: warning: `struct bpf_insn' declared
inside parameter list
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
______________________________________
Curtis Kline
Residential Network Coordinator
University of California Santa Barbara
805.893.4016 Voice
805.893.4766 FAX
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop