Hi all,
I am running on BAMT v1.1, I had tried to compile Uncle Bob's version, following the instructions to get this working but when I run make I got the following errors. Here is the complete commands with Make Distclean so that we can eliminate any bad object files:
quarkcoin-cpuminer# ./autogen.sh
configure.ac:113: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
/usr/share/aclocal/libcurl.m4:38: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:113: the top level
configure.ac:113: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
aclocal.m4:59: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:113: the top level
configure.ac:113: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
aclocal.m4:59: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:113: the top level
configure.ac:113: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
aclocal.m4:59: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:113: the top level
quarkcoin-cpuminer# make distclean
cd . && /bin/bash ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
Making distclean in compat
make[1]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat'
cd .. && /bin/bash ./config.status compat/Makefile
config.status: creating compat/Makefile
make[1]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat'
make[1]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat'
Making distclean in jansson
make[2]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
cd ../.. && /bin/bash ./config.status compat/jansson/Makefile depfiles
config.status: creating compat/jansson/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
make[2]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
test -z "libjansson.a" || rm -f libjansson.a
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
Making distclean in .
make[2]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat'
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat'
rm -f Makefile
make[1]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat'
Making distclean in .
make[1]: Entering directory `/opt/miners/quarkcoin-cpuminer'
test -z "minerd" || rm -f minerd
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f cpuminer-config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[1]: Leaving directory `/opt/miners/quarkcoin-cpuminer'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -rf ./.deps
rm -f Makefile
root@bamt-miner:/opt/miners/quarkcoin-cpuminer# ./configure CFLAGS="-mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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 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 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 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... no
configure: WARNING: The assembler does not support the XOP instruction set.
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 for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.21.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... 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
quarkcoin-cpuminer# make
make all-recursive
make[1]: Entering directory `/opt/miners/quarkcoin-cpuminer'
Making all in compat
make[2]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat'
Making all in jansson
make[3]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c
mv -f .deps/value.Tpo .deps/value.Po
rm -f libjansson.a
ar cru libjansson.a dump.o hashtable.o load.o strbuffer.o utf.o value.o
ranlib libjansson.a
make[3]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat/jansson'
make[3]: Entering directory `/opt/miners/quarkcoin-cpuminer/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat'
make[2]: Leaving directory `/opt/miners/quarkcoin-cpuminer/compat'
make[2]: Entering directory `/opt/miners/quarkcoin-cpuminer'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT minerd-sha2-arm.o -MD -MP -MF .deps/minerd-sha2-arm.Tpo -c -o minerd-sha2-arm.o `test -f 'sha2-arm.S' || echo './'`sha2-arm.S
mv -f .deps/minerd-sha2-arm.Tpo .deps/minerd-sha2-arm.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT minerd-sha2-x86.o -MD -MP -MF .deps/minerd-sha2-x86.Tpo -c -o minerd-sha2-x86.o `test -f 'sha2-x86.S' || echo './'`sha2-x86.S
mv -f .deps/minerd-sha2-x86.Tpo .deps/minerd-sha2-x86.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT minerd-scrypt-arm.o -MD -MP -MF .deps/minerd-scrypt-arm.Tpo -c -o minerd-scrypt-arm.o `test -f 'scrypt-arm.S' || echo './'`scrypt-arm.S
mv -f .deps/minerd-scrypt-arm.Tpo .deps/minerd-scrypt-arm.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT minerd-scrypt-x86.o -MD -MP -MF .deps/minerd-scrypt-x86.Tpo -c -o minerd-scrypt-x86.o `test -f 'scrypt-x86.S' || echo './'`scrypt-x86.S
mv -f .deps/minerd-scrypt-x86.Tpo .deps/minerd-scrypt-x86.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -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 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -mtune=amdfam10 -O3 -ffast-math -mabm -msse4a -pipe -MT minerd-quark.o -MD -MP -MF .deps/minerd-quark.Tpo -c -o minerd-quark.o `test -f 'quark.c' || echo './'`quark.c
quark.c: In function quarkhash:
quark.c:95: warning: assignment discards qualifiers from pointer target type
quark.c:124: warning: right shift count >= width of type
quark.c:124: warning: right shift count >= width of type
quark.c:124: warning: right shift count >= width of type
quark.c:124: warning: right shift count >= width of type
In file included from quark.c:21:
grso-asm.c: In function grsoTransform:
grso-asm.c:521: error: unknown register name %r15 in asm
grso-asm.c:521: error: unknown register name %r14 in asm
grso-asm.c:521: error: unknown register name %r13 in asm
grso-asm.c:521: error: unknown register name %r12 in asm
grso-asm.c:521: error: unknown register name %r11 in asm
grso-asm.c:521: error: unknown register name %r10 in asm
grso-asm.c:521: error: unknown register name %r9 in asm
grso-asm.c:521: error: unknown register name %r8 in asm
In file included from quark.c:21:
grso-asm.c:6: error: unknown register name %r15 in asm
grso-asm.c:6: error: unknown register name %r14 in asm
grso-asm.c:6: error: unknown register name %r13 in asm
grso-asm.c:6: error: unknown register name %r12 in asm
grso-asm.c:6: error: unknown register name %r11 in asm
grso-asm.c:6: error: unknown register name %r10 in asm
grso-asm.c:6: error: unknown register name %r9 in asm
grso-asm.c:6: error: unknown register name %r8 in asm
grso-asm.c: In function grsoOutputTransformation:
grso-asm.c:6: error: unknown register name %r15 in asm
grso-asm.c:6: error: unknown register name %r14 in asm
grso-asm.c:6: error: unknown register name %r13 in asm
grso-asm.c:6: error: unknown register name %r12 in asm
grso-asm.c:6: error: unknown register name %r11 in asm
grso-asm.c:6: error: unknown register name %r10 in asm
grso-asm.c:6: error: unknown register name %r9 in asm
grso-asm.c:6: error: unknown register name %r8 in asm
grso-asm.c: In function grsoP1024ASM:
grso-asm.c:6: error: unknown register name %r15 in asm
grso-asm.c:6: error: unknown register name %r14 in asm
grso-asm.c:6: error: unknown register name %r13 in asm
grso-asm.c:6: error: unknown register name %r12 in asm
grso-asm.c:6: error: unknown register name %r11 in asm
grso-asm.c:6: error: unknown register name %r10 in asm
grso-asm.c:6: error: unknown register name %r9 in asm
grso-asm.c:6: error: unknown register name %r8 in asm
In file included from quark.c:21:
grso-asm.c: In function grsoQ1024ASM:
grso-asm.c:521: error: unknown register name %r15 in asm
grso-asm.c:521: error: unknown register name %r14 in asm
grso-asm.c:521: error: unknown register name %r13 in asm
grso-asm.c:521: error: unknown register name %r12 in asm
grso-asm.c:521: error: unknown register name %r11 in asm
grso-asm.c:521: error: unknown register name %r10 in asm
grso-asm.c:521: error: unknown register name %r9 in asm
grso-asm.c:521: error: unknown register name %r8 in asm
In file included from quark.c:21:
grso-asm.c: In function quarkhash:
grso-asm.c:6: error: unknown register name %r15 in asm
grso-asm.c:6: error: unknown register name %r14 in asm
grso-asm.c:6: error: unknown register name %r13 in asm
grso-asm.c:6: error: unknown register name %r12 in asm
grso-asm.c:6: error: unknown register name %r11 in asm
grso-asm.c:6: error: unknown register name %r10 in asm
grso-asm.c:6: error: unknown register name %r9 in asm
grso-asm.c:6: error: unknown register name %r8 in asm
make[2]: *** [minerd-quark.o] Error 1
make[2]: Leaving directory `/opt/miners/quarkcoin-cpuminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/miners/quarkcoin-cpuminer'
make: *** [all] Error 2
GCC is version 4.4.5 (Debian 4.4.5-8)
Any help would be greatly appreciated. If it works, post your securecoin address and I will reward you for your time.
I get the same on a 32-bit Linux Mint (Core2), no problems on a server (i7) with Debian 7 x64. Also note the quark-readme:
must be compiled with CFLAGS="-msse2"
recomended is CFLAGS="-msse2 -O3"
jh_sse2_opt64.h is for 64bit only, sse2 enabled proccessors.
groestl is optimized assembly for Opteron or newer AMD chips. No test have
been done on Intel.
mtune=amdfam10 might be the culprit. I'm too lazy to install an x64 linux on the shitty notebook.