[Top][All Lists]

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

Re: [Bug-gnubg] Link error build 021125 (changelog 1.794)

From: Nardy Pillards
Subject: Re: [Bug-gnubg] Link error build 021125 (changelog 1.794)
Date: Mon, 25 Nov 2002 18:04:18 +0100

> > osr.o(.text+0x11d4):osr.c: multiple definition of `raceProbs'
> > osr.o(.text+0x11d4):osr.c: first defined here

Still getting that one.

(changelog 1.795, makebearoff removed from Makefile)

> >
> > (in Makefile for Win32, added the New Files:
> > bearoff.c, makefearoff1.c, onechequer.c, gtkrace.c)
> Makebaroff1.c is a new program.... you should not add it to the gnubg
> target.
> Instead you should make a new target.
> If you send me your Makefile I'll take a look on it tonight.
> Jørn

This is the Makefile as it is now:

CC      = gcc
CFLAGS  = -fnative-struct -Os -Wall $(DEFS) $(INCLUDE)
DEFS    = -DHAVE_CONFIG_H -DLOCALEDIR=\"/mingw/lib/locale\"
INCLUDE = -I. -I./lib \
     -I/mingw/lib/gtk+/include \
     -I/mingw/lib/glib-2.0/include \
     -I/mingw/include/libxml2 \
CONFIG  = config.h

LDFLAGS = -mwindows
LIBS = $(LDFLAGS) $(LIBPATH) -levent -lxml2 -lintl.dll -lgdbm.dll \
       -lglib-2.0.dll -lgdk.dll -lgtk.dll -liconv -lwinmm -lm
LIBPATH = -L./lib

TARGET = gnubg

SOURCE = analysis.c bearoff.c bearoffgammon.c copying.c credits.c \
 database.c dice.c drawboard.c erf.c eval.c export.c external.c \
 gdkgetrgb.c getopt.c getopt1.c gnubg.c gtk-multiview.c gtkboard.c \
 gtkchequer.c gtkcube.c gtkexport.c gtkgame.c gtkprefs.c gtkrace.c \
 gtktheory.c guile.c html.c i18n.c import.c kleinman.c latex.c \
 matchequity.c matchid.c onechequer.c \
      osr.c play.c positionid.c postscript.c pub_eval.c record.c rollout.c \
      set.c sgf.c sgfl.c sgfp.c show.c sound.c strdup.c text.c osr.c

OBJS   = analysis.o bearoff.o bearoffgammon.o copying.o credits.o \
 database.o dice.o drawboard.o erf.o eval.o export.o external.o \
 gdkgetrgb.o getopt.o getopt1.o gnubg.o gtk-multiview.o gtkboard.o \
 gtkchequer.o gtkcube.o gtkexport.o gtkgame.o gtkprefs.o gtkrace.o \
 gtktheory.o guile.o html.o i18n.o import.o kleinman.o latex.o \
 matchequity.o matchid.o onechequer.o \
      osr.o play.o positionid.o postscript.o pub_eval.o record.o rollout.o \
      set.o sgf.o sgfl.o sgfp.o show.o sound.o strdup.o text.o osr.o

LIBEVENT = lib/libevent.a

 $(CC) -o $(TARGET) $(OBJS) $(LIBS)

sgf.c: $(SRC)


 $(MAKE) -C lib

 copy config.gui $(CONFIG)
 rm -f *.o $(CONFIG)
 $(MAKE) clean -C lib
 $(MAKE) clean
 $(MAKE) -f makefile.no-gui


reply via email to

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