bug-gnu-chess
[Top][All Lists]
Advanced

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

Re: building gnuchess 5.06 in cygwin


From: Simon Waters
Subject: Re: building gnuchess 5.06 in cygwin
Date: Sun, 27 Jul 2003 11:43:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Rogers wrote:
> Hi,
>
> What is the build procedure for gnuchess 5.06 in cygwin? I tried
> "./configure" followed by "make" from the gnuchess root directory (see
> below).

Hi Jim,

That is the right procedure, and it is tested with the version of Cygwin
I have here.

Can you let me know what version of Cygwin you have? It looks more
recent, if so I'll upgrade and ensure it works for 5.07.

> GCint.h:29: conflicting types for `uintptr_t'
> /usr/include/cygwin/types.h:167: previous declaration of `uintptr_t'
> GCint.h:30: conflicting types for `intptr_t'
> /usr/include/cygwin/types.h:172: previous declaration of `intptr_t'
> make[2]: *** [atak.o] Error 1
> make[2]: Leaving directory `/cygdrive/c/gnuchess-5.06/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/cygdrive/c/gnuchess-5.06/src'
> make: *** [all-recursive] Error 1

If you want to dig further, we use an M4 macro to test for the C
standard integer types, these are missing under Cygwin so it tries to
build a replacement in GCint.h, looks like a problem either with the
macro or with Cygwin integer headers.

This is mainly to get a 64 bit integer type across as many platforms as
possible. Irritatingly Cygwin is one of the few "platforms" not to
already include stdint.h.

The hack is probably to edit out the conflicting declaration in GCint.h,
could you mail me a copy of src/GCint.h produced by configure please.

If necessary we'll update and release the current CVS version, as 5.07
to fix your problem, so it need not be fixed in some distant future release.

 Thanks for the report,

 Simon
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/I6zEGFXfHI9FVgYRAuDyAKCIOuTac61U15fvnpeQoTvwiimOrQCdGM0T
FfxjXm+Zz1kjbLvNNcfZteE=
=2Thz
-----END PGP SIGNATURE-----




reply via email to

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