* I need help porting to OSF1 from SUN OS
@ 1994-01-04 14:49 Jim Gerland - Network Consultant
1994-01-04 16:41 ` John Hascall
1994-01-23 22:39 ` Douglas Jones
0 siblings, 2 replies; 4+ messages in thread
From: Jim Gerland - Network Consultant @ 1994-01-04 14:49 UTC (permalink / raw)
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;
---------------- --^
Any ideas? Thanks.
----
Jim Gerland - Consultant, Network User Support University at Buffalo
Academic Services, Computing & Information Technology Buffalo, NY 14260
gerland@ubvms.cc.buffalo.edu 716.645.3557 Work
aa011@freenet.buffalo.edu 716.645.3734 FAX
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I need help porting to OSF1 from SUN OS
1994-01-04 14:49 I need help porting to OSF1 from SUN OS Jim Gerland - Network Consultant
@ 1994-01-04 16:41 ` John Hascall
1994-01-23 22:39 ` Douglas Jones
1 sibling, 0 replies; 4+ messages in thread
From: John Hascall @ 1994-01-04 16:41 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I need help porting to OSF1 from SUN OS
1994-01-04 14:49 I need help porting to OSF1 from SUN OS Jim Gerland - Network Consultant
1994-01-04 16:41 ` John Hascall
@ 1994-01-23 22:39 ` Douglas Jones
1994-01-27 22:38 ` Gerald Feldman USG
1 sibling, 1 reply; 4+ messages in thread
From: Douglas Jones @ 1994-01-23 22:39 UTC (permalink / raw)
In article <CJ411w.KM0@acsu.buffalo.edu> 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;
> ---------------- --^
>
>Any ideas? Thanks.
>
>----
>Jim Gerland - Consultant, Network User Support University at Buffalo
>Academic Services, Computing & Information Technology Buffalo, NY 14260
>gerland@ubvms.cc.buffalo.edu 716.645.3557 Work
>aa011@freenet.buffalo.edu 716.645.3734 FAX
In "include/Master.Config.File" I added:
BBCFLAGS="....... -D_BSD"
BBLIB="........ -lbsd"
Note that "......." means whatever you already had and then add what
you see I added. This is the easy way out. You could go through and
take care of all the problems that would arise, and I think there are
several others. Of course, our version of FreePort might be an an older
one and we have made many local changes. Also, our port was from ULTRIX
4.3 to OSF 1.3A. I had to make a lot of fixes and changes from the
original code to ULTRIX 4.3. I think the original code was done on a
RS6000. The people who wrote FreePort were very helpfull with answering
questions I had when I did the original port to ULTRIX.
Hope this helps,
Douglas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: I need help porting to OSF1 from SUN OS
1994-01-23 22:39 ` Douglas Jones
@ 1994-01-27 22:38 ` Gerald Feldman USG
0 siblings, 0 replies; 4+ messages in thread
From: Gerald Feldman USG @ 1994-01-27 22:38 UTC (permalink / raw)
In article <2huub4$j8i@dekalb.DC.PeachNet.EDU>, douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) writes:
In article <CJ411w.KM0@acsu.buffalo.edu> 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;
> ---------------- --^
>
>Any ideas? Thanks.
>
>----
>Jim Gerland - Consultant, Network User Support University at Buffalo
>Academic Services, Computing & Information Technology Buffalo, NY 14260
>gerland@ubvms.cc.buffalo.edu 716.645.3557 Work
>aa011@freenet.buffalo.edu 716.645.3734 FAX
In "include/Master.Config.File" I added:
BBCFLAGS="....... -D_BSD"
BBLIB="........ -lbsd"
Note that "......." means whatever you already had and then add what
you see I added. This is the easy way out. You could go through and
take care of all the problems that would arise, and I think there are
several others. Of course, our version of FreePort might be an an older
one and we have made many local changes. Also, our port was from ULTRIX
4.3 to OSF 1.3A. I had to make a lot of fixes and changes from the
original code to ULTRIX 4.3. I think the original code was done on a
RS6000. The people who wrote FreePort were very helpfull with answering
questions I had when I did the original port to ULTRIX.
Hope this helps,
Douglas
I also strongly suggest that you use lint. The OSF/1 AXP version of lint
has been modified to provide you with 32bit to 64bit porting information.
One of the things it does is to check printf format strings against the
actual parameters. Check the man page for information on the -Q option.
--
Jerry Feldman
--
Jerry Feldman Unix Systems Group
Digital Equipment Corp. Mailstop: ZKO3-3/Y25
110 Spitbrook Rd. gaf@zk3.dec.com
Nashua, NH 03062-9987 (603)881-2970
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-01-27 22:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-01-04 14:49 I need help porting to OSF1 from SUN OS Jim Gerland - Network Consultant
1994-01-04 16:41 ` John Hascall
1994-01-23 22:39 ` Douglas Jones
1994-01-27 22:38 ` Gerald Feldman USG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox