🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #3194

Compiling gnuchess-4.0.pl77 for IRIX 6.2

#3194
From: Arnold Troeger
Date: Thu, 09 Apr 1998 00:00
36 lines
2057 bytes
X-Disclaimer:	Opinions expressed here are my own and not UNOCAL's
 I'm having trouble compiling gnuchess for IRIX 6.2.  After running
configure and make I get an error about FIONREAD:

FIONREAD: Operation not applicable
You probably have a non-ANSI <ioctl.h>; see README. -1 89 4004667f

When I add "-traditional-cpp" to CFLAGS as per the README file, I then
get complaints about conflicting types for various functions:

In file included from ../gnuchess.h:54,
                 from ../nuxdsp.c:45:
/usr/include/memory.h:45: conflicting types for `memccpy'
/usr/include/string.h:63: previous declaration of `memccpy'
/usr/include/memory.h:46: conflicting types for `memchr'
/usr/include/string.h:69: previous declaration of `memchr'
/usr/include/memory.h:47: warning: conflicting types for built-in function `memcpy'
/usr/include/memory.h:49: warning: conflicting types for built-in function `memcmp'
In file included from ../gnuchess.h:90,
                 from ../nuxdsp.c:45:
/usr/include/stdlib.h:160: conflicting types for `system'
/usr/include/stdio.h:279: previous declaration of `system'
/usr/include/stdlib.h:205: conflicting types for `getsubopt'
/usr/include/getopt.h:45: previous declaration of `getsubopt'
make: *** [nuxdsp.o] Error 1

Any help will be greatly appreciated.
-- 
Arnold Troeger					Spirit Energy 76
Phone:  (318)-295-6752       			4021 Ambassador Caffery
Email:  Arnold.Troeger@lafayette.unocal.com 	Lafayette, LA 70503

------------------------------------------------------------------------

"Microsoft Windows:  for when your machine is just too fast"
Technical Details
Message-ID: <rfn4t02g59m.fsf@sasha>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,1a9ae5621cecee27,start
X-Google-Attributes: gid10d71d,public
From: stssart@lafayette.unocal.com (Arnold Troeger)
Subject: Compiling gnuchess-4.0.pl77 for IRIX 6.2
Date: 1998/04/09
Message-ID: <rfn4t02g59m.fsf@sasha>
X-Deja-AN: 342512525
Sender: stssart@sasha
Organization: Spirit Energy 76
Reply-To: Arnold.Troeger@lafayette.unocal.com
Newsgroups: gnu.chess