*BSD News Article 2914


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!sgiblab!darwin.sura.net!zaphod.mps.ohio-state.edu!uwm.edu!bionet!raven.alaska.edu!sxjcb.uacn.alaska.edu!user
From: sxjcb@orca.alaska.edu (Jay C. Beavers)
Newsgroups: comp.unix.bsd
Subject: ETC01 Dist, Compiling, and Game Sources
Message-ID: <sxjcb-310792131937@sxjcb.uacn.alaska.edu>
Date: 31 Jul 92 21:41:25 GMT
Sender: news@raven.alaska.edu (USENET News System)
Followup-To: comp.unix.bsd
Organization: University of Alaska Computer Network
Lines: 43
Nntp-Posting-Host: sxjcb.uacn.alaska.edu

Ok, so I'm dangerous now.  Networking is going great, NFS problems are a
faint
memory, and with the help of Bill & Lynne and Usenet people at large, I've
got myself one heck of a nice Unix system!

So now I download these etc01 & src01 things and I'm trying to compile the
games directory as practice before I hit things like X-Windows and such.

First, none of the obj directories had been pre-made and make complains
unless I go in and create them by hand.  It there a switch or define or
something that tells make to just create the directories itself?

Second, there was the missing libcompat.a library that I asked about
before.  I've gotten around this (I think) by just removing the -libcompat
statement in the Makefile files in most cases.  In trek, I had to add two
defines to main.c:
#define gtty(fd, argp) ioctl(fd, TIOCGETP, argp)
#define stty(fd, argp) ioctl(fd, TIOCSETP, argp)
(thanks so much sastdr@unx.sas.com, your good advice is well appreciated.)

Finally, I've gotten some results, mostly bad.  So far:

arithmetic runs great
atc gives me a /usr/share/games/atc dir not found error even if the dir is
there
     and atc has been copied into it
battlestar runs a bit and then promptly coredumps
trek seems to run fine but has supernovas almost constantly

So, my question is this:  are these sources just included because they are
part of the NET/2 distribution?  If so, have they never been tested?  And
even so, why the problems?  I can understand missing obj directories and I
guess a missing vestigial library could happen, but to have three out of
four compiled programs have serious problems seems pretty strange to me.  I
thought that by using a direct decendant of 4.3BSD these compatibility
problems would be a thing of the past.  Does this give a bad portent to the
porting of more serious code like X-Windows?

______________________________________________________________________________
                                        |    jay@seaspray.uacn.alaska.edu
Jay C. Beavers                          |    sxjcb@orca.alaska.edu
University of Alaska Computer Network   |    sxjcb@alaska.bitnet
________________________________________|_____________________________________