From: hubcap@hubcap.clemson.edu (System Janitor)
Subject: Re: Porting code problems
Date: 7 Apr 94 16:42:10 GMT [thread overview]
Message-ID: <hubcap.765736930@hubcap> (raw)
In-Reply-To: 2o1arm$lbg@chaos.dac.neu.edu
johnson@chaos.dac.neu.edu (Chris Johnson) writes:
> We just received an Alpha4000 running OSF 1 v2.0. I'm trying to
>port code to it that was originally written for Sys V, ported to Sun OS,
>ported again to Ultrix. I'd be VERY interested in talking/e-mailing to
>anyone really familiar with ports to OSF 1. I'm finding errors that I
>believe to be (but aren't sure) related to structures not being defined
>when I include them from /usr/include. The simplest example I have,
>which works fine with Ultrix, is the following.
>#include <sys/wait.h>
>main()
>{ struct wait abd;
>}
>That compiler claims that the storage size for abc is unknown. There
>are other problem as well but this is one of them.
> Any body been through these ports?
Here's some code segments from ``popper'', specifically from
pop_xmit.c, showing what I did to that code to make it run on OSF.
Maybe you can extrapolate a solutution to your problem from this...
/*union wait stat;*/
unsigned stat;
. . .
/*if (stat.w_retcode)*/
if (stat)
-Mike
next prev parent reply other threads:[~1994-04-07 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-04-07 16:03 Porting code problems Chris Johnson
1994-04-07 16:42 ` System Janitor [this message]
1994-04-08 17:50 ` Jeff Carter
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