[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: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Link error build 021125 (changelog 1.794) |
Date: |
Mon, 25 Nov 2002 18:54:29 +0000 |
User-agent: |
Mutt/1.4i |
On Mon, Nov 25, 2002 at 06:04:18PM +0100, Nardy Pillards wrote
> > > osr.o(.text+0x11d4):osr.c: multiple definition of `raceProbs'
> > > osr.o(.text+0x11d4):osr.c: first defined here
>
> Still getting that one.
You have osr.o and osr.c twice in OBJS and SOURCE, respectively.
> (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.
You need the following changes as well:
add br1.c and br1.o to SOURCE and OBS, respectively. This is the
built-in one sided bearoff database that we used to distribute as a part of
gnubg.bd.
You also need to add the following rules:
br1.c: makebearoff makebearoff1
makebearoff -o 6 -s 7999999 | ./makebearoff1 -o br1.c
(I sure hope that the pipe works in Win32, otherwise you may have to do
something else. Let me know if it gives problems)
MAKEBEAROFF1_OBJS = makebearoff1.o
MAKEBEAROFF1_SOURCE = makebearoff1.o
$(MAKABEAROFF1_OBJS): $(MAKEBEAROFF1_OBJS)
makebearoff1: $(MAKEBEAROFF1_OJBS)
$(CC) -o makebearoff1 $(MAKEBEAROFF1_OBJS) $(LIBS)
MAKEBEAROFF_OBJS = makebearoff.o eval.o positionid.o \
pub_eval.o matchequity.o matchid.o \
i18n.o getopt.o getopt1.o osr.o \
bearoffgammon.o bearoff.o
MAKEBEAROFF_OBJS = makebearoff.c eval.h eval.c positionid.h positionid.c \
pub_eval.c matchequity.c matchequity.h matchid.h matchid.c \
i18n.c i18n.h getopt.c getopt.h getopt1.c osr.c osr.h \
bearoffgammon.c bearoffgammon.h bearoff.c bearoff.h
$(MAKABEAROFF_OBJS): $(MAKEBEAROFF1_OBJS)
makebearoff: $(MAKEBEAROFF_OJBS) $(LIBEVENT)
$(CC) -o makebearoff $(MAKEBEAROFF_OBJS) $(LIBS)
Hopefully this should work. You may have to modify stuff here and there
:-)
Jørn
--
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2818 0183 (mobile) / +45 9633 7036 (work)
Note: new mobile number!