* Problem with union wait in OSF/1
@ 1993-08-30 6:32 Daniel O'Callaghan
1993-08-30 6:41 ` Mike Iglesias
0 siblings, 1 reply; 2+ messages in thread
From: Daniel O'Callaghan @ 1993-08-30 6:32 UTC (permalink / raw)
Hi I'm having a few problems compiling Xgopher1.3 on a DEC AXP under
OSF/1.
It looks to me like there is a bug in the preprocessor when it comes to
doing union structures, as it generates the message:
/usr/lib/cmplrs/cc/cfe: Error: jobs.c, line 180: storage size for 'status' isn't known
union wait status;
---------- ^
So I hunted down /usr/include/sys/wait.h and looked at it, and I can't
see anything which is odd, except for a few missing "short"s which I put in
but did not change the situation.
I tried a tiny (very) program:
#include <sys/wait.h>
#include <sys/types.h>
void main( )
{
union wait stuff;
}
And that compiles fine on SunOs cc and gcc,
but still gives the dumb error on the AXP.
Has anyone struck this before? Any solutions?
Danny
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with union wait in OSF/1
1993-08-30 6:32 Problem with union wait in OSF/1 Daniel O'Callaghan
@ 1993-08-30 6:41 ` Mike Iglesias
0 siblings, 0 replies; 2+ messages in thread
From: Mike Iglesias @ 1993-08-30 6:41 UTC (permalink / raw)
In article <9308300637.AA28416@pet1.austin.unimelb.edu.au>,
Daniel O'Callaghan <danny@austin.unimelb.edu.au> wrote:
>Hi I'm having a few problems compiling Xgopher1.3 on a DEC AXP under
>OSF/1.
>
>It looks to me like there is a bug in the preprocessor when it comes to
>doing union structures, as it generates the message:
>
>/usr/lib/cmplrs/cc/cfe: Error: jobs.c, line 180: storage size for 'status' isn't known
> union wait status;
> ---------- ^
>
>So I hunted down /usr/include/sys/wait.h and looked at it, and I can't
>see anything which is odd, except for a few missing "short"s which I put in
>but did not change the situation.
Either read the man page for wait or compile your program with
-D_BSD. OSF/1 has different arguments for wait.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine BITNET: iglesias@uci
Office of Academic Computing uucp: ...!ucbvax!ucivax!iglesias
Distributed Computing Support phone: (714) 856-6926
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-08-30 6:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-08-30 6:32 Problem with union wait in OSF/1 Daniel O'Callaghan
1993-08-30 6:41 ` Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox