Bitcoin Forum
May 27, 2024, 05:13:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mingw&Msys win32 Troubles with building cgminer 3.6.6  (Read 1027 times)
Vanya228 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 28, 2014, 07:23:08 PM
 #1

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?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!