problem smp w/ crafty chess engine

Doug White dwhite at
Fri Jan 16 08:46:08 PST 2004

On Thu, 15 Jan 2004, eqe wrote:

> Can anyone help with this, I am trying to get my dual amd mp system to compile
> crafty so that it can use the smp features, but I am having no luck :(

Isn't this in ports?

> gcc  -o crafty searchr.o search.o singular.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 -lstdc++ -lpthread X86.o -lm
> /usr/bin/ld: cannot find -lpthread


Be careful.... FreeBSD doesn't currently schedule different threads of the
same program on different processors.  If crafty isn't forking, then you
aren't getting what you think you're getting.

Doug White                    |  FreeBSD: The Power to Serve
dwhite at          |

More information about the freebsd-current mailing list