Computer Chess Club Archives


Search

Terms

Messages

Subject: Problem: Compiling Crafty

Author: Renze Steenhuisen

Date: 06:42:51 01/20/04


There is something wrong, but I don't directly see what it is. Anyone?

/** START **/
make target=LINUX \
        CC=gcc CXX=g++ \
        CFLAGS=' -Wall -pipe -D_REENTRANT -O3 \
                -fforce-mem -fomit-frame-pointer' \
        CXFLAGS= \
        LDFLAGS=' -lpthread' \
        opt=' -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
             -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \
        asm=X86.o \
        crafty-make
make[1]: Entering directory `/home/afsth048/Crafty/code-19.6'
make[2]: Entering directory `/home/afsth048/Crafty/code-19.6'
gcc -lpthread -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.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/afsth048/Crafty/code-19.6'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/afsth048/Crafty/code-19.6'
make: *** [linux] Error 2

/** END **/

is it
  "egtb.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'"
and how should I resolve this problem?

Thanks a lot in advance!

Renze



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.