[MPlayer-cygwin] Problem detecting pthread in several packages... (cannot find -lpthread)
Eugene Kovgar
ken20001 at ukr.net
Fri Apr 24 16:06:39 CEST 2009
Milen Manev <mmanev <at> gmail.com> writes:
>
> Here are patches for libdv, libvorbis and xvid to find pthreadGC2.
>
> If you use static pthreadGC2 you have to add
> CFLAGS=-DPTW32_STATIC_LIB when you execute ./configure for libdv and libvorbis
>
> Fixes are only for libs not for example programs.
> If you want to use example programs with static pthreadGC2 you have to
> apply patches similar to
> http://oss.netfarm.it/mplayer/patches/xx_pthread_static.diff
> in main function of example program.
>
It seems to be working now. Very thanks for your patches. But... (see at bottom)
____________
Commandline:
Eugene at SHIT-F92483B311 ~/libvorbis-1.2.0
$ ./configure --prefix=/home/Eugene --disable-shared --with-extralibdir=/home/
Eugene/lib --with-extraincdir=/home/Eugene/include CFLAGS=-DPTW32_STATIC_LIB
Output:
checking for pthread_create in -lpthread... no
checking for pthread_create in shared -lpthreadGC2... no
checking for pthread_create in static -lpthreadGC2... yes
___________
Commandline:
Eugene at SHIT-F92483B311 ~/xvidcore/build/generic
$ ./configure --prefix=/home/Eugene --disable-shared --with-extralibdir=/home/
Eugene/lib --with-extraincdir=/home/Eugene/include
Output:
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... no
checking for pthread_create in shared -lpthreadGC2... no
checking for pthread_create in static -lpthreadGC2... yes
checking for pthread_join in static -lpthreadGC2... yes
____________
Commandline:
Eugene at SHIT-F92483B311 ~/libdv-1.0.0
$ ./configure --prefix=/home/Eugene --disable-shared --with-extralibdir=/home/
Eugene/lib --with-extraincdir=/home/Eugene/include --disable-gtk --disable-asm
CFLAGS=-DPTW32_STATIC_LIB
Output:
checking for pthread_create in -lpthread... no
checking for pthread_create in shared -lpthreadGC2... no
checking for pthread_create in static -lpthreadGC2... yes
But what about schroedinger-1.0.5 ?
Output:
checking threading implementation to use... win32
Does it correct? This mean it not uses pthreadGC2.
More information about the MPlayer-cygwin
mailing list