From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7939619e93eeab71 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-29 23:45:58 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!news.service.uci.edu!draco.acs.uci.edu!iglesias From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: Problem with union wait in OSF/1 Nntp-Posting-Host: draco.acs.uci.edu Message-ID: <2C81A121.28420@news.service.uci.edu> Newsgroups: comp.sys.dec Organization: University of California, Irvine Date: 30 Aug 93 06:41:37 GMT References: <9308300637.AA28416@pet1.austin.unimelb.edu.au> In article <9308300637.AA28416@pet1.austin.unimelb.edu.au>, Daniel O'Callaghan 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