From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b0a27003ca47d948 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-04 09:15:19 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!john From: john@iastate.edu (John Hascall) Subject: Re: I need help porting to OSF1 from SUN OS Message-ID: Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA References: Date: Tue, 4 Jan 1994 16:41:00 GMT gerland@ubvms.cc.buffalo.edu (Jim Gerland - Network Consultant) writes: }I'm just beginning to port the FreePort software, used by most of the }Free-Net systems. } }Let me preface this by saying that my 'c' knowledge is limited :-( } }My initial problem is with the following error: } }cc -Iunix -Isrc -Ilib/lst -Ilib/include -O -c src/compat.c }/usr/lib/cmplrs/cc/cfe: Error: src/compat.c, line 115: storage size for }'reason' isn't known } union wait reason; } ---------------- --^ The "wait()" family of functions has changed somewhat. You can either declare: int reason; or compile with the -D_BSD option (I think you'll need to do the latter if you use the "wait3()" function). John -- John Hascall ``An ill-chosen word is the fool's messenger.'' Systems Software Engineer Project Vincent Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551