Package: iptraf
Version: 2.7.0-7
Severity: serious

iptraf fails to build because it has a syntax error and three
structure redefinitions:

> gcc -Wall  -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" 
> -DEXECDIR=\"/usr/sbin\" -I/usr/include/ncurses -I../support 
> -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\"  -g    -c -o iptraf.o iptraf.c
> In file included from tcptable.h:27,
>                  from iptraf.c:54:
> /usr/include/net/if.h:45: error: syntax error before numeric constant
> /usr/include/net/if.h:111: error: redefinition of 'struct ifmap'
> /usr/include/net/if.h:126: error: redefinition of 'struct ifreq'
> /usr/include/net/if.h:176: error: redefinition of 'struct ifconf'

The problem is that it includes both <linux/if.h> and <net/if.h>,
which aren't compatible.

-- 
Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to