[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with make
From: |
Simon Waters |
Subject: |
Re: Problems with make |
Date: |
Wed, 19 Apr 2006 21:03:45 +0100 |
User-agent: |
Mail/News 1.5 (X11/20060228) |
Andrew Eremin wrote:
> Hi,
> I had problems with installing gnuchess-5.07. I'm running openSUSE
> 10.0, and gcc 4.0.2 complained about static re-definition of
> input_thread at line 95 in input.c, previously defined as non-static in
> common.h. I tried 5.06 and had the same problem. Changing the definition
> in input.c to be non-static seems to have fixed the problem, everything
> subsequently seemed to make and install ok; I tested gnuchess and
> created an opening book as described in INSTALL. Is this problem likely
> caused by something unusual about my setup or is it really a bug? If it
> really is a bug it seems strange that I couldn't find any mention of it
> in the archive.
Sorry for the delay in response.
This is a problem in the code revealed by GCC v4.
You did the right thing.
5.08 will modify the declarations so it compiles with GCC v4.