If you use macOS,
procedures how to build are following:
brew install curl
brew install autoconf
brew install automake
git clone
https://github.com/macchky/cpuminer.gitcd cpuminer
mkdir m4
cp /usr/local/Cellar/curl/7.57.0/share/aclocal/libcurl.m4 ./m4
# add "ACLOCAL_AMFLAGS = -I m4" into Makefile.am.
minerd_LDFLAGS = $(PTHREAD_FLAGS)
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @WS2_LIBS@
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@
ACLOCAL_AMFLAGS = -I m4 # <- here
#fix autogen.sh like this
#!/bin/sh
# You need autoconf 2.5x, preferably 2.57 or later
# You need automake 1.7 or later. 1.6 might work.
set -e
aclocal -I m4
autoheader
automake --gnu --add-missing --copy
autoconf
./autogen.sh
./nomacro.pl
./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"
make
# and run like this
./minerd -a yescrypt -o stratum+tcp://zenypool.com:4444 -u Username.user -p password
and also refer to this page:
https://zenypool.com/index.php?page=gettingstartedHappy mining!