Computer Chess Club Archives


Search

Terms

Messages

Subject: Crafty link error (long)

Author: ujecrh

Date: 11:57:10 10/14/03


Build of crafty-19.4 done with:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --disable-checking --enable-long-long
--enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal
--host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)


I removed all successful compilation lines in the log below and just kept
warnings and the final link issues:


$ make clean linux
rm -f *.o crafty X86-elf.X X86-aout.S
make target=LINUX \
        CC=gcc CXX=g++ \
        CFLAGS=' -Wall -pipe -D_REENTRANT -O3' \
        CXFLAGS=' \
                -fforce-mem -fomit-frame-pointer' \
        LDFLAGS=' -lpthread' \
        opt=' -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
             -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \
        asm=X86-aout.o \
        crafty-make
make[1]: Entering directory `/home/ncc/apps/chess/crafty/src'
make[2]: Entering directory `/home/ncc/apps/chess/crafty/src'
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c searchr.c
...
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c option.c
option.c: In function `Option':
option.c:762: warning: unused variable `i'
option.c:3225: warning: dereferencing type-punned pointer will break
strict-aliasing rules
option.c:3684: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c output.c
...
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c learn.c
learn.c: In function `LearnBook':
learn.c:304: warning: dereferencing type-punned pointer will break
strict-aliasing rules
learn.c: In function `LearnImportPosition':
learn.c:982: warning: dereferencing type-punned pointer will break
strict-aliasing rules
learn.c: In function `LearnPosition':
learn.c:1108: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c setboard.c
g++ -c -fforce-mem -fomit-frame-pointer -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
            -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX egtb.cpp
egtb.cpp:100:1: warning: "LockInit" redefined
In file included from egtb.cpp:61:
lock.h:193:1: warning: this is the location of the previous definition
egtb.cpp:101:1: warning: "Lock" redefined
lock.h:195:1: warning: this is the location of the previous definition
egtb.cpp:102:1: warning: "Unlock" redefined
lock.h:196:1: warning: this is the location of the previous definition
egtb.cpp:4304: warning: `TB_CRC_CHECK' initialized and declared `extern'
gcc -Wall -pipe -D_REENTRANT -O3 -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS
    -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DLINUX -c dgt.c
sed -e 's/ALIGN/4/' X86.s > X86-aout.S
gcc -c X86-aout.S
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-aout.o -lm
evaluate.o(.text+0x154c): In function `EvaluatePassedPawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x1572): In function `EvaluatePassedPawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x1744): In function `EvaluatePassedPawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x176a): In function `EvaluatePassedPawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x186d): In function `EvaluatePassedPawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x197b): In function `EvaluatePassedPawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x1a34): In function `EvaluatePassedPawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x1ada): In function `EvaluatePassedPawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x1ea4): In function `EvaluatePassedPawnRaces':
: undefined reference to `FirstOne'
evaluate.o(.text+0x20c7): In function `EvaluatePassedPawnRaces':
: undefined reference to `LastOne'
evaluate.o(.text+0x21f2): In function `EvaluatePassedPawnRaces':
: undefined reference to `FirstOne'
evaluate.o(.text+0x2277): In function `EvaluatePassedPawnRaces':
: undefined reference to `LastOne'
evaluate.o(.text+0x25bd): In function `EvaluatePassedPawnRaces':
: undefined reference to `LastOne'
evaluate.o(.text+0x25f9): In function `EvaluatePassedPawnRaces':
: undefined reference to `LastOne'
evaluate.o(.text+0x26f3): In function `EvaluatePassedPawnRaces':
: undefined reference to `FirstOne'
evaluate.o(.text+0x272d): In function `EvaluatePassedPawnRaces':
: undefined reference to `FirstOne'
evaluate.o(.text+0x2fbd): In function `EvaluatePawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x3056): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x308c): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x311c): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x315e): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3233): In function `EvaluatePawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x32e1): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3313): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3370): In function `EvaluatePawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x3421): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3453): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3560): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3590): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x393d): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3b2f): In function `EvaluatePawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x3bfd): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3c26): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3ce5): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3d26): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3e86): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x3eb3): more undefined references to `PopCnt' follow
evaluate.o(.text+0x55f6): In function `EvaluatePawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x56a8): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x56ef): In function `EvaluatePawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x57ab): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x57f5): In function `EvaluatePawns':
: undefined reference to `LastOne'
evaluate.o(.text+0x5881): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x58d4): In function `EvaluatePawns':
: undefined reference to `FirstOne'
evaluate.o(.text+0x596a): In function `EvaluatePawns':
: undefined reference to `PopCnt'
evaluate.o(.text+0x5a4b): In function `EvaluateStalemate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x5b0c): In function `EvaluateStalemate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x6025): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x6064): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x60b8): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x62e4): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x632f): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x6380): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x65cc): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x662e): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x6682): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x6770): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x67d2): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x6823): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x6a2c): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x6a7a): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x6acc): In function `EvaluateWinner':
: undefined reference to `LastOne'
evaluate.o(.text+0x6b45): In function `EvaluateWinner':
: undefined reference to `FirstOne'
evaluate.o(.text+0x7879): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x7a0c): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x7a4b): In function `Evaluate':
: undefined reference to `MobilityDiaga1Func'
evaluate.o(.text+0x7a5a): In function `Evaluate':
: undefined reference to `MobilityDiagh1Func'
evaluate.o(.text+0x7bbc): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x7be9): In function `Evaluate':
: undefined reference to `MobilityDiaga1Func'
evaluate.o(.text+0x7bf8): In function `Evaluate':
: undefined reference to `MobilityDiagh1Func'
evaluate.o(.text+0x7d4c): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x81da): In function `Evaluate':
: undefined reference to `PopCnt'
evaluate.o(.text+0x827b): In function `Evaluate':
: undefined reference to `PopCnt'
evaluate.o(.text+0x83a6): In function `Evaluate':
: undefined reference to `PopCnt'
evaluate.o(.text+0x8480): In function `Evaluate':
: undefined reference to `PopCnt'
evaluate.o(.text+0x87ce): In function `Evaluate':
: undefined reference to `PopCnt'
evaluate.o(.text+0x894d): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x8b93): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x8d7a): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x8fed): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x9156): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x91d2): In function `Evaluate':
: undefined reference to `LastOne'
evaluate.o(.text+0x9257): In function `Evaluate':
: undefined reference to `LastOne'
evaluate.o(.text+0x92d2): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x93c2): In function `Evaluate':
: undefined reference to `AttacksRankFunc'
evaluate.o(.text+0x9459): In function `Evaluate':
: undefined reference to `AttacksRankFunc'
evaluate.o(.text+0x954f): In function `Evaluate':
: undefined reference to `AttacksRankFunc'
evaluate.o(.text+0x95dc): In function `Evaluate':
: undefined reference to `AttacksRankFunc'
evaluate.o(.text+0x96d0): In function `Evaluate':
: undefined reference to `AttacksRankFunc'
evaluate.o(.text+0x9731): more undefined references to `AttacksRankFunc' follow
evaluate.o(.text+0x991f): In function `Evaluate':
: undefined reference to `FirstOne'
evaluate.o(.text+0x9933): In function `Evaluate':
: undefined reference to `FirstOne'
movgen.o(.text+0x20c): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x425): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x4c7): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x51a): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x5a0): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x63a): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x6ac): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x716): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x77d): more undefined references to `LastOne' follow
movgen.o(.text+0x821): In function `GenerateCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x834): In function `GenerateCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x875): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x8fb): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x90a): In function `GenerateCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x945): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x9cb): In function `GenerateCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x9e9): In function `GenerateCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0xa1d): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xabf): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xae3): In function `GenerateCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0xb25): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xb95): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xbfc): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xc9e): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xcc2): In function `GenerateCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0xcda): In function `GenerateCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0xd1d): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xdbf): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xdd1): In function `GenerateCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0xe6c): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xef6): In function `GenerateCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0xfb4): In function `GenerateCheckEvasions':
: undefined reference to `PopCnt'
movgen.o(.text+0xfe8): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x102a): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x10d2): In function `GenerateCheckEvasions':
: undefined reference to `PopCnt'
movgen.o(.text+0x110f): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1158): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x11c7): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1255): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x1522): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x15f8): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x16bc): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1a7b): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1b9d): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1c23): In function `GenerateCheckEvasions':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x1c57): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1cf9): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1d25): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1dc7): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1e48): In function `GenerateCheckEvasions':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x1e60): In function `GenerateCheckEvasions':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x1e9a): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1f43): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x1f78): In function `GenerateCheckEvasions':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x1fac): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x2053): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x2085): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x213a): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x21b9): In function `GenerateCheckEvasions':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x21e7): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x2273): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x22a5): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x232b): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x239d): In function `GenerateCheckEvasions':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x23b5): In function `GenerateCheckEvasions':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x23e9): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x247b): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x24b0): In function `GenerateCheckEvasions':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x24e5): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x2571): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x25e0): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x2644): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x26ec): In function `GenerateCheckEvasions':
: undefined reference to `LastOne'
movgen.o(.text+0x2840): In function `GenerateCheckEvasions':
: undefined reference to `FirstOne'
movgen.o(.text+0x2dda): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x2fd5): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3085): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3195): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3215): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3265): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x32b5): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3329): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3347): In function `GenerateNonCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x335c): In function `GenerateNonCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x3395): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3409): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3418): In function `GenerateNonCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x3445): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x34b9): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x34d7): In function `GenerateNonCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x3505): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3577): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x35b5): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3647): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x366b): In function `GenerateNonCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x3683): In function `GenerateNonCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x36c5): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3757): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3769): In function `GenerateNonCaptures':
: undefined reference to `AttacksRookFunc'
movgen.o(.text+0x37a5): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3837): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x385b): In function `GenerateNonCaptures':
: undefined reference to `AttacksBishopFunc'
movgen.o(.text+0x3897): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3929): In function `GenerateNonCaptures':
: undefined reference to `FirstOne'
movgen.o(.text+0x3980): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3a6b): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3ab5): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
movgen.o(.text+0x3b05): In function `GenerateNonCaptures':
: undefined reference to `LastOne'
attacks.o(.text+0x9a): In function `AttacksTo':
: undefined reference to `AttacksBishopFunc'
attacks.o(.text+0xbd): In function `AttacksTo':
: undefined reference to `AttacksRookFunc'
attacks.o(.text+0x1fb): In function `Attacked':
: undefined reference to `AttacksBishopFunc'
attacks.o(.text+0x22a): In function `Attacked':
: undefined reference to `AttacksRookFunc'
attacks.o(.text+0x2a0): In function `Attacked':
: undefined reference to `AttacksBishopFunc'
attacks.o(.text+0x2ce): In function `Attacked':
: undefined reference to `AttacksRookFunc'
swap.o(.text+0x265): In function `Swap':
: undefined reference to `FirstOne'
swap.o(.text+0x315): In function `Swap':
: undefined reference to `FirstOne'
swap.o(.text+0x37a): In function `Swap':
: undefined reference to `FirstOne'
swap.o(.text+0x3f4): In function `Swap':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0x483): In function `Swap':
: undefined reference to `AttacksFileFunc'
swap.o(.text+0x4e8): In function `Swap':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0x53b): In function `Swap':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0x58e): In function `Swap':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0x5f3): In function `Swap':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0x646): In function `Swap':
: undefined reference to `AttacksFileFunc'
swap.o(.text+0x6ab): In function `Swap':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0x70a): In function `Swap':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0x77e): In function `Swap':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0x7c8): In function `Swap':
: undefined reference to `AttacksFileFunc'
swap.o(.text+0x824): In function `Swap':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0x871): In function `Swap':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0x8be): In function `Swap':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0x91a): In function `Swap':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0x967): In function `Swap':
: undefined reference to `AttacksFileFunc'
swap.o(.text+0x9f7): In function `SwapXray':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0xa4b): In function `SwapXray':
: undefined reference to `AttacksDiagh1Func'
swap.o(.text+0xa74): In function `SwapXray':
: undefined reference to `AttacksFileFunc'
swap.o(.text+0xaac): In function `SwapXray':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0xad8): In function `SwapXray':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0xb04): In function `SwapXray':
: undefined reference to `AttacksRankFunc'
swap.o(.text+0xb3f): In function `SwapXray':
: undefined reference to `AttacksDiaga1Func'
swap.o(.text+0xb6b): In function `SwapXray':
: undefined reference to `AttacksFileFunc'
utility.o(.text+0x26a6): In function `PinnedOnKing':
: undefined reference to `AttacksDiagh1Func'
utility.o(.text+0x26d7): In function `PinnedOnKing':
: undefined reference to `AttacksDiagh1Func'
utility.o(.text+0x26f2): In function `PinnedOnKing':
: undefined reference to `AttacksRankFunc'
utility.o(.text+0x2723): In function `PinnedOnKing':
: undefined reference to `AttacksRankFunc'
utility.o(.text+0x274c): In function `PinnedOnKing':
: undefined reference to `AttacksRankFunc'
utility.o(.text+0x277d): In function `PinnedOnKing':
: undefined reference to `AttacksRankFunc'
utility.o(.text+0x27ba): In function `PinnedOnKing':
: undefined reference to `AttacksDiaga1Func'
utility.o(.text+0x27eb): In function `PinnedOnKing':
: undefined reference to `AttacksDiaga1Func'
utility.o(.text+0x2809): In function `PinnedOnKing':
: undefined reference to `AttacksDiaga1Func'
utility.o(.text+0x283a): In function `PinnedOnKing':
: undefined reference to `AttacksDiaga1Func'
utility.o(.text+0x284e): In function `PinnedOnKing':
: undefined reference to `AttacksFileFunc'
utility.o(.text+0x287f): In function `PinnedOnKing':
: undefined reference to `AttacksFileFunc'
utility.o(.text+0x288d): In function `PinnedOnKing':
: undefined reference to `AttacksFileFunc'
utility.o(.text+0x28be): In function `PinnedOnKing':
: undefined reference to `AttacksFileFunc'
utility.o(.text+0x28dc): In function `PinnedOnKing':
: undefined reference to `AttacksDiagh1Func'
utility.o(.text+0x290d): In function `PinnedOnKing':
: undefined reference to `AttacksDiagh1Func'
probe.o(.text+0x295): In function `EGTBProbe':
: undefined reference to `FirstOne'
probe.o(.text+0x2d8): In function `EGTBProbe':
: undefined reference to `FirstOne'
probe.o(.text+0x31b): In function `EGTBProbe':
: undefined reference to `FirstOne'
probe.o(.text+0x365): In function `EGTBProbe':
: undefined reference to `FirstOne'
probe.o(.text+0x3cb): In function `EGTBProbe':
: undefined reference to `FirstOne'
probe.o(.text+0x42c): more undefined references to `FirstOne' follow
book.o(.text+0xecd): In function `Book':
: undefined reference to `PopCnt'
book.o(.text+0x11fd): In function `Book':
: undefined reference to `PopCnt'
book.o(.text+0x26a2): In function `BookRejectMove':
: undefined reference to `PopCnt'
book.o(.text+0x2725): In function `BookRejectMove':
: undefined reference to `PopCnt'
init.o(.text+0xaeb): In function `InitializeAttackBoards':
: undefined reference to `FirstOne'
init.o(.text+0xb9a): In function `InitializeAttackBoards':
: undefined reference to `FirstOne'
init.o(.text+0xc5f): In function `InitializeAttackBoards':
: undefined reference to `FirstOne'
init.o(.text+0xd24): In function `InitializeAttackBoards':
: undefined reference to `FirstOne'
init.o(.text+0xde9): In function `InitializeAttackBoards':
: undefined reference to `FirstOne'
init.o(.text+0xeae): more undefined references to `FirstOne' follow
init.o(.text+0x1999): In function `SetChessBitBoards':
: undefined reference to `PopCnt'
iterate.o(.text+0x871): In function `Iterate':
: undefined reference to `FirstOne'
iterate.o(.text+0x88a): In function `Iterate':
: undefined reference to `FirstOne'
validate.o(.text+0x430): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x44f): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x46c): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x48b): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x4ac): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x4cb): more undefined references to `PopCnt' follow
validate.o(.text+0x9e5): In function `ValidatePosition':
: undefined reference to `FirstOne'
validate.o(.text+0xa85): In function `ValidatePosition':
: undefined reference to `FirstOne'
validate.o(.text+0xb4e): In function `ValidatePosition':
: undefined reference to `FirstOne'
validate.o(.text+0xbf5): In function `ValidatePosition':
: undefined reference to `FirstOne'
validate.o(.text+0xc73): In function `ValidatePosition':
: undefined reference to `FirstOne'
validate.o(.text+0xcf1): more undefined references to `FirstOne' follow
validate.o(.text+0x129b): In function `ValidatePosition':
: undefined reference to `PopCnt'
validate.o(.text+0x156c): In function `ValidatePosition':
: undefined reference to `FirstOne'
egtb.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
X86-aout.o(.text+0x1ae): In function `_AttacksRankFunc':
: undefined reference to `_at'
X86-aout.o(.text+0x1b7): In function `_AttacksRankFunc':
: undefined reference to `_at'
X86-aout.o(.text+0x202): In function `_AttacksFileFunc':
: undefined reference to `_at'
X86-aout.o(.text+0x20a): In function `_AttacksFileFunc':
: undefined reference to `_at'
X86-aout.o(.text+0x214): In function `_AttacksFileFunc':
: undefined reference to `_at'
X86-aout.o(.text+0x253): more undefined references to `_at' follow
collect2: ld returned 1 exit status
make[2]: *** [crafty] Error 1
make[2]: Leaving directory `/home/ncc/apps/chess/crafty/src'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/ncc/apps/chess/crafty/src'
make: *** [linux] Error 2


(Note that I tried also without using -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B but I
always end up with a few missing symbols, of course I would much prefer having
the assembly code in anyway)

Ujecrh



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.