I am getting the following error when compiling in Windows 7 using a brand new version of MinGW. Here is what the config.log reads
configure:6514: checking for main in -lmingwthrd
configure:6533: g++ -o conftest.exe -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS conftest.cpp -lmingwthrd >&5
/bin/ld: cannot find -lmingwthrd
collect2: ld returned 1 exit status
configure:6533: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Bitcoin Core"
| #define PACKAGE_TARNAME "bitcoin"
| #define PACKAGE_VERSION "0.9.0"
| #define PACKAGE_STRING "Bitcoin Core 0.9.0"
| #define PACKAGE_BUGREPORT "info@bitcoin.org"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| return main ();
| ;
| return 0;
| }
configure:6542: result: no
configure:6552: error: lib missing
I can confirm the library is in F:/MinGW/lib/libmingwthrd.a, maybe my version of MSYS is too new? I am using MinGW 0.6.2 beta.