Article View: gnu.chess
Article #6036Errors: compiling gnuchess.c 3.1 with TURBO C
From: marwk
Date: Mon, 11 Mar 1991 04:18
Date: Mon, 11 Mar 1991 04:18
48 lines
2775 bytes
2775 bytes
We are attempting to compile GNUCHESS with TURBO C. uxdsp.c has been made to compile with the removal of the redefinition of 'getenv'. However we are having trouble with compiling gnuchess.c. Could someone please explain what to do with the following error messages. Thank you. Ray -------------- The command TCC -c -ml -DMSDOS gnuchess produces the following error list. Turbo C Version 2.0 Copyright (c) 1987, 1988 Borland International gnuchess.c: Error C:\TC\INCLUDE\string.h 59: Type mismatch in redeclaration of '_strerror' Error gnuchess.c 91: Declaration syntax error Error gnuchess.c 269: Conflicting type modifiers Error gnuchess.c 269: Conflicting type modifiers Warning gnuchess.c 1263: Unreachable code in function NewGame Error gnuchess.c 2153: Undefined symbol 'pnt' in function search Error gnuchess.c 2153: Undefined symbol 'node' in function search Error gnuchess.c 2153: Pointer required on left side of -> in function search Error gnuchess.c 2153: Pointer required on left side of -> in function search Error gnuchess.c 2159: Undefined symbol 'd' in function search Error gnuchess.c 2159: Undefined symbol 'best' in function search Error gnuchess.c 2159: Undefined symbol 'e' in function search Error gnuchess.c 2159: Pointer required on left side of -> in function search Warning gnuchess.c 2175: Parameter 'rpt' is never used in function search Warning gnuchess.c 2175: Parameter 'bstline' is never used in function search Warning gnuchess.c 2175: Parameter 'beta' is never used in function search Warning gnuchess.c 2175: Parameter 'depth' is never used in function search Warning gnuchess.c 2175: Parameter 'ply' is never used in function search Warning gnuchess.c 2175: Parameter 'side' is never used in function search Error gnuchess.c 2181: Declaration syntax error Error gnuchess.c 5153: Declaration syntax error Error gnuchess.c 6788: Too much global data defined in file -- University of South Australia | Plus ca change, plus c'est la meme chose. P.O. Box 1 | Ghing thien me how, ming thien gung me how. Ingle Farm | Knobs, knobs everywhere, South Australia | just vary a knob to think!
Technical Details
Message-ID:
<15957.27db98c3@levels.sait.edu.au>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!levels!marwkShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,2bbad36969e5e619,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1991-03-11 01:21:50 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!munnari.oz.au!yoyo.aarnet.edu.au!sirius.ucs.adelaide.edu.au!levels!marwk From: marwk@levels.sait.edu.au Newsgroups: gnu.chess Subject: Errors: compiling gnuchess.c 3.1 with TURBO C Message-ID: <15957.27db98c3@levels.sait.edu.au> Date: 11 Mar 91 04:18:35 GMT Organization: University of South Australia Lines: 48