🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49441

Problem building xboard and gnuchess

#49441
From: Frederick R. Phelan Jr.
Date: Fri, 28 Jan 1994 17:20
36 lines
2156 bytes
I am having little luck bulding gnuchess and xboard on an SGI indigo.


For gnuchess, I get the message:

        gcc -W  -DCACHE -DGDX -DHASGETTIMEOFDAY -DKILLT -DNULLMOVE  -DOLDTIME
-DQUIETBACKGROUND -DSEMIQUIETBOOKGEN  -g -O2 -funroll-loops -traditional-cpp   
-DHASHFILE=\"./gnuchess.hash\" -DLANGFILE=\"./gnuchess.lang\"  -c uxdsp.c
In file included from gnuchess.h:51,
                 from uxdsp.c:60:
/usr/local/lib/gcc-lib/iris/2.5.7/include/string.h:46: warning: conflicting types for built-in function `strcpy'
/usr/local/lib/gcc-lib/iris/2.5.7/include/string.h:50: warning: conflicting types for built-in function `memcpy'
/usr/local/lib/gcc-lib/iris/2.5.7/include/string.h:51: warning: conflicting types for built-in function `memcmp'
/usr/local/lib/gcc-lib/iris/2.5.7/include/string.h:54: warning: conflicting types for built-in function `strcmp'
In file included from gnuchess.h:52,
                 from uxdsp.c:60:
/usr/local/lib/gcc-lib/iris/2.5.7/include/stdlib.h:106: conflicting types for `system'
/usr/local/lib/gcc-lib/iris/2.5.7/include/stdio.h:250: previous declaration of `system'
*** Error code 1

Stop.


Can anybody suggest a fix.


Fred
*-----------------------------------------------------------------------
* Fred Phelan
* Polymer Composites
* National Institute of Standards and Technology
* Gaithersburg, MD 20899
*-----------------------------------------------------------------------
* e-mail >>> fred@poly2.nist.gov   (Internet)
*-----------------------------------------------------------------------
Technical Details
Message-ID: <CKCo68.621@nist.gov>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.belwue.de!news.dfn.de!news.dfn.de!darwin.sura.net!coil!poly2.nist.gov!fred

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7693591a2351496b,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-29 06:28:12 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.belwue.de!news.dfn.de!news.dfn.de!darwin.sura.net!coil!poly2.nist.gov!fred
From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
Subject: Problem building xboard and gnuchess
Message-ID: <CKCo68.621@nist.gov>
Sender: news@nist.gov
Organization: NIST
Date: Fri, 28 Jan 1994 17:20:32 GMT
Lines: 37