On linux :
checking for yasm... /usr/bin/yasm
checking if yasm version is greater than 1.0.1... yes
./configure: line 5372: syntax error near unexpected token `LIBCURL_CHECK_CONFIG'
./configure: line 5372: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
I'd appreciate your help
edit:
This fixes autogen.sh and ./configure,
https://bitcointalk.org/index.php?topic=4823.0but now make fails here :
/usr/bin/ld: minerd-momentum.o: undefined reference to symbol 'SHA512@@OPENSSL_1.0.0'
/usr/bin/ld: note: 'SHA512@@OPENSSL_1.0.0' is defined in DSO /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [minerd] Error 1
make[2]: Leaving directory `/root/software/cpuminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/cpuminer'
make: *** [all] Error 2
Let me know if you need the full log
Last edit :
I managed to compile under linux. Here's what I did
clone the git repository
1) clone the git repo
git clone
https://github.com/wangchun/cpuminer.gitcd cpuminer
2) install dependencies
sudo apt-get install libcurl3 libcurl4-openssl-dev automake autoconf libcrypto++-dev
3) find your copy of "libcurl.m4"
find / -name libcurl.m4
4) copy libcurl.m4 into a directory named m4 inside the cpuminer directory
mkdir m4
cp <a directory>/libcurl.m4 m4 (example : cp /usr/share/aclocal/libcurl.m4 m4 )
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
5) edit the autogen.sh file, replace "aclocal" with "aclocal -I <your cpuminer directory>/m4"
example :
the line before :
aclocal
the line after :
aclocal -I /root/software/cpuminer/m4
6) edit Makefile (not Makefile.am)
change this line (line 276):
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread
to this :
minerd_LDADD = -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread -lssl -lcrypto
7) build:
./autogen.sh
CFLAGS="-O3 -Wall -msse2" ./configure
make
After it's done, run ./minerd
I'm getting a share accepted about every two seconds.. cant see if I'm getting blocks yet as I'm running protosharesd
Can I use this to connect to a pool?