Post
Topic
Board Mining (Altcoins)
Re: [ANN]: cpuminer-opt v3.7.5, open source optimized multi-algo CPU miner
by
runningwithbeer
on 11/12/2017, 22:57:47 UTC
I'm trying to compile on CentOS (2.6.32-431.el6.x86_64). I install the following dependancies without error:
Development Tools
curl-devel
openssl-devel
gmp-devel

When I build, this is the output, can anyone tell me what is wrong?

Code:
make: *** No rule to make target `distclean'.  Stop.
clean
configure.ac:17: installing `./compile'
configure.ac:4: installing `./config.guess'
configure.ac:4: installing `./config.sub'
configure.ac:9: installing `./install-sh'
configure.ac:9: installing `./missing'
compat/jansson/Makefile.am: installing `./depcomp'
Makefile.am:139: whitespace following trailing backslash
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... yes
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking whether le16dec is declared... no
checking whether le16enc is declared... no
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... no
configure: WARNING: The assembler does not support the AVX2 instruction set.
checking for json_loads in -ljansson... no
checking for pthread_create in -lpthread... yes
checking whether __uint128_t is supported... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/usr/local/src/cpuminer-opt'
Making all in compat
make[2]: Entering directory `/usr/local/src/cpuminer-opt/compat'
Making all in jansson
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat/jansson'
depbase=`echo dump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT dump.o -MD -MP -MF $depbase.Tpo -c -o dump.o dump.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo error.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT error.o -MD -MP -MF $depbase.Tpo -c -o error.o error.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo hashtable.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT hashtable.o -MD -MP -MF $depbase.Tpo -c -o hashtable.o hashtable.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo load.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT load.o -MD -MP -MF $depbase.Tpo -c -o load.o load.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo memory.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT memory.o -MD -MP -MF $depbase.Tpo -c -o memory.o memory.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo pack_unpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT pack_unpack.o -MD -MP -MF $depbase.Tpo -c -o pack_unpack.o pack_unpack.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strbuffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT strbuffer.o -MD -MP -MF $depbase.Tpo -c -o strbuffer.o strbuffer.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo strconv.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT strconv.o -MD -MP -MF $depbase.Tpo -c -o strconv.o strconv.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo utf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT utf.o -MD -MP -MF $depbase.Tpo -c -o utf.o utf.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo value.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..   -Iyes/include  -O3 -march=native -Wall  -Iyes/include -MT value.o -MD -MP -MF $depbase.Tpo -c -o value.o value.c &&\
mv -f $depbase.Tpo $depbase.Po
rm -f libjansson.a
ar cru libjansson.a dump.o error.o hashtable.o load.o memory.o pack_unpack.o strbuffer.o strconv.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/usr/local/src/cpuminer-opt/compat/jansson'
make[3]: Entering directory `/usr/local/src/cpuminer-opt/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Leaving directory `/usr/local/src/cpuminer-opt/compat'
make[2]: Entering directory `/usr/local/src/cpuminer-opt'
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-cpu-miner.o -MD -MP -MF .deps/cpuminer-cpu-miner.Tpo -c -o cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-util.o -MD -MP -MF .deps/cpuminer-util.Tpo -c -o cpuminer-util.o `test -f 'util.c' || echo './'`util.c
g++ -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include  -g -O2 -MT cpuminer-uint256.o -MD -MP -MF .deps/cpuminer-uint256.Tpo -c -o cpuminer-uint256.o `test -f 'uint256.cpp' || echo './'`uint256.cpp
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-api.o -MD -MP -MF .deps/cpuminer-api.Tpo -c -o cpuminer-api.o `test -f 'api.c' || echo './'`api.c
util.c: In function ???????applog????????:
util.c:107: warning: implicit declaration of function ???????syslog????????
mv -f .deps/cpuminer-uint256.Tpo .deps/cpuminer-uint256.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-sysinfos.o -MD -MP -MF .deps/cpuminer-sysinfos.Tpo -c -o cpuminer-sysinfos.o `test -f 'sysinfos.c' || echo './'`sysinfos.c
mv -f .deps/cpuminer-api.Tpo .deps/cpuminer-api.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compat/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -march=native -Wall  -Iyes/include -MT cpuminer-algo-gate-api.o -MD -MP -MF .deps/cpuminer-algo-gate-api.Tpo -c -o cpuminer-algo-gate-api.o `test -f 'algo-gate-api.c' || echo './'`algo-gate-api.c
algo-gate-api.c: In function ???????register_algo_gate????????:
algo-gate-api.c:156: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:157: error: #pragma GCC diagnostic not allowed inside functions
algo-gate-api.c:159: warning: implicit declaration of function ???????register_argon2_algo????????
algo-gate-api.c:160: warning: implicit declaration of function ???????register_axiom_algo????????
algo-gate-api.c:161: warning: implicit declaration of function ???????register_bastion_algo????????
algo-gate-api.c:162: warning: implicit declaration of function ???????register_blake_algo????????
algo-gate-api.c:163: warning: implicit declaration of function ???????register_blakecoin_algo????????
algo-gate-api.c:165: warning: implicit declaration of function ???????register_blake2s_algo????????
algo-gate-api.c:166: warning: implicit declaration of function ???????register_c11_algo????????
algo-gate-api.c:167: warning: implicit declaration of function ???????register_cryptolight_algo????????
algo-gate-api.c:168: warning: implicit declaration of function ???????register_cryptonight_algo????????
algo-gate-api.c:169: warning: implicit declaration of function ???????register_decred_algo????????
algo-gate-api.c:170: warning: implicit declaration of function ???????register_deep_algo????????
algo-gate-api.c:171: warning: implicit declaration of function ???????register_dmd_gr_algo????????
algo-gate-api.c:172: warning: implicit declaration of function ???????register_drop_algo????????
algo-gate-api.c:173: warning: implicit declaration of function ???????register_fresh_algo????????
algo-gate-api.c:174: warning: implicit declaration of function ???????register_groestl_algo????????
algo-gate-api.c:175: warning: implicit declaration of function ???????register_heavy_algo????????
algo-gate-api.c:176: warning: implicit declaration of function ???????register_hmq1725_algo????????
algo-gate-api.c:177: warning: implicit declaration of function ???????register_hodl_algo????????
algo-gate-api.c:178: warning: implicit declaration of function ???????register_jha_algo????????
algo-gate-api.c:179: warning: implicit declaration of function ???????register_keccak_algo????????
algo-gate-api.c:180: warning: implicit declaration of function ???????register_keccakc_algo????????
algo-gate-api.c:181: warning: implicit declaration of function ???????register_lbry_algo????????
algo-gate-api.c:182: warning: implicit declaration of function ???????register_luffa_algo????????
algo-gate-api.c:183: warning: implicit declaration of function ???????register_lyra2re_algo????????
algo-gate-api.c:184: warning: implicit declaration of function ???????register_lyra2rev2_algo????????
algo-gate-api.c:185: warning: implicit declaration of function ???????register_lyra2z_algo????????
algo-gate-api.c:186: warning: implicit declaration of function ???????register_lyra2z330_algo????????
algo-gate-api.c:187: warning: implicit declaration of function ???????register_m7m_algo????????
algo-gate-api.c:188: warning: implicit declaration of function ???????register_myriad_algo????????
algo-gate-api.c:189: warning: implicit declaration of function ???????register_neoscrypt_algo????????
algo-gate-api.c:190: warning: implicit declaration of function ???????register_nist5_algo????????
algo-gate-api.c:191: warning: implicit declaration of function ???????register_pentablake_algo????????
algo-gate-api.c:192: warning: implicit declaration of function ???????register_phi1612_algo????????
algo-gate-api.c:193: warning: implicit declaration of function ???????register_pluck_algo????????
algo-gate-api.c:194: warning: implicit declaration of function ???????register_polytimos_algo????????
algo-gate-api.c:195: warning: implicit declaration of function ???????register_quark_algo????????
algo-gate-api.c:196: warning: implicit declaration of function ???????register_qubit_algo????????
algo-gate-api.c:197: warning: implicit declaration of function ???????register_scrypt_algo????????
algo-gate-api.c:198: warning: implicit declaration of function ???????register_scryptjane_algo????????
algo-gate-api.c:199: warning: implicit declaration of function ???????register_sha256d_algo????????
algo-gate-api.c:200: warning: implicit declaration of function ???????register_sha256t_algo????????
algo-gate-api.c:201: warning: implicit declaration of function ???????register_shavite_algo????????
algo-gate-api.c:202: warning: implicit declaration of function ???????register_skein_algo????????
algo-gate-api.c:203: warning: implicit declaration of function ???????register_skein2_algo????????
algo-gate-api.c:204: warning: implicit declaration of function ???????register_skunk_algo????????
algo-gate-api.c:205: warning: implicit declaration of function ???????register_timetravel_algo????????
algo-gate-api.c:206: warning: implicit declaration of function ???????register_timetravel10_algo????????
algo-gate-api.c:207: warning: implicit declaration of function ???????register_tribus_algo????????
algo-gate-api.c:208: warning: implicit declaration of function ???????register_vanilla_algo????????
algo-gate-api.c:209: warning: implicit declaration of function ???????register_veltor_algo????????
algo-gate-api.c:210: warning: implicit declaration of function ???????register_whirlpool_algo????????
algo-gate-api.c:211: warning: implicit declaration of function ???????register_whirlpoolx_algo????????
algo-gate-api.c:212: warning: implicit declaration of function ???????register_x11_algo????????
algo-gate-api.c:213: warning: implicit declaration of function ???????register_x11evo_algo????????
algo-gate-api.c:214: warning: implicit declaration of function ???????register_sib_algo????????
algo-gate-api.c:215: warning: implicit declaration of function ???????register_x13_algo????????
algo-gate-api.c:216: warning: implicit declaration of function ???????register_x13sm3_algo????????
algo-gate-api.c:217: warning: implicit declaration of function ???????register_x14_algo????????
algo-gate-api.c:218: warning: implicit declaration of function ???????register_x15_algo????????
algo-gate-api.c:219: warning: implicit declaration of function ???????register_x17_algo????????
algo-gate-api.c:220: warning: implicit declaration of function ???????register_xevan_algo????????
algo-gate-api.c:221: warning: implicit declaration of function ???????register_yescrypt_algo????????
algo-gate-api.c:222: warning: implicit declaration of function ???????register_yescryptr16_algo????????
algo-gate-api.c:223: warning: implicit declaration of function ???????register_zr5_algo????????
algo-gate-api.c:226: error: #pragma GCC diagnostic not allowed inside functions
make[2]: *** [cpuminer-algo-gate-api.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/cpuminer-sysinfos.Tpo .deps/cpuminer-sysinfos.Po
mv -f .deps/cpuminer-util.Tpo .deps/cpuminer-util.Po
mv -f .deps/cpuminer-cpu-miner.Tpo .deps/cpuminer-cpu-miner.Po
make[2]: Leaving directory `/usr/local/src/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file