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

Re: compiling gnuchess



In <52d26d930906170911q518ebdf6vbac24bfed3cc0ec4@mail.gmail.com>, Umarzuki 
Mochlis wrote:
>2009/6/17 Umarzuki Mochlis <umarzuki@gmail.com>
>> input.c:95: error: static declaration of ‘input_thread’ follows
>> non-static declaration
>> common.h:719: error: previous declaration of ‘input_thread’ was here
>
>the bug reporter said something about patching:
>-------------
>With the attached patch 'gnuchess' can be compiled
>on amd64 using gcc-4.0.
>
>Regards
>Andreas Jochens
>
>diff -urN ../tmp-orig/gnuchess-5.07/src/common.h ./src/common.h
>--- ../tmp-orig/gnuchess-5.07/src/common.h    2003-06-30
> 13:28:38.000000000 +0200
>+++ ./src/common.h    2005-03-01 18:01:50.629624486 +0100
>@@ -716,7 +716,6 @@
>
> /* Input thread and thread function */
> #include <pthread.h>
>-extern pthread_t input_thread;
> void *input_func(void *);
>
> /*
>------------
>which line(s) and how?

That information is all in the patch provided to you.  (In a machine-readble 
form, nonetheless.)

man 1 patch
might help here.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: