[Iftop-users] iftop 1.0pre1

Paul Warren pdw at ex-parrot.com
Sat, 27 Nov 2010 17:38:34 +0000


On 27/11/2010 17:32, Dimiter Maznekov wrote:
> There is error when make after config?
>
> In file included from iftop.c:6:
> integers.h:35: warning: redefinition of `u_int8_t'
> /usr/include/sys/types.h:197: warning: `u_int8_t' previously declared here
> integers.h:39: warning: redefinition of `u_int16_t'
> /usr/include/sys/types.h:198: warning: `u_int16_t' previously declared here
> integers.h:43: warning: redefinition of `u_int32_t'
> /usr/include/sys/types.h:199: warning: `u_int32_t' previously declared here
> iftop.c:22:21: net/bpf.h: No such file or directory
> make: *** [iftop.o] Error 1

What system is that on?

I suspect that if you change iftop.c from

	#include <net/bpf.h>

to
	
	#include <bpf.h>

it'll work.

Paul