[comp.sources.d] Gnuchess under SysV: Help

kdw1@sphinx.uchicago.edu (Keith Waclena) (05/11/87)

[ My apologies if this is the wrong news group.  Is there a
  comp.sources.games.d? ]

I have installed Gnuchess on a Pyramid 90x running OSx (or whatever they
call their 4.2/SysV dual-port) in the ucb universe.  It compiled without
a hitch, and works perfectly.  But the Pyramid's not my home machine!

I want to bring up Gnuchess on a 3B5 running System V r. 2.0.  I had to
change some code that did getrusage() calls, but that was about it, and it
compiled.  However, it dumps core like crazy!  It'll give me its sign-on
message ("Chess"), and wait for my command, but no matter what my command, I
get a segment violation or memory fault.  E.g., if my first command is "bd"
to display the board, it dumps core on an array access (pctype, I think), but
if I do the access by hand in sdb, all is well.  Then if my first command is
"test-moves" it blows up in a printf (a printf with no percent escapes, just 
a simple string literal!).

My question: has anyone got gnuchess up under system V?  Thanks in advance!

					keith

Keith Waclena               BITNET:   kdw1@sphinx.uchicago.bitnet
University of Chicago         UUCP: ...ihnp4!gargoyle!sphinx!kdw1
Graduate Library School   Internet:   keith@sphinx.uchicago.edu
1100 E. 57th Street
Chicago, Illinois   60637                 #include <disclaimer.h>