Article View: gnu.chess
Article #4747Re: pl73 on mips-ultrix
From: Tim Mann
Date: Sat, 22 Oct 1994 19:21
Date: Sat, 22 Oct 1994 19:21
41 lines
2249 bytes
2249 bytes
> From: olle@cb.uu.se (Olle Eriksson)
> gnuchess pl73 does not build on ultrix4.4 on a MIPS-decstation, neither
> with gcc-2.6.0 or the native c-compiler
I have no problem building pl73 on Ultrix 4.2A, which is the latest
version I have access to.
See the FAQ (just posted) for hints on building gnuchess on systems
where you get the FIONREAD problem. I include an extract below.
--Tim
[24] I get an error message about FIONREAD when trying to build the GNU Chess
book. What do I do?
The message looks something like this:
> FIONREAD: Operation not supported on socket
> You probably have a non-ANSI <ioctl.h>; see README. -1 45 4004787f
If you are using gcc to compile, the solution to this error message is usually
to go to the GNU Chess Makefile, find the line that starts "CFLAGS=" (with no
# character in front of it), and append the flag "-traditional-cpp" to the end
of the line. Then do
rm dspcom*.o gnuan.o
make
make install
to rebuild gnuchess.
If you aren't using gcc, we don't really understand why this should happen,
but we do have a brute-force workaround: You can simply disable the gnuchess
feature that uses FIONREAD. Find the two places in dspcom.c where the line
"#ifdef FIONREAD" occurs. Change each of them to "#ifdef NOTDEF". Then
recompile gnuchess.
With this code disabled, if you tell gnuchess to think on your time ("hard"
mode), you will have to type ^C to make it stop thinking when you want to make
your move. The current version of XBoard does this automatically, so
disabling the code has no effect on XBoard.
Technical Details
Message-ID:
<9410221835.AA16566@lakeview.pa.dec.com>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!src.dec.com!mannReferences:
<1994Sep20.160601.1357@puh.cb.uu.se>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,1eefe4f2922ff120 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-10-22 12:22:30 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!src.dec.com!mann From: mann@src.dec.com (Tim Mann) Newsgroups: gnu.chess Subject: Re: pl73 on mips-ultrix Date: 22 Oct 1994 15:21:17 -0400 Organization: GNUs Not Usenet Lines: 43 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9410221835.AA16566@lakeview.pa.dec.com> References: <1994Sep20.160601.1357@puh.cb.uu.se>