ben@idsnh.UUCP (Ben Smith) (05/08/88)
I have been trying to compile nethack on SCO (286 w/ 2Meg memory). The problem is encountered when 'make -f Makefile.xenix' gets to compiling the ttys module. I get an error /usr/include/sys/termio.h(45): fatal error 2: out of heapspace (I can't seem to force it to look at the termio.h in /usr/include/sys.) Ideas for getting around the problem? - anyone remember what had to be done with this segmented machines? -ben
john@jclyde.UUCP (John B. Meaders Jr.) (05/09/88)
In article <12@idsnh.UUCP> ben@idsnh.UUCP (Ben Smith) writes: >I get an error > /usr/include/sys/termio.h(45): fatal error 2: out of heapspace Have you tried including a -LARGE switch in the CFLAGS line? This should eliminate the complaints about heapspace. -- John B. Meaders, Jr. 1114 Camino La Costa #3083, Austin, TX 78752 ATT: Voice: +1 (512) 451-5038 Data: +1 (512) 371-0550 UUCP: ...!uunet!utastro!bigtex!jclyde!john or john@jclyde.UUCP
ben@idsnh.UUCP (Ben Smith) (05/11/88)
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