I had the same error as jocornhill, on Debian 3.0 kernel 2.4.22.
I tried both swapping the two lines in nistnet.h as shrevz suggests and applying the patches found in
http://w3.mivlmd.cablespeed.com/~tmolina/ (of course not the two tries at the same time!!!).
In both cases,the problem related to 'igmp' field seems to be solved, but a different error occurs:
[.................]
make[1]:Entering directory `/usr/src/nistnet/monitor'
making all in ./TextField-1.01...
make[2]: Entering directory `/usr/src/nistnet/monitor/TextField-1.01'
gcc -O2 -fno-strength-reduce -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -g -Wall -c -o TextField.o TextField.c
gcc -O2 -fno-strength-reduce -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -g -Wall -c -o demo.o demo.c
demo.c:27: X11/Xaw/Form.h: No such file or directory
make[2]: *** [demo.o] Error 1
make[2]: Leaving directory `/usr/src/nistnet/monitor/TextField-1.01'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/nistnet/monitor'
make: *** [sub_dirs] Error 2
Jocorn, did you have the same problem or did you succeed in installing nistnet?
Can anyone help me?
Thanks in advance!!!!
birus