From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa8e5,1cb5f66cba3c8c6e X-Google-Attributes: gidfa8e5,public X-Google-Thread: fee84,1cb5f66cba3c8c6e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-31 18:09:40 PST Xref: gmd.de comp.protocols.appletalk:7447 comp.unix.osf.osf1:2092 Newsgroups: comp.protocols.appletalk,comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!utnut!ie.utoronto.ca!andy From: andy@ie.utoronto.ca (Andy Sun) Subject: Re: CAP pl184 build on DEC Alpha Message-ID: Organization: University of Toronto, Department of Industrial Engineering References: <2ibt0cINNhs3@lanews.la.asu.edu> Date: Mon, 31 Jan 1994 14:22:17 GMT 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