Mailing List Archive

ntop HPUX question
Hi,

I run into a problem when I run make on ntop 1.3a0 with the following
message;

make all-recursive
make[1]: Entering directory
`/home/sreilly/adm/local/ntop/ntop-current/ntop'
Making all in .
make[2]: Entering directory
`/home/sreilly/adm/local/ntop/ntop-current/ntop'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/local/include -I/usr/local/include -I/usr/local/ssl/include -g
-O2 -pipe -c address.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include
-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 ntop.h:409,
from address.c:22:
/usr/local/include/pcap.h:42: net/bpf.h: No such file or directory
In file included from ntop.h:409,
from address.c:22:
/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, 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:121: warning: `struct bpf_program' declared
inside parameter list
/usr/local/include/pcap.h:137: warning: `struct bpf_insn' declared
inside parameter list
/usr/local/include/pcap.h:138: warning: `struct bpf_insn' declared
inside parameter list
In file included from address.c:22:
ntop.h:1378: field `fcode' has incomplete type
address.c: In function `resolveAddress':
address.c:164: `NETDB_SUCCESS' undeclared (first use in this function)
address.c:164: (Each undeclared identifier is reported only once
address.c:164: for each function it appears in.)
make[2]: *** [address.lo] Error 1
make[2]: Leaving directory
`/home/sreilly/adm/local/ntop/ntop-current/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/sreilly/adm/local/ntop/ntop-current/ntop'
make: *** [all-recursive-am] Error 2

I am running HPUX 11.00

Regards,

Steve

--
=========================
Steven J. Reilly, EDA Engineer
Allegro Microsystems Europe Ltd
Stuart House, Eskmills Park,
Musselburgh, EH21 7PB, Scotland.
Tel: +44 (0)131 273 4306
Fax: +44 (0)131 273 4301
e-mail: sreilly@allegromicro.com