Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!dog.ee.lbl.gov!pasteur!cory.Berkeley.EDU!fadden From: fadden@cory.Berkeley.EDU (Andy McFadden) Newsgroups: comp.sys.apple2 Subject: Re: NuLib problems (was Re: Apple II compatible pack/unpack src pgm?) Summary: Okay... Message-ID: <9220@pasteur.Berkeley.EDU> Date: 26 Nov 90 23:18:48 GMT References: <9011211229.AA29386@lilac.berkeley.edu> <6893@plains.NoDak.edu> <2339@unsvax.NEVADA.EDU> <1990Nov26.024701.29900@ddsw1.MCS.COM> Sender: news@pasteur.Berkeley.EDU Reply-To: fadden@cory.Berkeley.EDU Lines: 39 This illustrates a common problem when porting NuLib, so I decided to post it. In article <1990Nov26.024701.29900@ddsw1.MCS.COM> zane@ddsw1.MCS.COM (Sameer Parekh) writes: > I have a UNIX System V/386 here. Try definining XENIX386 and see if that helps. Is your system from SCO or actual AT&T? > My errors were, after doing a >make >MakeResult I received the following on my terminal: > >"nuadd.c", line 89: DIR undefined The biggest portability problem in NuLib is the directory stuff. At the top of the file you should see: # ifdef XENIX386 # include /* maybe , , ...*/ # else # include # endif If sys/ndir.h doesn't do it for you, try the various other possibilities until you get something that works. One of those include files should contain a definition for the DIR structure. You may also need to include the -lx library; see the Makefile for details. > (This is version 3.01 of NuLib) Version 3.02 has some minor bug fixes, notably some changes to the MS-DOS .LNK and .MAK files. >zane@ddsw1.MCS.COM -- fadden@cory.berkeley.edu (Andy McFadden) ..!ucbvax!cory!fadden fadden@hermes.berkeley.edu (when cory throws up)