Re: Problem detecting pthread in several p ackages... (cannot find -lpthread)

Eugene Kovgar <[email protected]> Mon, 20 Apr 2009 11:41:54 +0000 (UTC)
Newsgroups gmane.comp.video.mplayer.cygwin
Message-ID <[email protected]>
Eugene Kovgar <ken20001 <at> ukr.net> writes:

> 
> In several packeges I saw problem detecting pthread by configurator, like 
> libdv-1.0.0:
> 
> configure:20722: checking for pthread_create in -lpthread
> configure:20757: gcc -o conftest.exe -DPTW32_STATIC_LIB -Wall -g  -I/home/
> Eugene/include  -L/home/Eugene/lib conftest.c -lpthread   >&5
> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot 
> find -lpthread
> collect2: ld returned 1 exit status
> configure:20763: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""


Please, anybody say something, what do you think about not detecting pthread. 
Mplayer configurator detects it fine, but other several packages - is the same: 
ld cannot find -lpthread.