Author: ERIQ
Date: 01:36:37 12/29/03
Go up one level in this thread
On December 28, 2003 at 22:34:35, Robert Hyatt wrote:
>
>go to the same Makefile section, and add -lpthread to the LDFLAGS
>
>so that it looks like this:
>
> LDFLAGS='$(LDFLAGS) -lpthread' \
>
>
>And you will be home-free. :)
>
>Don't forget you will then need mt=2 or smpmt=2 in your crafty.rc file
>or it will still default to using one CPU.
found my old makefile that works w/ gcc33 here is out put:
{eriq@merlin} ~/Crafty> gmake
gmake freebsd
gmake[1]: Entering directory `/usr/home/eriq/Crafty'
gmake target=FreeBSD \
CC=gcc33 CXX=g++33 \
CFLAGS=' -fomit-frame-pointer -march=i686 -O3 -Wall' \
CXFLAGS= \
LDFLAGS=''\
opt=' -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DPOSIX -DSMP -DCPUS=2' \
asm=X86-elf.o \
crafty-make
gmake[2]: Entering directory `/usr/home/eriq/Crafty'
gmake[3]: Entering directory `/usr/home/eriq/Crafty'
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c searchr.c
In file included from chess.h:194,
from searchr.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c search.c
In file included from chess.h:194,
from search.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c thread.c
In file included from chess.h:194,
from thread.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c searchmp.c
In file included from chess.h:194,
from searchmp.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c repeat.c
In file included from chess.h:194,
from repeat.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c next.c
In file included from chess.h:194,
from next.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c nexte.c
In file included from chess.h:194,
from nexte.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c nextr.c
In file included from chess.h:194,
from nextr.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c history.c
In file included from chess.h:194,
from history.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c quiesce.c
In file included from chess.h:194,
from quiesce.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c evaluate.c
In file included from chess.h:194,
from evaluate.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c movgen.c
In file included from chess.h:194,
from movgen.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c make.c
In file included from chess.h:194,
from make.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c unmake.c
In file included from chess.h:194,
from unmake.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c hash.c
In file included from chess.h:194,
from hash.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c attacks.c
In file included from chess.h:194,
from attacks.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c swap.c
In file included from chess.h:194,
from swap.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c boolean.c
In file included from chess.h:194,
from boolean.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c utility.c
In file included from chess.h:194,
from utility.c:7:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c valid.c
In file included from chess.h:194,
from valid.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c probe.c
In file included from chess.h:194,
from probe.c:2:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c book.c
In file included from chess.h:194,
from book.c:5:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c data.c
In file included from chess.h:194,
from data.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c drawn.c
In file included from chess.h:194,
from drawn.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c edit.c
In file included from chess.h:194,
from edit.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c epd.c
In file included from chess.h:194,
from epd.c:40:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c epdglue.c
In file included from chess.h:194,
from epdglue.c:44:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c init.c
In file included from chess.h:194,
from init.c:5:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c input.c
In file included from chess.h:194,
from input.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c interupt.c
In file included from chess.h:194,
from interupt.c:5:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c iterate.c
In file included from chess.h:194,
from iterate.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c main.c
In file included from chess.h:194,
from main.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c option.c
In file included from chess.h:194,
from option.c:6:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
option.c: In function `Option':
option.c:3205: warning: dereferencing type-punned pointer will break
strict-aliasing rules
option.c:3652: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c output.c
In file included from chess.h:194,
from output.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c phase.c
In file included from chess.h:194,
from phase.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c ponder.c
In file included from chess.h:194,
from ponder.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c preeval.c
In file included from chess.h:194,
from preeval.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c resign.c
In file included from chess.h:194,
from resign.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c root.c
In file included from chess.h:194,
from root.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c learn.c
In file included from chess.h:194,
from learn.c:6:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c setboard.c
In file included from chess.h:194,
from setboard.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c test.c
In file included from chess.h:194,
from test.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c testepd.c
In file included from chess.h:194,
from testepd.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c time.c
In file included from chess.h:194,
from time.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c validate.c
In file included from chess.h:194,
from validate.c:3:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c annotate.c
In file included from chess.h:194,
from annotate.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c analyze.c
In file included from chess.h:194,
from analyze.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c evtest.c
In file included from chess.h:194,
from evtest.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c bench.c
In file included from chess.h:194,
from bench.c:4:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
g++33 -c -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A
-DUSE_ASSEMBLY_B -DFAST -DPOSIX -DSMP -DCPUS=2 -DFreeBSD egtb.cpp
In file included from egtb.cpp:61:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
egtb.cpp:4300: warning: `TB_CRC_CHECK' initialized and declared `extern'
gcc33 -fomit-frame-pointer -march=i686 -O3 -Wall -DCOMPACT_ATTACKS
-DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-DPOSIX -DSMP -DCPUS=2 -DFreeBSD -c dgt.c
In file included from chess.h:194,
from dgt.c:8:
lock.h:3:13: warning: extra tokens at end of #undef directive
lock.h:92:15: warning: extra tokens at end of #undef directive
sed -e '/ _/s// /' -e '/^_/s///' -e 's/ALIGN/16/' X86.s > X86-elf.S
gcc33 -c X86-elf.S
gcc33 -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
-lstdc++
init.o: In function `InitializeSMP':
init.o(.text+0x48e3): undefined reference to `pthread_attr_init'
init.o(.text+0x48f8): undefined reference to `pthread_attr_setscope'
iterate.o: In function `Iterate':
iterate.o(.text+0x520): undefined reference to `pthread_create'
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/libstdc++.a(eh_alloc.o)(.rodata._ZZ18__gthread_active_pvE20__gthread_active_ptr+0x0):
undefined reference to `pthread_create'
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/libstdc++.a(eh_alloc.o): In
function `__cxa_allocate_exception':
eh_alloc.o(.text.__cxa_allocate_exception+0x22): undefined reference to
`pthread_create'
eh_alloc.o(.text.__cxa_allocate_exception+0x80): undefined reference to
`pthread_create'
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/libstdc++.a(eh_alloc.o): In
function `__cxa_free_exception':
eh_alloc.o(.text.__cxa_free_exception+0x24): undefined reference to
`pthread_create'
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.3/libstdc++.a(eh_alloc.o)(.text.__cxa_free_exception+0x4c):
more undefined references to `pthread_create' follow
collect2: ld returned 1 exit status
gmake[3]: *** [crafty] Error 1
gmake[3]: Leaving directory `/usr/home/eriq/Crafty'
gmake[2]: *** [crafty-make] Error 2
gmake[2]: Leaving directory `/usr/home/eriq/Crafty'
gmake[1]: *** [freebsd] Error 2
gmake[1]: Leaving directory `/usr/home/eriq/Crafty'
gmake: *** [default] Error 2
{eriq@merlin} ~/Crafty>
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.