gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] Patches for 3.8


From: Daniel Bump
Subject: Re: [gnugo-devel] Patches for 3.8
Date: Wed, 17 Dec 2008 05:27:12 -0800

> Splendid! Has anyone been able to build this on OS X 10.5 ? I sent a
> post a few weeks ago regarding some issues.

Yes, there is a problem compiling mkmcpat.c on OSX.

gcc  -g -O2   -o mkmcpat  mkmcpat.o ../engine/libengine.a ../sgf/libsgf.a
../utils/libutils.a -lncurses 
Undefined symbols:
  "_potential_moves", referenced from:
      _potential_moves$non_lazy_ptr in libengine.a(montecarlo.o)
ld: symbol(s) not found

The following patch allows me to compile on OSX. This is not a correct
fix, since patterns/Makefile.in is an autogenerated file (by automake).

Dan


Index: patterns/Makefile.in
===================================================================
RCS file: /home/bump/cvsroot/gnugo_3_8/patterns/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- patterns/Makefile.in        16 Dec 2008 17:53:18 -0000      1.1.1.1
+++ patterns/Makefile.in        17 Dec 2008 13:08:17 -0000
@@ -80,7 +80,7 @@
 am_mkeyes_OBJECTS = mkeyes.$(OBJEXT)
 mkeyes_OBJECTS = $(am_mkeyes_OBJECTS)
 mkeyes_DEPENDENCIES = ../utils/libutils.a
-am_mkmcpat_OBJECTS = mkmcpat.$(OBJEXT)
+am_mkmcpat_OBJECTS = mkmcpat.$(OBJEXT) ../engine/globals.$(OBJEXT)
 mkmcpat_OBJECTS = $(am_mkmcpat_OBJECTS)
 mkmcpat_DEPENDENCIES = ../engine/libengine.a ../sgf/libsgf.a \
        ../utils/libutils.a









reply via email to

[Prev in Thread] Current Thread [Next in Thread]