🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by marwk Mon, 11 Mar 1991 04:18
Errors: compiling gnuchess.c 3.1 with TURBO C
#6036
Author: marwk
Date: Mon, 11 Mar 1991 04:18
48 lines
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!
Errors: compiling gnuchess.c 3.1 with TURBO C
#6042
Author: Stuart Cracraft
Date: Fri, 22 Mar 1991 14:08
7 lines
837 bytes
Hello to our friends down under!

We are sorry but GNU Chess is not supported under DOS; anything
you can do of course....

	Stuart
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads