Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help needed with Faile's makefile

Author: tony worsman

Date: 10:54:49 06/29/00

Go up one level in this thread


On June 29, 2000 at 13:04:03, Adrien Regimbald wrote:

>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" ..

thanks Adrien,

I thought there might be a simple reason for this,  that an
inexperienced Linux user like myself could overlook.
I had the same message trying to compile Colchess, so this
leads me to believe the error is not connected directly
to makefile.gcc

i'll try your suggestion anyway (removing the profiling stuff)
and see if that helps.

For the record I am running the Linux Kernel 2.2.13 on a
pentium 200.

Thanks.
tony.

>
>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.