Post
Topic
Board Mining (Altcoins)
Re: [ANN]: cpuminer-opt v3.8.3.3, open source optimized multi-algo CPU miner
by
Gehacktesmacher
on 11/03/2018, 22:51:34 UTC
Quote
if test "x$OS" = "xWindows_NT" ; then
   # MinGW
   AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS="-lpthreadGC2",[])
else
   AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS="-lpthread",[])
fi


Hi joblo,
thx for this. It seems there is a bug in the Code Smiley

Freshly downloaded the sources on another machine and gone through configure.ac
My version shows as follows, which explains the problem we got. (I manually edited and corrected it, and it works fine now)
Another thing is that I have to install libgmpv4-dev to meet another requirement, but after that cpuminer binary got compiled fine Cheesy

if test "x$OS" = "xWindows_NT" ; then
   # MinGW
   AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS="-lpthreadGC2",[])
else
   AC_CHECK_LIB([pthread], [pthread_create], PTHREAD_LIBS="-lpthreadGC2",[])
fi