Pages:
Author

Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot) - page 36. (Read 500113 times)

legendary
Activity: 2716
Merit: 1094
Black Belt Developer
But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?


61, not 60.
newbie
Activity: 55
Merit: 0
pallas,
scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.

cpu doesn't matter, unless you compiled with cpu specific flags.
is the software the same on the two machines? same OS, same version? same packages installed?
I had no problems sharing ccminer binaries with other people using the same linux OS, it even worked with different distributions, provided it had the same shared libraries available.
Exactly - all the same: OS, miner software, etc.

But could you tell me please if I want to compile ccminer for GTX 1050 only regardless any CPU what should I do?

As I get all I need is add into Makefile.am the following flag:
Code:
nvcc_ARCH = -gencode=arch=compute_60,code="sm_60,compute_60"
and remove all other flags concerning nvcc_ARCH.

Correct?
newbie
Activity: 14
Merit: 0
newbie
Activity: 52
Merit: 0
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
newbie
Activity: 14
Merit: 0
Hello

I am having problems with latest https://github.com/tpruvot/ccminer ccminer 2.2.2 with CUDA 9. Last version before this one i compiled with out any problem. I have update CUDA from 7.5 to 9 and i get this error:

https://pastebin.com/Lf7TVRJC

Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.90                 Driver Version: 384.90                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070    On   | 00000000:01:00.0  On |                  N/A |
|  0%   29C    P8     8W / 130W |    114MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1070    On   | 00000000:02:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1070    On   | 00000000:04:00.0 Off |                  N/A |
|  0%   20C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 1070    On   | 00000000:05:00.0 Off |                  N/A |
|  0%   24C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 1070    On   | 00000000:06:00.0 Off |                  N/A |
|  0%   23C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 1070    On   | 00000000:08:00.0 Off |                  N/A |
|  0%   24C    P8     6W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 1070    On   | 00000000:09:00.0 Off |                  N/A |
|  0%   30C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 1070    On   | 00000000:0A:00.0 Off |                  N/A |
|  0%   27C    P8     7W / 130W |     19MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1707      G   /usr/lib/xorg/Xorg                           112MiB |
|    1      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    2      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    3      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    4      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    5      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    6      1707      G   /usr/lib/xorg/Xorg                            17MiB |
|    7      1707      G   /usr/lib/xorg/Xorg                            17MiB |
+-----------------------------------------------------------------------------+

Code:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176

Code:
g++-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).
gcc-5 is already the newest version (5.4.0-6ubuntu1~16.04.5).

Linux mint 18.1
Could someone help me and tell were the problem is?
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.

cpu doesn't matter, unless you compiled with cpu specific flags.
is the software the same on the two machines? same OS, same version? same packages installed?
I had no problems sharing ccminer binaries with other people using the same linux OS, it even worked with different distributions, provided it had the same shared libraries available.
newbie
Activity: 55
Merit: 0
scryptr,
JUST USE BUILD.SH
Huh Of course I use it... Every time, again and again (for every another PC) i use this file to compile ccminer by default. Or what did you mean by that?

I never found this intimidating or difficult.
Well, that's not too hard indeed. But when you've to download nvidia-toolkit (2.5GB) and then compile ccminer (from 5-15 mins) ten times in a row - that's a lil bit frustrating! Do you get me? Smiley

Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.
Yup, all my GPUs are Pascal (GTX 1050). But can you gimme please an example how to use switches for Pascal GPUs? Or did you mean maybe flags not switches? Well, those flags won't help - I tell you (see below why).

And... Could you please explain how is it possible... There two absolutely identical PC: motherboards, CPU, the same GPUs (1050) from the same vendor. I compile ccminer on one of them and expect that it will work on both PC (make sense?) Nope! It works only on PC it was built on! Why is that?? (btw, it was tested on cryptonight algo).

I think it's not about GPUs architecture. It's about CPU architecture. ccminer is too sensetive to all hardware during its compiling... How to say ccminer to be not so sensetive to get more universal solution?

Thank you!

P.S. But under windows it works perfectly. You don't need to break your brain - you just need to download ready binaries and launch it...... It's a dream for Ubuntu Sad

P.P.S. BTW, what switch should I use for GTX 1050? Never found it in the list.
legendary
Activity: 1797
Merit: 1028
scryptr, thank you.

Maybe you can help with another question. Is there a way TO NOT COMPILE CCMINER FOR EVERY PC?!?!

I have several rigs (they are on Ubuntu). I've compiled ccminer for one of them and it's worked. Then I switched ready ccminer to the same hardware configuration (socket, CPU, videocards) and... CCminer just exited after its launching.. So I had to compile it AGAIN... and it worked.

OMG... Should I compile this hell under every PC?....

Thank you!

JUST USE BUILD.SH--

Each build will be compiled against the hardware and drivers on each PC.  It takes a while to compile, depending on the CPU, but it fits the PC it is built on.  Further, if you have all Pascal GPUs, you can set switches within the code to build a binary specific for Pascal architecture.  Likewise, you can build for older architecture.  I never found this intimidating or difficult.       --scryptr
newbie
Activity: 55
Merit: 0
scryptr, thank you.

Maybe you can help with another question. Is there a way TO NOT COMPILE CCMINER FOR EVERY PC?!?!

I have several rigs (they are on Ubuntu). I've compiled ccminer for one of them and it's worked. Then I switched ready ccminer to the same hardware configuration (socket, CPU, videocards) and... CCminer just exited after its launching.. So I had to compile it AGAIN... and it worked.

OMG... Should I compile this hell under every PC?....

Thank you!
legendary
Activity: 1797
Merit: 1028
Is there a way to compile ccminer (for Ubuntu) for a specific algorithm (not for all)? It it is possbile could you please tell me how to do it in details?

Thank you!

SIMPLE ANSWER, NO! --

For a more complex answer, you would need to remove a great deal of code.  For example, tsiv's CryptoNight miner is only for CryptoNight.  Modifications to several algorithm components of the code so that CryptoNight algorithm could be mined made the miner incompatible with normal use for those modified algorithms.

It is possible to re-code CCminer for only one algorithm, but the path is wickedly complex.  It cannot currently be done with "switches" within the code similar to those used to support or not support Maxwell or Pascal or earlier chip architecture.       --scryptr
newbie
Activity: 55
Merit: 0
Is there a way to compile ccminer (for Ubuntu) for a specific algorithm (not for all)? It it is possbile could you please tell me how to do it in details?

Thank you!
newbie
Activity: 55
Merit: 0
Well, I'm trying cryptonight via recent 2.2.2 ccminer (GTX 1050). On Windows it works well. But under Ubuntu it just closed without any error.

Could you tell me please how to solve the problem? Thank you!
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
I solved it but still not able to build ccminer
look like you are using g++ 7
member
Activity: 99
Merit: 10
Hallo, dev!
When are you going to make API work properly?
Like it is with Claymore or EBWF. Noone can make it work!

API works perfect.
How can I make it work?
What else do I need expect --api-bind= or -b (ip address:port) key?

"--api-bind=0.0.0.0:12345" is enough but if you expect to open a webpage when enter ip:port in browser - it will not work. You will need something like https://github.com/tpruvot/ccminer/tree/windows/api. It is quite easy with these examples.
newbie
Activity: 70
Merit: 0
Hallo, dev!
When are you going to make API work properly?
Like it is with Claymore or EBWF. Noone can make it work!

API works perfect.
How can I make it work?
What else do I need expect --api-bind= or -b (ip address:port) key?
newbie
Activity: 2
Merit: 0
I solved it but still not able to build ccminer

Code:
# CC=/usr/bin/gcc53 ./build.sh
Making distclean in compat
make[1]: ingresso nella directory "/home/slave-dom/Miners/ccminer/compat"
Making distclean in jansson
make[2]: ingresso nella directory "/home/slave-dom/Miners/ccminer/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]: uscita dalla directory "/home/slave-dom/Miners/ccminer/compat/jansson"
make[2]: ingresso nella directory "/home/slave-dom/Miners/ccminer/compat"
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: uscita dalla directory "/home/slave-dom/Miners/ccminer/compat"
rm -f Makefile
make[1]: uscita dalla directory "/home/slave-dom/Miners/ccminer/compat"
make[1]: ingresso nella directory "/home/slave-dom/Miners/ccminer"
test -z "ccminer" || rm -f ccminer
rm -f *.o
rm -f Algo256/*.o
rm -f JHA/*.o
rm -f compat/*.o
rm -f crypto/*.o
rm -f crypto/cpu/*.o
rm -f equi/*.o
rm -f equi/blake2/*.o
rm -f heavy/*.o
rm -f lbry/*.o
rm -f lyra2/*.o
rm -f neoscrypt/*.o
rm -f quark/*.o
rm -f qubit/*.o
rm -f scrypt/*.o
rm -f sha256/*.o
rm -f sia/*.o
rm -f skunk/*.o
rm -f sph/*.o
rm -f tribus/*.o
rm -f x11/*.o
rm -f x13/*.o
rm -f x15/*.o
rm -f x17/*.o
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f Algo256/.deps/.dirstamp
rm -f Algo256/.dirstamp
rm -f JHA/.deps/.dirstamp
rm -f JHA/.dirstamp
rm -f compat/.deps/.dirstamp
rm -f compat/.dirstamp
rm -f crypto/.deps/.dirstamp
rm -f crypto/.dirstamp
rm -f crypto/cpu/.deps/.dirstamp
rm -f crypto/cpu/.dirstamp
rm -f equi/.deps/.dirstamp
rm -f equi/.dirstamp
rm -f equi/blake2/.deps/.dirstamp
rm -f equi/blake2/.dirstamp
rm -f heavy/.deps/.dirstamp
rm -f heavy/.dirstamp
rm -f lbry/.deps/.dirstamp
rm -f lbry/.dirstamp
rm -f lyra2/.deps/.dirstamp
rm -f lyra2/.dirstamp
rm -f neoscrypt/.deps/.dirstamp
rm -f neoscrypt/.dirstamp
rm -f quark/.deps/.dirstamp
rm -f quark/.dirstamp
rm -f qubit/.deps/.dirstamp
rm -f qubit/.dirstamp
rm -f scrypt/.deps/.dirstamp
rm -f scrypt/.dirstamp
rm -f sha256/.deps/.dirstamp
rm -f sha256/.dirstamp
rm -f sia/.deps/.dirstamp
rm -f sia/.dirstamp
rm -f skunk/.deps/.dirstamp
rm -f skunk/.dirstamp
rm -f sph/.deps/.dirstamp
rm -f sph/.dirstamp
rm -f tribus/.deps/.dirstamp
rm -f tribus/.dirstamp
rm -f x11/.deps/.dirstamp
rm -f x11/.dirstamp
rm -f x13/.deps/.dirstamp
rm -f x13/.dirstamp
rm -f x15/.deps/.dirstamp
rm -f x15/.dirstamp
rm -f x17/.deps/.dirstamp
rm -f x17/.dirstamp
rm -f ccminer-config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
make[1]: uscita dalla directory "/home/slave-dom/Miners/ccminer"
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -rf ./.deps compat/.deps crypto/.deps crypto/cpu/.deps equi/.deps equi/blake2/.deps lyra2/.deps neoscrypt/.deps sia/.deps sph/.deps x13/.deps
rm -f Makefile
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... /usr/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... /usr/bin/gcc53
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 /usr/bin/gcc53 accepts -g... yes
checking for /usr/bin/gcc53 option to accept ISO C89... none needed
checking whether /usr/bin/gcc53 understands -c and -o together... yes
checking dependency style of /usr/bin/gcc53... gcc3
checking for /usr/bin/gcc53 option to accept ISO C99... none needed
checking how to run the C preprocessor... /usr/bin/gcc53 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether /usr/bin/gcc53 needs -traditional... no
checking dependency style of /usr/bin/gcc53... 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 /usr/bin/gcc53 option to support OpenMP... unsupported
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 for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking for gzopen in -lz... yes
checking for SSL_library_init in -lssl... yes
checking for EVP_DigestFinal_ex in -lcrypto... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.53.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 ccminer-config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: ingresso nella directory "/home/slave-dom/Miners/ccminer"
Making all in compat
make[2]: ingresso nella directory "/home/slave-dom/Miners/ccminer/compat"
make[3]: ingresso nella directory "/home/slave-dom/Miners/ccminer/compat"
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/slave-dom/Miners/ccminer/compat"
make[2]: uscita dalla directory "/home/slave-dom/Miners/ccminer/compat"
make[2]: ingresso nella directory "/home/slave-dom/Miners/ccminer"
/usr/bin/gcc53 -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -g -O2 -MT ccminer-crc32.o -MD -MP -MF .deps/ccminer-crc32.Tpo -c -o ccminer-crc32.o `test -f 'crc32.c' || echo './'`crc32.c
/usr/bin/gcc53 -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -g -O2 -MT ccminer-hefty1.o -MD -MP -MF .deps/ccminer-hefty1.Tpo -c -o ccminer-hefty1.o `test -f 'hefty1.c' || echo './'`hefty1.c
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-ccminer.o -MD -MP -MF .deps/ccminer-ccminer.Tpo -c -o ccminer-ccminer.o `test -f 'ccminer.cpp' || echo './'`ccminer.cpp
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-pools.o -MD -MP -MF .deps/ccminer-pools.Tpo -c -o ccminer-pools.o `test -f 'pools.cpp' || echo './'`pools.cpp
mv -f .deps/ccminer-crc32.Tpo .deps/ccminer-crc32.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o `test -f 'util.cpp' || echo './'`util.cpp
mv -f .deps/ccminer-hefty1.Tpo .deps/ccminer-hefty1.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-bench.o -MD -MP -MF .deps/ccminer-bench.Tpo -c -o ccminer-bench.o `test -f 'bench.cpp' || echo './'`bench.cpp
mv -f .deps/ccminer-pools.Tpo .deps/ccminer-pools.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-bignum.o -MD -MP -MF .deps/ccminer-bignum.Tpo -c -o ccminer-bignum.o `test -f 'bignum.cpp' || echo './'`bignum.cpp
mv -f .deps/ccminer-bench.Tpo .deps/ccminer-bench.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-api.o -MD -MP -MF .deps/ccminer-api.Tpo -c -o ccminer-api.o `test -f 'api.cpp' || echo './'`api.cpp
mv -f .deps/ccminer-bignum.Tpo .deps/ccminer-bignum.Po
mv -f .deps/ccminer-api.Tpo .deps/ccminer-api.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-hashlog.o -MD -MP -MF .deps/ccminer-hashlog.Tpo -c -o ccminer-hashlog.o `test -f 'hashlog.cpp' || echo './'`hashlog.cpp
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-nvml.o -MD -MP -MF .deps/ccminer-nvml.Tpo -c -o ccminer-nvml.o `test -f 'nvml.cpp' || echo './'`nvml.cpp
mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-stats.o -MD -MP -MF .deps/ccminer-stats.Tpo -c -o ccminer-stats.o `test -f 'stats.cpp' || echo './'`stats.cpp
mv -f .deps/ccminer-nvml.Tpo .deps/ccminer-nvml.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-sysinfos.o -MD -MP -MF .deps/ccminer-sysinfos.Tpo -c -o ccminer-sysinfos.o `test -f 'sysinfos.cpp' || echo './'`sysinfos.cpp
mv -f .deps/ccminer-stats.Tpo .deps/ccminer-stats.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-cuda.o -MD -MP -MF .deps/ccminer-cuda.Tpo -c -o ccminer-cuda.o `test -f 'cuda.cpp' || echo './'`cuda.cpp
mv -f .deps/ccminer-hashlog.Tpo .deps/ccminer-hashlog.Po
mv -f .deps/ccminer-ccminer.Tpo .deps/ccminer-ccminer.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-nvsettings.o -MD -MP -MF .deps/ccminer-nvsettings.Tpo -c -o ccminer-nvsettings.o `test -f 'nvsettings.cpp' || echo './'`nvsettings.cpp
mv -f .deps/ccminer-sysinfos.Tpo .deps/ccminer-sysinfos.Po
g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT equi/ccminer-equihash.o -MD -MP -MF equi/.deps/ccminer-equihash.Tpo -c -o equi/ccminer-equihash.o `test -f 'equi/equihash.cpp' || echo './'`equi/equihash.cpp
/usr/local/cuda/bin/nvcc -gencode=arch=compute_50,code=\"sm_50,compute_50\" -gencode=arch=compute_20,code=\"sm_21,compute_20\" -I/usr/local/cuda/include -I. -O3 -lineno -Xcompiler -Wall  -D_FORCE_INLINES  --ptxas-options="-v" --maxrregcount=128 -o equi/cuda_equi.o -c equi/cuda_equi.cu
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h(444): error: identifier "nullptr" is undefined

/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h(444): error: expected a ";"

mv -f .deps/ccminer-nvsettings.Tpo .deps/ccminer-nvsettings.Po
/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h(2196): error: expected a ";"

/usr/include/c++/7/bits/exception.h(63): error: expected a ";"

/usr/include/c++/7/bits/exception.h(69): error: expected a ";"

/usr/include/c++/7/exception(49): error: expected a ";"

/usr/include/c++/7/exception(57): error: expected a ";"

/usr/include/c++/7/exception(67): error: expected a "{"

/usr/include/c++/7/bits/cxxabi_init_exception.h(63): error: expected a "{"

/usr/include/c++/7/typeinfo(99): error: expected a ";"

/usr/include/c++/7/typeinfo(187): error: not a class or struct name

/usr/include/c++/7/typeinfo(190): error: expected a ";"

/usr/include/c++/7/typeinfo(197): error: expected a ";"

/usr/include/c++/7/typeinfo(204): error: not a class or struct name

/usr/include/c++/7/typeinfo(207): error: expected a ";"

/usr/include/c++/7/typeinfo(214): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(63): error: function "__cxxabiv1::std::current_exception" returns incomplete type "__cxxabiv1::std::__exception_ptr::exception_ptr"

/usr/include/c++/7/bits/exception_ptr.h(63): error: expected a "{"

/usr/include/c++/7/bits/exception_ptr.h(73): error: namespace "__cxxabiv1::std" has no member "rethrow_exception"

/usr/include/c++/7/bits/exception_ptr.h(83): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(85): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(86): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(88): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(90): error: declaration is incompatible with previous "__cxxabiv1::std::current_exception"
(63): here

/usr/include/c++/7/bits/exception_ptr.h(90): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(90): error: expected a ";"

g++ -DHAVE_CONFIG_H -I.   -pthread -fno-strict-aliasing  -I/usr/local/cuda/include -DUSE_WRAPNVML    -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT ccminer-fuguecoin.o -MD -MP -MF .deps/ccminer-fuguecoin.Tpo -c -o ccminer-fuguecoin.o `test -f 'fuguecoin.cpp' || echo './'`fuguecoin.cpp
/usr/include/c++/7/bits/exception_ptr.h(91): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(93): error: namespace "__cxxabiv1::std" has no member "make_exception_ptr"

/usr/include/c++/7/bits/exception_ptr.h(93): error: a template friend declaration cannot be declared in a local class

/usr/include/c++/7/bits/exception_ptr.h(93): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(96): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(98): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(101): error: incomplete type is not allowed

/usr/include/c++/7/bits/exception_ptr.h(101): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(122): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(132): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(149): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(150): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(153): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(158): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(159): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(162): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(163): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(166): error: use of a local type to declare a function

/usr/include/c++/7/bits/exception_ptr.h(167): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(179): error: expected a ";"

/usr/include/c++/7/bits/exception_ptr.h(214): error: expected a ";"

/usr/include/c++/7/bits/move.h(46): error: identifier "constexpr" is undefined

/usr/include/c++/7/bits/move.h(46): error: "_Tp" is not a function or static data member

/usr/include/c++/7/bits/move.h(51): error: expected a ";"

/usr/include/c++/7/type_traits(71): error: identifier "constexpr" is undefined

/usr/include/c++/7/type_traits(71): error: template parameter "_Tp" may not be redeclared in this scope

/usr/include/c++/7/type_traits(71): error: expected a ";"

/usr/include/c++/7/type_traits(72): error: member "__cxxabiv1::std::integral_constant<_Tp, __v>::_Tp" is not a type name

/usr/include/c++/7/type_traits(73): error: member "__cxxabiv1::std::integral_constant<_Tp, __v>::_Tp" is not a type name

/usr/include/c++/7/type_traits(74): error: identifier "constexpr" is undefined

/usr/include/c++/7/type_traits(79): error: identifier "constexpr" is undefined

/usr/include/c++/7/type_traits(79): error: "value_type" has already been declared in the current scope

/usr/include/c++/7/type_traits(79): error: expected a ";"

/usr/include/c++/7/type_traits(84): error: identifier "constexpr" is undefined

/usr/include/c++/7/type_traits(84): error: "_Tp" is not a function or static data member

/usr/include/c++/7/type_traits(93): error: expected a declaration

/usr/include/c++/7/type_traits(93): error: expected a ";"

/usr/include/c++/7/type_traits(126): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(248): error: identifier "char16_t" is undefined

/usr/include/c++/7/type_traits(252): error: identifier "char32_t" is undefined

/usr/include/c++/7/type_traits(252): error: class "__cxxabiv1::std::__is_integral_helper<>" has already been defined

/usr/include/c++/7/type_traits(350): error: identifier "__float128" is undefined

/usr/include/c++/7/type_traits(365): error: namespace "__cxxabiv1::std" has no member "size_t"

/usr/include/c++/7/type_traits(466): error: expected a ">"

/usr/include/c++/7/type_traits(470): error: expected a ">"

/usr/include/c++/7/type_traits(478): error: expected a ">"

/usr/include/c++/7/type_traits(482): error: expected a ">"

/usr/include/c++/7/type_traits(490): error: expected a ">"

/usr/include/c++/7/type_traits(494): error: expected a ">"

/usr/include/c++/7/type_traits(502): error: expected a ">"

/usr/include/c++/7/type_traits(506): error: expected a ">"

/usr/include/c++/7/type_traits(514): error: expected a ">"

/usr/include/c++/7/type_traits(518): error: expected a ">"

/usr/include/c++/7/type_traits(526): error: expected a ">"

/usr/include/c++/7/type_traits(530): error: expected a ">"

/usr/include/c++/7/type_traits(538): error: expected a ">"

/usr/include/c++/7/type_traits(542): error: expected a ">"

/usr/include/c++/7/type_traits(550): error: expected a ">"

/usr/include/c++/7/type_traits(554): error: expected a ">"

/usr/include/c++/7/type_traits(564): error: namespace "__cxxabiv1::std" has no member "nullptr_t"

/usr/include/c++/7/type_traits(585): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(591): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(598): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(605): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(615): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(641): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(751): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(765): error: expected a ";"

/usr/include/c++/7/type_traits(780): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)

/usr/include/c++/7/type_traits(790): error: expected a ")"

/usr/include/c++/7/type_traits(801): error: an explicit template argument list is not allowed on this declaration

/usr/include/c++/7/type_traits(801): error: expected a type specifier

/usr/include/c++/7/type_traits(801): error: function returning function is not allowed

/usr/include/c++/7/type_traits(801): error: expected a ";"

Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_00002002_00000000-9_cuda_equi.compute_20.cpp1.ii".
Compilation terminated.
make[2]: *** [Makefile:2664: equi/cuda_equi.o] Error 4
make[2]: *** Attesa per i processi non terminati....
mv -f .deps/ccminer-fuguecoin.Tpo .deps/ccminer-fuguecoin.Po
mv -f equi/.deps/ccminer-equihash.Tpo equi/.deps/ccminer-equihash.Po
mv -f .deps/ccminer-cuda.Tpo .deps/ccminer-cuda.Po
make[2]: uscita dalla directory "/home/slave-dom/Miners/ccminer"
make[1]: *** [Makefile:2196: all-recursive] Error 1
make[1]: uscita dalla directory "/home/slave-dom/Miners/ccminer"
make: *** [Makefile:651: all] Error 2
#
newbie
Activity: 2
Merit: 0
Hi, i'm trying to build ccminer on Fedora 26 but i get this error

Code:
$ ./build.sh
make: ***  Nessuna regola per generare l'obiettivo "distclean".  Arresto.
clean
configure.ac:4: installing './config.sub'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
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... /usr/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... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking dependency style of gcc... 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 gcc option to support OpenMP... -fopenmp
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 for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking for gzopen in -lz... yes
checking for SSL_library_init in -lssl... no
configure: error: OpenSSL library required
make: *** Nessun obiettivo specificato e nessun makefile trovato.  Arresto.
$

Can anyone help me?
member
Activity: 99
Merit: 10
Hallo, dev!
When are you going to make API work properly?
Like it is with Claymore or EBWF. Noone can make it work!

API works perfect.
newbie
Activity: 70
Merit: 0
Hallo, dev!
When are you going to make API work properly?
Like it is with Claymore or EBWF. Noone can make it work!
Pages:
Jump to: