Article View: gnu.chess
Article #5034Re: Building xboard 3.0 pl19/gnuchess 4.0 pl68 on SGI Indigo, 5.1.1.2
From: Michael J. Donahue
Date: Thu, 10 Mar 1994 23:07
Date: Thu, 10 Mar 1994 23:07
42 lines
2163 bytes
2163 bytes
I have now successfully built xboard on an SGI Indigo, OS release
5.1.*, for use with gnuchessx. The problem turned out to be in the
following code in xboard.c:
#ifdef SVR4
if (ioctl (to_prog[0], I_PUSH, "ptem") == -1 ||
ioctl (to_prog[0], I_PUSH, "ldterm") == -1 ||
ioctl (to_prog[0], I_PUSH, "ttcompat") == -1) {
DisplayFatalError("Can't ioctl pseudo-tty", errno);
ExitEvent(1);
}
#endif /*SVR4*/
With the IRIX define the SVR4 block is compiled, but it crashes when
run. I removed this block and everything now seems to work fine.
I had two problems with gnuchess. First, the suggested CFLAGS setting
CFLAGS= -g -cckr -DNOMACROS -Dhuge="" #Correct flags for gnuchess 4.0 with IRIX cc.
did not work very well. I had good luck instead with
CFLAGS= -O2 -acpp -signed -Wp,-traditional # IRIX 5.1.*?
This compiled out of the box with only one warning. But then when I
"make install" I got smoke at the command
cat test| ./gnuchessr -b /tmp/t -B ./gnuchess.data -S 188000 -P 24
Presumably this is a bug in the 5.1 OS, as I got a successful build by
changing this to
./gnuchessr -b /tmp/t -B ./gnuchess.data -S 45000 -P 16 < test
Hope this helps anyone else trying to build on IRIX OS release 5.1.
Michael J. Donahue
Institute for Mathematics and its Applications
University of Minnesota
donahue@ima.umn.edu
Technical Details
Message-ID:
<CMH1II.MH@news.cis.umn.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!ukma!rsg1.er.usgs.gov!news.cs.indiana.edu!umn.edu!s3!donahueReferences:
<CMDnK2.Guu@news.cis.umn.edu> <2lk7k1$49r@nuscc.nus.sg>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,8e2fb6bf07aa08f5 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-03-10 15:07:15 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!ukma!rsg1.er.usgs.gov!news.cs.indiana.edu!umn.edu!s3!donahue From: donahue@s3 (Michael J. Donahue) Subject: Re: Building xboard 3.0 pl19/gnuchess 4.0 pl68 on SGI Indigo, 5.1.1.2 Message-ID: <CMH1II.MH@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: s3.ima.umn.edu Organization: University of Minnesota, Mathematics References: <CMDnK2.Guu@news.cis.umn.edu> <2lk7k1$49r@nuscc.nus.sg> Date: Thu, 10 Mar 1994 23:07:15 GMT Lines: 42