I believe this is fixed in CVS version

http://savannah.gnu.org/cvs/?group_id=134

Should be at or about release quality, as this was prepared for release of 5.08, we plan to release 6 shortly which is based on a different code base entirely.

 Simon

vishnumurthy prabhu wrote:
I have downloaded tar ball of gnuchess-5.07. and I tried to build
using following commands in the extracted directory.
$sudo make ./configure
$sudo make

./configure went fine. but when compiling, It gave following error.

In file included from atak.c:29:
common.h:748: error: ‘getline’ redeclared as different kind of symbol
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was
here



and It stopped there itself.

I am using ubuntu 10.04.
gcc 4.4.3


complete message upon "make" is as follows:

Making all in src
make[1]: Entering directory `/home/vishnumurthy/Downloads/assignments/
chess/gnuchess-5.07/src'
make all-am
make[2]: Entering directory `/home/vishnumurthy/Downloads/assignments/
chess/gnuchess-5.07/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -g -O2 -MT atak.o -MD -MP -
MF ".deps/atak.Tpo" \
-c -o atak.o `test -f 'atak.c' || echo './'`atak.c; \
then mv -f ".deps/atak.Tpo" ".deps/atak.Po"; \
else rm -f ".deps/atak.Tpo"; exit 1; \
fi
In file included from atak.c:29:
common.h:748: error: ‘getline’ redeclared as different kind of symbol
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was
here
make[2]: *** [atak.o] Error 1
make[2]: Leaving directory `/home/vishnumurthy/Downloads/assignments/
chess/gnuchess-5.07/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vishnumurthy/Downloads/assignments/
chess/gnuchess-5.07/src'
make: *** [all-recursive] Error 1
_______________________________________________
Bug-gnu-chess mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnu-chess



_______________________________________________
Bug-gnu-chess mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnu-chess

Reply via email to