IRIX does not have the wait4 function. Therefore in dcc_collect_child()
in exec.c, replace:
if ((ret_pid = wait4(pid, wait_status, 0, &ru)) != -1) {
with:
#if defined(__sgi__)
if ((ret_pid = waitpid(pid, wait_status, 0)) != -1) {
getrusage(-1, &ru);
#else
if ((ret_pid = wait4(pid, wait_status, 0, &ru)) != -1) {
#endif
or however else you want it done. This compiles and seems to work.
Thanks,
Mike Santy
_______________________________________________
distcc mailing list
[EMAIL PROTECTED]
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc
