Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: gaf@zk3.dec.com (Gerald Feldman USG)
Subject: Re: I need help porting to OSF1 from SUN OS
Date: Thu, 27 Jan 1994 22:38:43 GMT	[thread overview]
Message-ID: <1994Jan27.223843.8536@decvax.dec.com> (raw)
In-Reply-To: 2huub4$j8i@dekalb.DC.PeachNet.EDU


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


      reply	other threads:[~1994-01-27 22:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
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