[comp.sources.bugs] gnuchess on Xenix

jbayer@ispi.UUCP (id for use with uunet/usenet) (06/14/88)

I just got the gnu-chess release 2.  I had to make the following changes
to make it compile on my system.  I am currently running an
SCO Xenix 386 Release 2.2.1, Development System 2.2

in gnuchess.h:

	I added the following definition at the end:

#define	W_OK	2	/* Added by JB */

in gnuchess.c:
	I added the following include statement:

#include <sys/param.h>
#include <sys/types.h>		/* added by JB */
#include <sys/times.h>

in nondsp.c:
	I added the same line as in gnuchess.c

in uxdsp.c:
	I added the same line as in gnuchess.c
	I also had to move the following include statement to the beginning
	of the includes:

#include <curses.h>		/* moved here by JB from #1 */


Jonathan Bayer
Intelligent Software Products, Inc.
19 Virginia Ave.
Rockville Centre, NY   11570
...uunet!ispi!jbayer

jl42+@andrew.cmu.edu (Jay Mathew Libove) (06/17/88)

ispi!jbayer says:
>I just got the gnu-chess release 2.  I had to make the following changes
>to make it compile on my system.  I am currently running an
>SCO Xenix 386 Release 2.2.1, Development System 2.2
[ individual source code modifications removed ]
>
>Jonathan Bayer
>Intelligent Software Products, Inc.
>19 Virginia Ave.
>Rockville Centre, NY   11570
>...uunet!ispi!jbayer

I made all the changes suggested, and split the files to get rid of the
"infinite spill" errors, and still I get the core dump as mentioned in
my earlier post (made from root@libove.UUCP). (That is, I figured out 
those changes myself, too; must be another 2.1.4g compiler bug :-)

Jay Libove             Internet: libove@andrew.cmu.edu libove@cs.cmu.edu
5313 Ellsworth Avenue            formtek!ditka!libove!libove@pt.cs.cmu.edu
Pittsburgh, PA 15232       UUCP: cmucspt!formtek!ditka!libove!libove
(412) 621-9649                   cadre!pitt!darth!libove!libove