http://bugs.winehq.org/show_bug.cgi?id=4183
llwang@infor.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |llwang@infor.org
------- Additional Comments From llwang@infor.org 2006-23-03 14:43 ------- I guess this may be that configure uses `artsc-config --libs` to determine libraries to be linked for arts. The output for that on FreeBSD is -L/usr/local/lib -lartsc -D_THREAD_SAFE -pthread -L/usr/local/lib -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv but when compiling using winegcc it does not understand -pthread and does not link the thread library.
However, when I tried to change -pthread to -lpthread, the error becomes Fatal error 'Uninitialized mutex in pthread_mutex_trylock_basic' at line 496 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 86) which does not really help.