Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: whys sometime is hard to compile crafty ?

Author: Robert Hyatt

Date: 13:24:14 11/22/02

Go up one level in this thread


On November 22, 2002 at 16:22:17, Ricardo R Santana wrote:

>Hello
>
>I was very pleased today because I was able to compile crafty (thanks Bob and
>Sargon)...but then, I had to erase the source and other things. SO, today
>afternoon, I tried to download crafty version again, and install it with make
>linux-i686-elf without success..this is really crazy...and itś
>disturbing...

something is wrong.  The linux-i686-elf option in the makefile has -lstdc++
which
is what is needed to eliminate the error at the bottom of this.  Looks like you
either
downloaded an older version of crafty which gave you an older makefile that
won't
work with gcc 3.2, or else you are using a non-distribution makefile...



>
>here is the messages:
>
>/tmp/cchcaJlR.s:8581: Warning: using `%ax' instead of `%eax' due to `w' suffix
>/tmp/cchcaJlR.s:67578: Warning: using `%ax' instead of `%eax' due to `w' suffix
>/tmp/cchcaJlR.s:67634: Warning: using `%ax' instead of `%eax' due to `w' suffix
>gcc -Wall -pipe -D_REENTRANT -march=i686 -O             -fforce-mem
>-fomit-frame-pointer                -fno-gcse -mpreferred-stack-boundary=2
>-DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS            -DUSE_ASSEMBLY_A
>-DUSE_ASSEMBLY_B -DFAST              -DSMP -DCPUS=4 -DCLONE -DDGT -DLINUX -c
>dgt.c
>sed -e '/ _/s// /' -e '/^_/s///' -e 's/ALIGN/16/' X86.s > X86-elf.S
>gcc -c X86-elf.S
>gcc  -o crafty searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o
>nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o hash.o attacks.o
>swap.o boolean.o utility.o valid.o probe.o book.o data.o drawn.o edit.o epd.o
>epdglue.o init.o input.o interupt.o iterate.o main.o option.o output.o phase.o
>ponder.o preeval.o resign.o root.o learn.o setboard.o test.o testepd.o time.o
>validate.o annotate.o analyze.o evtest.o bench.o egtb.o dgt.o X86-elf.o -lm
>egtb.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
>collect2: ld returned 1 exit status
>make[2]: *** [crafty] Error 1
>make[2]: Leaving directory
>`/home/ricksant/download/install/windows/chess/crafty/original_source'
>make[1]: *** [crafty-make] Error 2
>make[1]: Leaving directory
>`/home/ricksant/download/install/windows/chess/crafty/original_source'
>make: *** [linux-i686-elf] Error 2
>[ricksant@melancia original_source]$



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.