Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: andy@ie.utoronto.ca (Andy Sun)
Subject: Re: CAP pl184 build on DEC Alpha
Date: Mon, 31 Jan 1994 14:22:17 GMT	[thread overview]
Message-ID: <CKHzx6.FtG@ie.utoronto.ca> (raw)
In-Reply-To: 2ibt0cINNhs3@lanews.la.asu.edu

scowen@tycho.la.asu.edu (Paul A. Scowen) writes:

>Hi guys,

>ok I'm going to start this all over again.  2 months ago I
>tried to build CAP on my Alpha 400 and couldn't get past a
>particular problem that kept crashing the software.

>I'm running OSF/1 v1.3 and trying to build CAP pl184.  So far
>the build went ok, except that the same errors as before
>cropped up and I would really like someone either at Munnari
>or the guy who patched the code for Alpha's to please post a
>fix to this problem.

>Up to "make programs" the build is fine.  During the make
>the following errors come up as a result of the DIRENT calls:

>cc -DBYTESWAPPED -DPHASE2 -O -DUSEDIRENT  -c isrv.c
>/usr/lib/cmplrs/cc/cfe: Error: isrv.c, line 215: storage size for 'status' isn't known
>   union wait status;
> -------------^

>and,

>cc -DBYTESWAPPED -DPHASE2 -O -DUSEDIRENT  -DUSESYSVLP -c lwsrv.c
>/usr/lib/cmplrs/cc/cfe: Error: lwsrv.c, line 386: storage size for 'status' isn't known
>   union wait status;
> -------------^
>/usr/lib/cmplrs/cc/cfe: Error: lwsrv.c, line 821: storage size for 'waitstatus' isn't known
>   union wait waitstatus;
> -------------^
>/usr/lib/cmplrs/cc/cfe: Error: lwsrv.c, line 821: Reference an expression of void type or an incomplete type.
>   union wait waitstatus;
> -------------^
>/usr/lib/cmplrs/cc/cfe: Error: lwsrv.c, line 821: Reference an expression of void type or an incomplete type.
>   union wait waitstatus;
> -------------^
>/usr/lib/cmplrs/cc/cfe: Error: lwsrv.c, line 821: Reference an expression of void type or an incomplete type.
>   union wait waitstatus;
> -------------^
>*** Exit 1
>Stop.
>*** Exit 1
>Stop.
>*** Exit 1 (ignored)

>Any ideas guys - I really need to get this software running this
>time?  Thanks in advance.

I've encountered this error while compiling Adobe Transcript on the Alpha.
The solution is to add -D_BSD (note the underscore) to CFLAGS. This
will cause the correct wait() to be defined in the header file
/usr/include/wait.h. This worked for me under OSF/1 v1.2a. Please let me
know how it goes 'cos sooner or later I'll need to run CAP on our Alpha
box as well.

Andy
-- 
Andy Sun (andy@ie.utoronto.ca)          4 Taddle Creek Road, Toronto
Computing Coordinator                   Ontario, Canada. M5S 1A4
Department of Industrial Engineering    Phone: (416) 978-8830
University of Toronto                   Fax:   (416) 978-3453


  parent reply	other threads:[~1994-01-31 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-28 20:36 CAP pl184 build on DEC Alpha Paul A. Scowen
1994-01-30  6:49 ` Dan Mosedale
1994-01-30 19:01 ` Alex Jones
1994-01-31 14:22 ` Andy Sun [this message]
1994-02-01  1:20   ` Ezra Peisach
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox