Post
Topic
Board Mining (Altcoins)
Re: [ANN]: cpuminer-opt v3.8.3.3, open source optimized multi-algo CPU miner
by
joblo
on 09/03/2018, 02:01:45 UTC
Hi.

Got the same problem as "Dead Things", but on an 2x Intel Xeon E5645 using Ubuntu 16.04 LTS
On systems with AVX I am using the precompiled linux version, but it is not possible to use this one on systems without AVX.

Tried to compile, and ran into the same problems.

Quote
/usr/bin/ld: cannot find -lpthreadGC2
What precompiled Linux version? It didn't come from me.

I built a Mint 17 (Ubuntu 16.04) system a week ago and have no problems compiling. I have no idea what's going wrong
for you and Dead Things. It should only try to link pthreadGC2 when compiling using mingw for Windows.
That's how I build the Windows binaries but when doing a normal build it links pthread as it should. The CPU shouldn't have
any effect on this, it's the build environment. Something is making it believe it's compiling for Windows.
Here is the code in configure.ac that controls it, it seems pretty clear:

Code:
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