[Iftop-users] Porting iftop 1.0 to FreeBSD

Frédéric Perrin frederic.perrin at resel.fr
Mon, 06 Dec 2010 12:34:43 +0100


Le lundi 6 à 10:37, Chris Anderson a écrit :
> I just applied the patch and now it fails to build here:
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I.      -g -O2 -MT counter=
_hash.o -MD -MP -MF
> ".deps/counter_hash.Tpo" -c -o counter_hash.o counter_hash.c;  then =
mv -f
> ".deps/counter_hash.Tpo" ".deps/counter_hash.Po"; else rm -f ".deps/
> counter_hash.Tpo"; exit 1; fi
> counter_hash.c:6:26: error: counter_hash.h: No such file or directory
> *** Error code 1

I didn't touch counter_hash.{c,h}. Are you using `make all', by
chance? From a mail by Paul Warren, you should be using `make iftop'
instead.

http://lists.beasts.org/pipermail/iftop-users/2010-November/000318.html
> Turns out that there's some stuff in the distribution that shouldn't
> be there and will cause the build to fail.
>
> If you run "make iftop" rather than just "make" it should work.


-- 
Fred