🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4922

Compiling GNUCHESS for SUNOS 4.1.3

#4922
From: David Bye,,
Date: Thu, 07 Jul 1994 11:41
20 lines
1203 bytes
Hello,

Can any one help with the following problem:-

I have version 4.0.70 of gnuchess and version 1.4 of gcc. I have no problems
compiling on a SUN running SunOS 4.1.3 with CFLAGS set to

	CFLAGS=  -O -finline-functions -fstrength-reduce

This is recommended for gcc version 1.4

However when I run gnuchess I get an error of the following form:-

	FIONREAD: Inappropriate ioctl for device
	You probably have a non-ANSI <ioctl.h>; see README. -1 25 4004787f

How can I get round this? Is there a code patch?.

Thanks
Technical Details
Message-ID: <2vgpko$5no@noknic.nokia.com>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.onramp.net!convex!cs.utexas.edu!swrinde!pipex!sunic!news.funet.fi!cs.joensuu.fi!news.csc.fi!nokia.fi!cadsp18!bye

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,e4f36d8dfcde35c0,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1994-07-07 06:29:56 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!news.onramp.net!convex!cs.utexas.edu!swrinde!pipex!sunic!news.funet.fi!cs.joensuu.fi!news.csc.fi!nokia.fi!cadsp18!bye
From: bye@nokia.com (David Bye,,)
Newsgroups: gnu.chess
Subject: Compiling GNUCHESS for SUNOS 4.1.3
Date: 7 Jul 1994 11:41:12 GMT
Organization: Nokia Mobile Phones Ltd.
Lines: 20
Distribution: world
Message-ID: <2vgpko$5no@noknic.nokia.com>
Reply-To: bye@nokia.com
NNTP-Posting-Host: 131.228.24.206
Keywords: gnuchess,gcc