[Iftop-users] Compile failure off HEAD

Garrett Cooper yanegomi at gmail.com
Sat, 20 Aug 2011 20:49:31 -0700


Hi,
    Trying to determine whether or not the prerelease version has the
same SI units bug as 0.17, I checked out the source from CVS HEAD and
ran into this build bug on FreeBSD:

$ make all
make  all-recursive
Making all in config
gcc -DHAVE_CONFIG_H -I.      -g -O2 -MT addr_hash.o -MD -MP -MF
.deps/addr_hash.Tpo -c -o addr_hash.o addr_hash.c
addr_hash.c: In function 'hash':
addr_hash.c:46: error: 'struct in6_addr' has no member named 's6_addr32'
addr_hash.c:54: error: 'struct in6_addr' has no member named 's6_addr32'
*** Error code 1

Stop in /scratch/iftop.
*** Error code 1

Stop in /scratch/iftop.
*** Error code 1

Stop in /scratch/iftop.
$ uname -a
FreeBSD bayonetta.local 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224946M: Thu
Aug 18 10:02:09 PDT 2011
gcooper@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64

    Looks like some linuxisms have crept into the source.
Thanks,
-Garrett