Xref: utzoo rec.games.hack:2510 comp.unix.xenix:2224
Path: utzoo!mnetor!uunet!idsnh!ben
From: ben@idsnh.UUCP (Ben Smith)
Newsgroups: rec.games.hack,comp.unix.xenix
Subject: Re: compiling nethack on SCO xenix
Message-ID: <16@idsnh.UUCP>
Date: 11 May 88 02:54:42 GMT
References: <12@idsnh.UUCP>
Organization: Integrated Decision Systems, Inc. - NH
Lines: 21
Keywords: games compiling xenix sco
Summary: Old problem solved, thanks. Now how about the link?



Thankyou for the many recommendations to include -LARGE in my CFLAGS when
compiling nethack.  It did as you indicated.. got rid of the heapspace error.
Everything has compiled, but now I have a linking error:

	cc -Ml -LARGE -m hack.map -o nethack /lib/Lsignal.o  apply.o bones.o ...
	(and so on for all .o files.)

	zap.o(zap.c) : fatal error: segment size exceeds 64K
 	pos: 82 Record type: 98
	*** Error code 1

	Stop.

I thought there might be an array in zap that exceeded the 64K limit for
a single variable, but I can't find one.  What is causing this?  Is the
code segment limited to 64K? No, not with the large model.

I am stumpped again.
-ben