From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b0a27003ca47d948 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-28 20:42:57 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!eff!news.kei.com!world!mv!chillon!decvax.dec.com!sauron.zk3.dec.com!gaf From: gaf@zk3.dec.com (Gerald Feldman USG) Subject: Re: I need help porting to OSF1 from SUN OS Message-ID: <1994Jan27.223843.8536@decvax.dec.com> Originator: gaf@sauron.zk3.dec.com Sender: usenet@decvax.dec.com (Usenet News System) Nntp-Posting-Host: sauron.zk3.dec.com Reply-To: gaf@zk3.dec.com Organization: Digital Equipment Corporation, Unix Systems Group X-Newsreader: mxrn 6.18-5 References: <2huub4$j8i@dekalb.DC.PeachNet.EDU> Date: Thu, 27 Jan 1994 22:38:43 GMT In article <2huub4$j8i@dekalb.DC.PeachNet.EDU>, douglas@dekalb.DC.PeachNet.EDU (Douglas Jones) writes: In article 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