Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help needed with Faile's makefile

Author: Adrien Regimbald

Date: 10:04:03 06/29/00

Go up one level in this thread


Hi,

>I've just downloaded the source-code for Faile,  as Faile ships with a
>makefile.gcc,  I tried to compile it by moving to the Faile directory
>and using "make -f makefile.gcc"   all very simple, however, the message
>
> "makefile.gcc:41: *** commands commence before first target.  Stop. "
>
>appears,  any help on overcoming this small obstacle would be helpful


I must admit that I am a bit puzzled by this..

The relevant area of the makefile is this:

pr_objects = faile_pr.o utils_pr.o moves_pr.o search_pr.o eval_pr.o hash_pr.o \
	rand_pr.o book_pr.o

The second line is line 41 .. and I'm not sure why this would be causing you
troubles..  continuing a long line with "\" is fairly standard procedure and I'm
not sure what would cause make to complain about it.  Heck, I'm not even sure
why make would get to that line - you didn't specify a target, so make should
have gone with the first target, "faile:", as I intended - I don't know why it
would have gone to the profile build at all..

What type of machine are you building Faile on?  I've personally built Faile on
a lot of different *NIX platforms without trouble (a couple generated
unimportant warnings, nothing more than that) other than one linux port of the C
library for some reason already included the math library, and it protested over
my use of "-lm" ..

Anyways - you might want to try simply removing all of the profiling stuff (most
people will not ever use it anyways).

If anyone else has any ideas - please share them .. I'm really quite puzzled by
this..


Regards,
Adrien.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.