Problem detecting pthread in several packages... (cannot find -lpthread)
Eugene Kovgar <[email protected]> Tue, 14 Apr 2009 19:43:09 +0000 (UTC)
| Newsgroups | gmane.comp.video.mplayer.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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 "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libdv" | #define VERSION "1.0.0" | #define _GNU_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define DEBUG 1 | /* end confdefs.h. */ Plese, help to solve this problem. By the way I have an old processor (K6-II+) without multithread support - may be this is the answer to this problem? Thanks.