Post
Topic
Board Mining (Altcoins)
Re: [ANN] sgminer v5 - new unified multi-algorithm on-the-fly kernel switching miner
by
capler
on 23/11/2014, 08:25:14 UTC
SGMINER-

After cloning the latest git (81d9c9e574866cd5e10794875872c9c08b11bd2b), 3 days old today, I follwed the *.nix build instructions:

git submodule init
git submodule update
autoreconf -i
CFLAGS=CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPPSDK-2.9-1/include/" LDFLAGS="-L/opt/AMDAPPSDK-2.9-1/lib/x86_64/" ./configure --enable-neoscrypt
make

I get a compile error:

make[2]: Leaving directory `/home/borqd/master/sph'
make[2]: Entering directory `/home/borqd/master'
  CC       sgminer-sgminer.o
sgminer.c: In function ‘stratum_sthread’:
sgminer.c:5500:15: warning: unused variable ‘nonce2_64’ [-Wunused-variable]
     uint64_t *nonce2_64;
               ^
sgminer.c: In function ‘main’:
sgminer.c:8476:3: error: ‘s’ undeclared (first use in this function)
   s = strdup(argv[0]);
   ^
sgminer.c:8476:3: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [sgminer-sgminer.o] Error 1
make[2]: Leaving directory `/home/borqd/master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/borqd/master'
make: *** [all] Error 2

My computer is at the command prompt with no runtime sgminer file.  What is wrong?       -scryptr

edit:  I checked the source code and the error reports appear to be correct.  I am guessing that the errors are typos, but I haven't been able to correct them.       --scryptr
I'm have this error too. Please help