Today i tried to compile this https://github.com/magi-project/wolf-m7m-cpuminer-V2.git from source to my new trial VPS on Azure.
Strange, but there was an kind of error with this source and i couldnt compile the minerd.
Here is the log:
nouser@empty-hostname:~/wolf-v2$ ./autogen.sh && ./configure CFLAGS="-O3" CXXFLAGS="-O3" && make
configure.ac:13: installing './compile'
configure.ac:4: installing './config.guess'
configure.ac:4: installing './config.sub'
Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
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 make supports nested variables... 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 whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
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 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 for size_t... yes
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... yes
checking for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking for __gmpz_init in -lgmp... yes
checking gmp.h usability... yes
checking gmp.h presence... yes
checking for gmp.h... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.37.1
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating m7/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory '/home/nouser/wolf-v2'
Making all in compat
make[2]: Entering directory '/home/nouser/wolf-v2/compat'
make[3]: Entering directory '/home/nouser/wolf-v2/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nouser/wolf-v2/compat'
make[2]: Leaving directory '/home/nouser/wolf-v2/compat'
Making all in m7
make[2]: Entering directory '/home/nouser/wolf-v2/m7'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-haval.o -MD -MP -MF .deps/libm7m_a-haval.Tpo -c -o libm7m_a-haval.o `test -f 'haval.c' || echo './'`haval.c
mv -f .deps/libm7m_a-haval.Tpo .deps/libm7m_a-haval.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-keccak.o -MD -MP -MF .deps/libm7m_a-keccak.Tpo -c -o libm7m_a-keccak.o `test -f 'keccak.c' || echo './'`keccak.c
mv -f .deps/libm7m_a-keccak.Tpo .deps/libm7m_a-keccak.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-ripemd.o -MD -MP -MF .deps/libm7m_a-ripemd.Tpo -c -o libm7m_a-ripemd.o `test -f 'ripemd.c' || echo './'`ripemd.c
mv -f .deps/libm7m_a-ripemd.Tpo .deps/libm7m_a-ripemd.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-sha2.o -MD -MP -MF .deps/libm7m_a-sha2.Tpo -c -o libm7m_a-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/libm7m_a-sha2.Tpo .deps/libm7m_a-sha2.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-sha2big.o -MD -MP -MF .deps/libm7m_a-sha2big.Tpo -c -o libm7m_a-sha2big.o `test -f 'sha2big.c' || echo './'`sha2big.c
mv -f .deps/libm7m_a-sha2big.Tpo .deps/libm7m_a-sha2big.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-tiger.o -MD -MP -MF .deps/libm7m_a-tiger.Tpo -c -o libm7m_a-tiger.o `test -f 'tiger.c' || echo './'`tiger.c
mv -f .deps/libm7m_a-tiger.Tpo .deps/libm7m_a-tiger.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Ofast -march=native -flto -O3 -MT libm7m_a-whirlpool.o -MD -MP -MF .deps/libm7m_a-whirlpool.Tpo -c -o libm7m_a-whirlpool.o `test -f 'whirlpool.c' || echo './'`whirlpool.c
mv -f .deps/libm7m_a-whirlpool.Tpo .deps/libm7m_a-whirlpool.Po
rm -f libm7m.a
ar cru libm7m.a libm7m_a-haval.o libm7m_a-keccak.o libm7m_a-ripemd.o libm7m_a-sha2.o libm7m_a-sha2big.o libm7m_a-tiger.o libm7m_a-whirlpool.o
BFD: libm7m_a-haval.o: plugin needed to handle lto object
BFD: libm7m_a-keccak.o: plugin needed to handle lto object
BFD: libm7m_a-ripemd.o: plugin needed to handle lto object
BFD: libm7m_a-sha2.o: plugin needed to handle lto object
BFD: libm7m_a-sha2big.o: plugin needed to handle lto object
BFD: libm7m_a-tiger.o: plugin needed to handle lto object
BFD: libm7m_a-whirlpool.o: plugin needed to handle lto object
ranlib libm7m.a
BFD: libm7m_a-haval.o: plugin needed to handle lto object
BFD: libm7m_a-keccak.o: plugin needed to handle lto object
BFD: libm7m_a-ripemd.o: plugin needed to handle lto object
BFD: libm7m_a-sha2.o: plugin needed to handle lto object
BFD: libm7m_a-sha2big.o: plugin needed to handle lto object
BFD: libm7m_a-tiger.o: plugin needed to handle lto object
BFD: libm7m_a-whirlpool.o: plugin needed to handle lto object
make[2]: Leaving directory '/home/nouser/wolf-v2/m7'
make[2]: Entering directory '/home/nouser/wolf-v2'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/minerd-cpu-miner.Tpo .deps/minerd-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-util.o -MD -MP -MF .deps/minerd-util.Tpo -c -o minerd-util.o `test -f 'util.c' || echo './'`util.c
mv -f .deps/minerd-util.Tpo .deps/minerd-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-sha2.o -MD -MP -MF .deps/minerd-sha2.Tpo -c -o minerd-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/minerd-sha2.Tpo .deps/minerd-sha2.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-scrypt.o -MD -MP -MF .deps/minerd-scrypt.Tpo -c -o minerd-scrypt.o `test -f 'scrypt.c' || echo './'`scrypt.c
mv -f .deps/minerd-scrypt.Tpo .deps/minerd-scrypt.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-m7mhash.o -MD -MP -MF .deps/minerd-m7mhash.Tpo -c -o minerd-m7mhash.o `test -f 'm7mhash.c' || echo './'`m7mhash.c
mv -f .deps/minerd-m7mhash.Tpo .deps/minerd-m7mhash.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-sha2-x64.o -MD -MP -MF .deps/minerd-sha2-x64.Tpo -c -o minerd-sha2-x64.o `test -f 'sha2-x64.S' || echo './'`sha2-x64.S
mv -f .deps/minerd-sha2-x64.Tpo .deps/minerd-sha2-x64.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./m7 -Im7 -Ofast -march=native -flto -fuse-linker-plugin -O3 -MT minerd-scrypt-x64.o -MD -MP -MF .deps/minerd-scrypt-x64.Tpo -c -o minerd-scrypt-x64.o `test -f 'scrypt-x64.S' || echo './'`scrypt-x64.S
mv -f .deps/minerd-scrypt-x64.Tpo .deps/minerd-scrypt-x64.Po
gcc -std=gnu99 -O3 -pthread -flto -fuse-linker-plugin -Ofast -o minerd minerd-cpu-miner.o minerd-util.o minerd-sha2.o minerd-scrypt.o minerd-m7mhash.o minerd-sha2-x64.o minerd-scrypt-x64.o -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread m7/libm7m.a -lgmp -lcurl -lm -lgmp
/tmp/ccXVL8gt.ltrans10.ltrans.o: In function `scanhash_m7m_hash':
ccXVL8gt.ltrans10.o:(.text+0xd2): undefined reference to `sph_sha256_init'
ccXVL8gt.ltrans10.o:(.text+0xde): undefined reference to `sph_sha256_init'
ccXVL8gt.ltrans10.o:(.text+0xf6): undefined reference to `sph_sha224'
ccXVL8gt.ltrans10.o:(.text+0x102): undefined reference to `sph_sha512_init'
ccXVL8gt.ltrans10.o:(.text+0x11a): undefined reference to `sph_sha384'
ccXVL8gt.ltrans10.o:(.text+0x126): undefined reference to `sph_keccak512_init'
ccXVL8gt.ltrans10.o:(.text+0x13e): undefined reference to `sph_keccak512'
ccXVL8gt.ltrans10.o:(.text+0x14a): undefined reference to `sph_whirlpool_init'
ccXVL8gt.ltrans10.o:(.text+0x162): undefined reference to `sph_whirlpool'
ccXVL8gt.ltrans10.o:(.text+0x16e): undefined reference to `sph_haval256_5_init'
ccXVL8gt.ltrans10.o:(.text+0x186): undefined reference to `sph_haval256_5'
ccXVL8gt.ltrans10.o:(.text+0x192): undefined reference to `sph_tiger_init'
ccXVL8gt.ltrans10.o:(.text+0x1aa): undefined reference to `sph_tiger'
ccXVL8gt.ltrans10.o:(.text+0x1b6): undefined reference to `sph_ripemd160_init'
ccXVL8gt.ltrans10.o:(.text+0x1ce): undefined reference to `sph_ripemd160'
ccXVL8gt.ltrans10.o:(.text+0x40d): undefined reference to `sph_sha224'
ccXVL8gt.ltrans10.o:(.text+0x420): undefined reference to `sph_sha256_close'
ccXVL8gt.ltrans10.o:(.text+0x454): undefined reference to `sph_sha384'
ccXVL8gt.ltrans10.o:(.text+0x46e): undefined reference to `sph_sha512_close'
ccXVL8gt.ltrans10.o:(.text+0x4a2): undefined reference to `sph_keccak512'
ccXVL8gt.ltrans10.o:(.text+0x4bc): undefined reference to `sph_keccak512_close'
ccXVL8gt.ltrans10.o:(.text+0x4f0): undefined reference to `sph_whirlpool'
ccXVL8gt.ltrans10.o:(.text+0x50a): undefined reference to `sph_whirlpool_close'
ccXVL8gt.ltrans10.o:(.text+0x53e): undefined reference to `sph_haval256_5'
ccXVL8gt.ltrans10.o:(.text+0x558): undefined reference to `sph_haval256_5_close'
ccXVL8gt.ltrans10.o:(.text+0x614): undefined reference to `sph_tiger'
ccXVL8gt.ltrans10.o:(.text+0x62e): undefined reference to `sph_tiger_close'
ccXVL8gt.ltrans10.o:(.text+0x6ea): undefined reference to `sph_ripemd160'
ccXVL8gt.ltrans10.o:(.text+0x704): undefined reference to `sph_ripemd160_close'
ccXVL8gt.ltrans10.o:(.text+0x871): undefined reference to `sph_sha224'
ccXVL8gt.ltrans10.o:(.text+0x880): undefined reference to `sph_sha256_close'
ccXVL8gt.ltrans10.o:(.text+0xe82): undefined reference to `sph_sha224'
ccXVL8gt.ltrans10.o:(.text+0xe91): undefined reference to `sph_sha256_close'
collect2: error: ld returned 1 exit status
Makefile:507: recipe for target 'minerd' failed
make[2]: *** [minerd] Error 1
make[2]: Leaving directory '/home/nouser/wolf-v2'
Makefile:760: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/nouser/wolf-v2'
Makefile:410: recipe for target 'all' failed
make: *** [all] Error 2
One more thing - the Azure runs on AMD Opteron 4171HE...
There was no problem compiling https://github.com/magi-project/m-cpuminer-legacy-v2.git...