Title: Mingw&Msys win32 Troubles with building cgminer 3.6.6 Post by: Vanya228 on March 28, 2014, 07:23:08 PM Hello, i'm trying to build the cgminer with mingw+msys, i followed in the windows-build.txt file and installed everything, but when i do
autoreconf: Leaving directory `compat/jansson-2.5' libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:95: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:185: error: possibly undefined macro: AC_MSG_ERROR autoreconf: /usr/bin/autoconf-2.68 failed with exit status: 1 I assume that configure.ac:185 is if test "x$has_winpthread" != xtrue; then AC_CHECK_LIB(pthread, pthread_create, , this-> AC_MSG_ERROR([Could not find pthread library - please install libpthread])) PTHREAD_LIBS=-lpthread fi And configure.ac:95 is *-*-mingw*) have_win32=true PTHREAD_FLAGS="" DLOPEN_FLAGS="" WS2_LIBS="-lws2_32" MM_LIBS="-lwinmm" RT_LIBS="" this-> AC_DEFINE([_WIN32_WINNT], [0x0501], "WinNT version for XP+ support") ;; What did i make wrong? Also can i get rid of those dll files, and build the cgminer statically? |