Cannot link pthread
Vincent T
v.toto@numericable.fr
Thu May 31 08:08:00 GMT 2007
Dear pthread experts,
I am new to using open source, and this question is certainly silly. I
recently downoaded GNU Chess for my daughter, and I tried to compile it
under MinGW (my platform is Windows 2000). I met a problem which I
reproduced by the attached test program (zipped with 7zip.exe). The file
log.txt is the result of the following command :
make 2>log.txt
VBR,
Vincent.
PS1 : The link is successful with Visual lib if I suppress from test.c
the following lines :
pthread_mutex_t mtx;
pthread_mutex_lock(0);
pthread_cond_signal(0);
pthread_cond_wait(0,0);
pthread_mutex_unlock(0);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_pthread.7z
Type: application/octet-stream
Size: 2912 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/pthreads-win32/attachments/20070531/583ce8a4/attachment.obj>
More information about the Pthreads-win32
mailing list