In the file packet.c in function packet_set_interactive, line 1349 there is a preprocessor directive making the call to packet_set_tos dependent on IP_TOS being defined, what makes sense. Unfortunately in the function packet_set_tos IP_TOS is used unconditionally, what breaks compilation at least on SunOS-4, that is not aware of this IP option. So either the entire function is #ifdef-ed away or at least the call of setsockopt in line 1325 including the if(...) error(...)
This looks awfully similar to bug #527. *** This bug has been marked as a duplicate of 527 ***
Mass change of RESOLVED bugs to CLOSED