Daryn Neadow dneadow at appliedsystems.ca
Fri Oct 28 14:25:33 PDT 2005

Has anyone had any luck building iptraf on LFS-6.1? 

I recieve the same errors weather I build 3.0.0 or 2.7.0.  Here is the complie 
errors that I recieve from the 3.0.0 version:

root at lfs:/usr/src/iptraf-3.0.0/src# make
gcc -Wall  -DWORKDIR=\"/var/local/iptraf\" -DLOGDIR=\"/var/log/iptraf\" 
-DEXECDIR=\"/usr/local/bin\" -I/usr/include/ncurses -I../support 
-DVERSION=\"3.0.0\" -DPLATFORM=\"Linux/i386\"     -c -o iptraf.o iptraf.c
In file included from tcptable.h:27,
                 from iptraf.c:54:
/usr/include/net/if.h:45: error: parse 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'
make: *** [iptraf.o] Error 1
root at lfs:/usr/src/iptraf-3.0.0/src#           

Any ideas are welcome.


More information about the lfs-support mailing list