this segfaults on ia64. (Cannot cast an int to a pointer). The rest of the code does it this way rather than use system includes....
for tcpdchk
Rest of build to follow.