bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Compile latest version under Windows


From: Jim Segrave
Subject: Re: [Bug-gnubg] Compile latest version under Windows
Date: Tue, 26 Nov 2002 17:07:43 +0100
User-agent: Mutt/1.4i

On Tue 26 Nov 2002 (16:37 +0100), Holger wrote:
> Hi,
> 
> I'm having problems compiling the CVS version. It fails with:
> 
> eval.o(.text+0x89d):eval.c: undefined reference to `BearoffInitBuiltin'
> 
> I do have bearoff.c and .o in SOURCES and OBJS in Makefile, respectively. It
> seems that there is no function definition in bearoff.c, only the
> declaraction in bearoff.h.
> 
> Nardy, have you been able to build a version after those changes to the
> bearoff database?

Does your makefile include br1.c in COMMON_SOURCES? That's where the
function is defined. 

If br1.c doesn't exist, it is constructed by doing:

br1.c:  makebearoff makebearoff1
    if [ ! -f br1.c ]; then \
       ./makebearoff -o 6 -s 7999999 | ./makebearoff1 -o br1.c; \
    fi

Try running makebearoff -o 6 -s 7999999 | makebearoff1 -o br1.c
and seeing if you get a reasonable looking br1.c, including the
missing function.

-- 
Jim Segrave           address@hidden




reply via email to

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