>Number:         2516
>Category:       general
>Synopsis:       Compilation fails: wait() wants "union wait status" and some 
>"redefinition" warnings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sat Jun 27 06:50:00 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.0
>Environment:
/etc/motd
NEWS-OS Release 4.2.1R FCS#5 #13: Mon Sep  8 23:50:00 JST 1997
CC=gcc-2.7.2.3
>Description:
1. The prototype of my wait() is 
    int wait(union wait *status)
and all other wait(2) wants "union wait"
2. No WEXITSTATUS() and WTERMSIG().
3. "-DNEWSOS" causes some warnings. Because /usr/include/sys/newsos.h has 
definition of it. "-DNEWS4" is better. (No patch)
>How-To-Repeat:

>Fix:
An easy patch for the problem 1. and 2. is at 
http://zeisei3.dpri.kyoto-u.ac.jp/~nakaji/install/NEWS/net/ref/apache130.diff
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to