Article View: gnu.chess
Article #4803Re: Problem with DOS gnuchess (compiling)
From: Laurent Bonnaud
Date: Mon, 26 Sep 1994 12:16
Date: Mon, 26 Sep 1994 12:16
21 lines
1833 bytes
1833 bytes
In article <366049$llj@news.cs.tu-berlin.de> marktop@cs.tu-berlin.de (Mark Tuempfel) writes: >>>>> "Mark" == Mark Tuempfel <marktop@cs.tu-berlin.de> writes: Mark> I like gnuchess, especially at home on my PC. The last executable for Mark> gnuchess I found was patchlevel 63. But I wont use the newest Mark> features i.e. eco, so I try to compile it with DJGPP. After a long Mark> time of compiling (genmove.c takes really a lot of x-memory) I get Mark> only executables with a segmentation violation error. I compiled pl73 with gcc/emx under OS2 and got a segmentation fault too. The problem was in GetOpenings() in book.c in the first fopen() call. This is caused by the string 'binbook' not being initialized (problem with the Makefile). To fix this, i just removed this line and used the second fopen() which opens the file 'gnuchess.data' instead. With this and a couple of other minor fixes i got gnuchessr to run OK. -- Laurent.
Technical Details
Message-ID:
<366e3q$n53@irisa.irisa.fr>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!Germany.EU.net!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!shom.fr!news.univ-rennes1.fr!irisa.fr!irisa.irisa.fr!bonnaudReferences:
<366049$llj@news.cs.tu-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,5bff2f856f8aa34c X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-09-26 08:55:52 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!Germany.EU.net!news.dfn.de!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!shom.fr!news.univ-rennes1.fr!irisa.fr!irisa.irisa.fr!bonnaud From: bonnaud@irisa.fr (Laurent Bonnaud) Newsgroups: gnu.chess Subject: Re: Problem with DOS gnuchess (compiling) Date: 26 Sep 1994 12:16:58 GMT Organization: Irisa, Rennes (FR) Lines: 21 Distribution: world Message-ID: <366e3q$n53@irisa.irisa.fr> References: <366049$llj@news.cs.tu-berlin.de> NNTP-Posting-Host: eidolon.irisa.fr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII In-reply-to: marktop@cs.tu-berlin.de's message of 26 Sep 1994 08:21:29 GMT