* CAP pl184 build on DEC Alpha
@ 1994-01-28 20:36 Paul A. Scowen
1994-01-30 6:49 ` Dan Mosedale
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Paul A. Scowen @ 1994-01-28 20:36 UTC (permalink / raw)
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.
-------------------------------------------------------------------------------
Paul A. Scowen INTERNET: scowen@tycho.la.asu.edu
Department of Physics & Astronomy paul.scowen@asu.edu
Arizona State University DECnet: PHYAST::SCOWEN
Box 871504 Bitnet: scowen@asu
Tempe, AZ 85287-1504 Tel: (602) 965-0938
USA FAX: (602) 965-7954
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: CAP pl184 build on DEC Alpha
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
2 siblings, 0 replies; 5+ messages in thread
From: Dan Mosedale @ 1994-01-30 6:49 UTC (permalink / raw)
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
^^^^^^^^^
Do you mean 3000/400?
>particular problem that kept crashing the software.
>
>Up to "make programs" the build is fine. During the make
>the following errors come up as a result of the DIRENT calls:
>
> [various union wait errors deleted]
I can't imagine why this is occurring unless it is new to pl184. pl182
compiled just fine for me without any extra hackery. This said,
though, there are probably two ways to fix your problem:
- compile with -D_BSD and link with -lbsd. This will cause the
include files and libraries to provide the necessary structures.
- compile with -DNOWAIT3. This will cause CAP not to try and use the
wait3() stuff.
--
Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU
Stanford Genetics Department
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: CAP pl184 build on DEC Alpha
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
2 siblings, 0 replies; 5+ messages in thread
From: Alex Jones @ 1994-01-30 19:01 UTC (permalink / raw)
If you look in the header file <sys/wait.h>, I believe in order to pull in
the code for union wait, you have to define _BSD. Try defining that and
see if it works.
Alex Jones
ajones@ee.tufts.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CAP pl184 build on DEC Alpha
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
1994-02-01 1:20 ` Ezra Peisach
2 siblings, 1 reply; 5+ messages in thread
From: Andy Sun @ 1994-01-31 14:22 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CAP pl184 build on DEC Alpha
1994-01-31 14:22 ` Andy Sun
@ 1994-02-01 1:20 ` Ezra Peisach
0 siblings, 0 replies; 5+ messages in thread
From: Ezra Peisach @ 1994-02-01 1:20 UTC (permalink / raw)
Just for the record, I have built CAP60 pl 184 on DEC OSF 1.3 - note
that (at least according to the manuals) you need at least 1.3 for the
packet filter functionality.
I can only guess that you have not followed instructions and run
Configure and the gen.makes before starting the compile....
Note - there is another patch that was posted to this news group last
week about a bug in quota handling of aufs.... (I have not installed it
yet).
I am not running the beta version of lwsrv so I cannot speak about that.
Personally - I think defining -D_BSD and linking with -lbsd is the wrong
way to go.
Good luck...
Ezra
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-02-01 1:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1994-02-01 1:20 ` Ezra Peisach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox