bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Jim Segrave
Subject: Re: [Bug-gnubg] Link error build 021125 (changelog 1.794)
Date: Mon, 25 Nov 2002 14:27:12 +0100
User-agent: Mutt/1.4i

On Mon 25 Nov 2002 (12:35 +0100), Nardy Pillards wrote:
> Win32 compile:
> getting this error:
> 
> makebearoff.o(.text+0x2ac8):makebearoff.c: multiple definition of `main'
> gnubg.o(.text+0xda3c):gnubg.c: first defined here
> makebearoff1.o(.text+0x6c4):makebearoff1.c: multiple definition of `main'
> gnubg.o(.text+0xda3c):gnubg.c: first defined here
> osr.o(.text+0x11d4):osr.c: multiple definition of `raceProbs'
> osr.o(.text+0x11d4):osr.c: first defined here
> 
> (in Makefile for Win32, added the New Files:
> bearoff.c, makefearoff1.c, onechequer.c, gtkrace.c)

It looks like you're trying to link makebearoff.o with the whole of
gnubg. It's a standalone program and creates a separate executable
makebearoff (similar for makebearoff.1)

I think you added these to the wrong place in your Makefile.

-- 
Jim Segrave           address@hidden




reply via email to

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