Open darkicekeel opened 3 years ago
try using a more recent version because I am looking at the code right now and there is nothing which matches what the error is refering to... git clone https://github.com/firoorg/sgminer
lol ok found it, was looking at the wrong file (same name but different directory) :D
I am pushing something in a sec...
ok I pushed an update which should solve that weird error: just do a git pull again (or git clone https://github.com/firoorg/sgminer for a fresh install)
i've got this (final part of make's output)
`In file included from argon2ref/blake2ba.c:24: ./argon2ref/blake2b-round.h:148: note: this is the location of the previous definition 148 | #define ROUND(r) \ |
---|
argon2ref/blake2ba.c: In function ‘ablake2b_compress_test’: argon2ref/blake2ba.c:401:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 401 | printf("coming here S %08x %08x %08x %08x\n", S->t[0], S->t[1], S->f[0], S->f[1]); | |
---|---|---|
unsigned int uint64_t {aka long unsigned int} | ||
%08lx |
argon2ref/blake2ba.c:401:31: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 401 | printf("coming here S %08x %08x %08x %08x\n", S->t[0], S->t[1], S->f[0], S->f[1]); | |
---|---|---|
unsigned int uint64_t {aka long unsigned int} | ||
%08lx |
argon2ref/blake2ba.c:401:36: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 401 | printf("coming here S %08x %08x %08x %08x\n", S->t[0], S->t[1], S->f[0], S->f[1]); | |
---|---|---|
unsigned int uint64_t {aka long unsigned int} | ||
%08lx |
argon2ref/blake2ba.c:401:41: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 401 | printf("coming here S %08x %08x %08x %08x\n", S->t[0], S->t[1], S->f[0], S->f[1]); | |
---|---|---|
unsigned int uint64_t {aka long unsigned int} | ||
%08lx |
CC argon2ref/sgminer-thread.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C CC argon2ref/sgminer-core.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C CC argon2ref/sgminer-encoding.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C CC argon2ref/sgminer-ref.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C CC algorithm/sgminer-mtp_algo.o cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C In file included from /usr/include/CL/cl.h:20, from ./algorithm.h:7, from algorithm/mtp_algo.c:28: /usr/include/CL/cl_version.h:22:9: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2) 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)") | ^ |
#define VERSION "0.1.3-djm34" |
---|
In file included from algorithm/mtp_algo.c:30: ./miner.h:8: note: this is the location of the previous definition 8 | #define VERSION GIT_VERSION |
---|
CXXLD sgminer /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: sgminer-sgminer.o: undefined reference to symbol 'halfdelay' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [Makefile:993: sgminer] Error 1 make[2]: Leaving directory '/TREE/sgminer' make[1]: [Makefile:2056: all-recursive] Error 1 make[1]: Leaving directory '/TREE/sgminer' make: *** [Makefile:767: all] Error 2`
a bit of formatting would be nice... this is unreadable... you are missing some libraries it seems... now that code has been written for ubuntu, I don't know how it may react under gentoo
hi, i did an autogen.sh, configure, make and it compiled until this error
util.c: In function ‘recv_line_bos’: util.c:1858:4: error: expected expression before ‘uint32_t’ 1858 | uint32_t tip=0; | ^~~~~~~~ util.c: In function ‘recv_line_bos3’: util.c:1957:3: error: expected expression before ‘uint32_t’ 1957 | uint32_t tip = 0; | ^~~~~~~~ util.c: In function ‘recv_line_bos2’: util.c:2056:3: error: expected expression before ‘uint32_t’ 2056 | uint32_t tip = 0; | ^~~~~~~~ make[2]: *** [Makefile:1163: sgminer-util.o] Error 1 make[2]: Leaving directory '/TREE/sgminer-0.1.4' make[1]: *** [Makefile:2056: all-recursive] Error 1 make[1]: Leaving directory '/TREE/sgminer-0.1.4' make: *** [Makefile:767: all] Error 2
can you give support?