2009/6/17 Umarzuki Mochlis <umarz...@gmail.com> > on sid i386 > > after ./configure > i ran make > > and the process stopped by > > 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 `/root/gnuchess-5.07/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/gnuchess-5.07/src' > make: *** [all-recursive] Error 1 > > i always have this message when i tried to compile anything, what's wrong? > Did i missed anything? >
on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297582 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? > > -- > Regards, > > Umarzuki Mochlis > http://gameornot.net > -- Regards, Umarzuki Mochlis http://gameornot.net