[Pachi] Problem making Pachi

David Nicolas dnicolas at gmx.net
Sat Aug 4 19:18:48 CEST 2012


Hello,

I am on Linux: Ubuntu 12.04
I would like to use Pachi.
But when I try to compile it, it doesn't succeed (see log below).
Do I need to install a program or library or what?
Any advice would be much apreciated.

Thanks,
David

/media/didi/pachi$ make
[MAKE all] random
make[1]: entrant dans le répertoire « /media/didi/pachi/random »
[CC] random.c
[AR] random.a
ar: creating random.a
make[1]: quittant le répertoire « /media/didi/pachi/random »
[MAKE all] replay
make[1]: entrant dans le répertoire « /media/didi/pachi/replay »
[CC] replay.c
[AR] replay.a
ar: creating replay.a
make[1]: quittant le répertoire « /media/didi/pachi/replay »
[MAKE all] joseki
make[1]: entrant dans le répertoire « /media/didi/pachi/joseki »
[CC] joseki.c
[CC] base.c
[AR] joseki.a
ar: creating joseki.a
make[1]: quittant le répertoire « /media/didi/pachi/joseki »
[MAKE all] montecarlo
make[1]: entrant dans le répertoire « /media/didi/pachi/montecarlo »
[CC] montecarlo.c
[AR] montecarlo.a
ar: creating montecarlo.a
make[1]: quittant le répertoire « /media/didi/pachi/montecarlo »
[MAKE all] uct
make[1]: entrant dans le répertoire « /media/didi/pachi/uct »
[CC] dynkomi.c
[CC] tree.c
tree.c: In function ‘tree_node_load’:
tree.c:300:7: attention : ignoring return value of ‘fread’, declared 
with attribute warn_unused_result [-Wunused-result]
[CC] uct.c
[CC] prior.c
[CC] search.c
[CC] slave.c
[CC] walk.c
[CC] plugins.c
[AR] uct.a
ar: creating uct.a
make[1]: quittant le répertoire « /media/didi/pachi/uct »
[MAKE all] uct/policy
make[1]: entrant dans le répertoire « /media/didi/pachi/uct/policy »
[CC] generic.c
[CC] ucb1.c
[CC] ucb1amaf.c
[AR] uctpolicy.a
ar: creating uctpolicy.a
make[1]: quittant le répertoire « /media/didi/pachi/uct/policy »
[MAKE all] playout
make[1]: entrant dans le répertoire « /media/didi/pachi/playout »
[CC] moggy.c
[CC] light.c
[AR] playout.a
ar: creating playout.a
make[1]: quittant le répertoire « /media/didi/pachi/playout »
[MAKE all] tactics
make[1]: entrant dans le répertoire « /media/didi/pachi/tactics »
[CC] 1lib.c
[CC] 2lib.c
[CC] nlib.c
[CC] ladder.c
[CC] nakade.c
[CC] selfatari.c
[CC] util.c
[AR] tactics.a
ar: creating tactics.a
make[1]: quittant le répertoire « /media/didi/pachi/tactics »
[MAKE all] t-unit
make[1]: entrant dans le répertoire « /media/didi/pachi/t-unit »
[CC] test.c
[AR] test.a
ar: creating test.a
make[1]: quittant le répertoire « /media/didi/pachi/t-unit »
[MAKE all] distributed
make[1]: entrant dans le répertoire « /media/didi/pachi/distributed »
[CC] distributed.c
[CC] protocol.c
[CC] merge.c
[AR] distributed.a
ar: creating distributed.a
make[1]: quittant le répertoire « /media/didi/pachi/distributed »
[CC] board.c
[CC] gtp.c
gtp.c: In function ‘gtp_parse’:
gtp.c:533:9: attention : variable ‘src’ set but not used 
[-Wunused-but-set-variable]
gtp.c:531:9: attention : variable ‘loc’ set but not used 
[-Wunused-but-set-variable]
[CC] move.c
[CC] ownermap.c
ownermap.c: In function ‘board_ownermap_judge_group’:
ownermap.c:71:11: attention : comparison between ‘enum point_judgement’ 
and ‘enum stone’ [-Wenum-compare]
ownermap.c:73:18: attention : comparison between ‘enum point_judgement’ 
and ‘enum stone’ [-Wenum-compare]
[CC] pattern3.c
[CC] playout.c
[CC] probdist.c
[CC] random.c
[CC] stone.c
[CC] timeinfo.c
[CC] network.c
network.c: In function ‘log_thread’:
network.c:184:9: attention : ignoring return value of ‘write’, declared 
with attribute warn_unused_result [-Wunused-result]
network.c:188:9: attention : ignoring return value of ‘write’, declared 
with attribute warn_unused_result [-Wunused-result]
[CC] fbook.c
[CC] pachi.c
[LINK] pachi
uct/uct.a(uct.o): In function `uct_genmove_setup':
/media/didi/pachi/uct/uct.c:414: undefined reference to `floorf'
uct/uct.a(dynkomi.o): In function `adapter_sigmoid':
/media/didi/pachi/uct/dynkomi.c:288: undefined reference to `exp'
uct/uct.a(dynkomi.o): In function `komi_by_value':
/media/didi/pachi/uct/dynkomi.c:378: undefined reference to `lroundf'
/media/didi/pachi/uct/dynkomi.c:376: undefined reference to `lroundf'
uct/uct.a(dynkomi.o): In function `linear_permove':
/media/didi/pachi/uct/dynkomi.c:103: undefined reference to `fmax'
uct/uct.a(walk.o): In function `record_local_sequence':
/media/didi/pachi/uct/walk.c:216: undefined reference to `pow'
uct/uct.a(walk.o): In function `uct_playout':
/media/didi/pachi/uct/walk.c:398: undefined reference to `roundf'
uct/uct.a(plugins.o): In function `pluginset_done':
/media/didi/pachi/uct/plugins.c:53: undefined reference to `dlclose'
uct/uct.a(plugins.o): In function `plugin_load':
/media/didi/pachi/uct/plugins.c:69: undefined reference to `dlopen'
/media/didi/pachi/uct/plugins.c:81: undefined reference to `dlsym'
/media/didi/pachi/uct/plugins.c:82: undefined reference to `dlsym'
/media/didi/pachi/uct/plugins.c:83: undefined reference to `dlsym'
/media/didi/pachi/uct/plugins.c:71: undefined reference to `dlerror'
/media/didi/pachi/uct/plugins.c:83: undefined reference to `dlerror'
/media/didi/pachi/uct/plugins.c:82: undefined reference to `dlerror'
/media/didi/pachi/uct/plugins.c:81: undefined reference to `dlerror'
uct/policy/uctpolicy.a(ucb1.o): In function `ucb1_descend':
/media/didi/pachi/uct/policy/ucb1.c:39: undefined reference to `log'
/media/didi/pachi/uct/policy/ucb1.c:51: undefined reference to `sqrt'
uct/policy/uctpolicy.a(ucb1amaf.o): In function `ucb1rave_descend':
/media/didi/pachi/uct/policy/ucb1amaf.c:181: undefined reference to `log'
uct/policy/uctpolicy.a(ucb1amaf.o): In function `fast_sqrt':
/media/didi/pachi/uct/policy/ucb1amaf.c:89: undefined reference to `sqrt'
uct/policy/uctpolicy.a(ucb1amaf.o): In function `ucb1rave_evaluate':
/media/didi/pachi/uct/policy/ucb1amaf.c:154: undefined reference to `sqrt'
uct/policy/uctpolicy.a(ucb1amaf.o): In function `ucb1rave_descend':
/media/didi/pachi/uct/policy/ucb1amaf.c:181: undefined reference to `sqrt'
uct/policy/uctpolicy.a(ucb1amaf.o): In function `ucb1rave_evaluate':
/media/didi/pachi/uct/policy/ucb1amaf.c:154: undefined reference to `sqrt'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [pachi] Erreur 1



More information about the Pachi mailing list