🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #4473

Re: Compiling gnuchessx for SunOS (please help)

#4473
From: David Pinnington - Sun UK - Syst...
Date: Tue, 25 Apr 1995 00:00
11 lines
1575 bytes
Yea, I had the same problem.

Basically the makefile is wrong. I can't actually remember which file 'setlinebuf' is in, but you need to include this source file on the target line for 'gnuchessx'.

From what I remember this was not my only problem - there are a number of other targets which do not build for similar reasons.

Other problems:

1) Because different developers have written the code there are differences in the way function prototypes have been defined. This forced me to continually intervene in the  make and set the compiler flags on/off for ANSI C. I tried this with 2 compilers, gcc (latest version) and CenterLine C compiler (latest version). Both experience the same problem, although interestingly the default option is ANSI C for gcc and K&R for CenterLine!

2) The makefile builds an object file and then renames it - repeatedly. So if you make everything it takes ages and actually builds some files 5 or 6 times! This is really stupid and time consuming but I couldn't be bothered to update the makefile.
Technical Details
Message-ID: <3niqgl$6au@uk-usenet.uk.sun.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <97dc-2104951904590001@student_97dc.williams.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,b977f63a513d7ad8
X-Google-Attributes: gid10d71d,public
From: davidpin@xfiles.uk.sun.com (David Pinnington - Sun UK - Systems Engineer)
Subject: Re: Compiling gnuchessx for SunOS (please help)
Date: 1995/04/25
Message-ID: <3niqgl$6au@uk-usenet.uk.sun.com>
X-Deja-AN: 101790350
distribution: world
references: <97dc-2104951904590001@student_97dc.williams.edu>
organization: Sun Microsystems (UK)
reply-to: davidpin@xfiles.uk.sun.com
newsgroups: gnu.chess