Hi,

Version 5.07 will not compile on my system (Slackware 12) The error I get is:

input.c:95: error: static declaration of 'input_thread' follows non-static
declaration common.h:719: error: previous declaration of 'input_thread' was here
make[2]: *** [input.o] Error 1
make[2]: Leaving directory
`/home/timp/slack_pack/cust_slackbuilds/gnuchess/gnuchess-5.07/src' make[1]:
*** [all] Error 2 make[1]: Leaving directory
`/home/timp/slack_pack/cust_slackbuilds/gnuchess/gnuchess-5.07/src' make: ***
[all-recursive] Error 1

The attached patch fixes this error for me.

Bye,

-- 
TimP
diff -Naur gnuchess-5.07/src/input.c gnuchess-5.07-new/src/input.c
--- gnuchess-5.07/src/input.c	2003-07-02 03:06:43.000000000 +1000
+++ gnuchess-5.07-new/src/input.c	2007-08-24 18:04:44.000000000 +1000
@@ -92,7 +92,7 @@
   fgets(inputstr, MAXSTR, stdin);
 }
 
-static pthread_t input_thread;
+pthread_t input_thread;
 
 /* Mutex and condition variable for thread communication */
 

Attachment: signature.asc
Description: PGP signature

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

Reply via email to