本菜鸟在slackware 11下编译 iptraf 3.0, 旧的2.7卸载了
结果# 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:25,
from iptraf.c:54:
/usr/include/linux/if_fddi.h:110: error: field `gen' has incomplete type
后来从redhat as4.5 拷贝来一个同样的文件替换 ,就OK啦。