[rec.games.hack] Seeking help with lev_comp for Nethack 3.0f

tony@joshua.math.ucla.edu (08/30/89)

Hello netland,

I'm not sure if this message made it out the last time so here it goes
again....

I am having problems getting lev_comp to work after I applied patch level 2
on our AT clone box running SCO Xenix 2.2.1.  I hope someone out there
can give me pointers on how to get this puppy up and running.

I was able to install nethack 3.0e (patch level 1) without too many problems
but I'm having a heck of a time trying to get 3.0f up and running.

Nethack 3.0f compiled without too much difficulty but when I tried to make
lev_comp using the default Makefile (small memory model) it didn't work
(Group over 64K).  I then re-compiled using the medium memory model, which
actually compiled but it gave me the "not enough core" message when I executed
the program.  I finally recompiled using the large memory model (so that I could
have a separate data segment to get around the not enough core problem).  The
program actually executes but it doesn't generate any output!

The cc flags I used are as follows:

        Medium memory model : -LARGE -O -M2m -I../include
        Large memory model :  -LARGE -O -M2l Mt24 -I../include

BTW I played the game (nethack 3.0f) in the debug mode (with the old
3.0e castle and tower) and I was actually able to get down to level 20
before it dumped core due to a stack over flow (this I don't really mind
since I increased the stack size with the -F 2000 flag).  I also couldn't
go to any of the special levels (castle,tower,endgame) because I didn't
have the levels made with the new 3.0f lev_comp.

I would appreciate any hints on how I can get lev_comp to compile and execute
properly.

Thanks in advance.




Tony Lei

INTERNET:       tony@math.ucla.edu
UUCP:           ..!ucbvax!ucla-cs!math.ucla.edu!tony