Coder Social home page Coder Social logo

ccminer-cryptonight's People

Contributors

tsiv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccminer-cryptonight's Issues

/usr/bin/ld: cannot find -lcudart

During make, I get next error:

gcc -g -O2 -pthread -L/usr/local/cuda/lib64 -o ccminer ccminer-cpu-miner.o ccminer-util.o ccminer-sha2.o cryptonight/cryptonight.o cryptonight/cuda_cryptonight_core.o cryptonight/cuda_cryptonight_extra.o ccminer-cryptonight.o crypto/ccminer-oaes_lib.o crypto/ccminer-c_keccak.o crypto/ccminer-c_groestl.o crypto/ccminer-c_blake256.o crypto/ccminer-c_jh.o crypto/ccminer-c_skein.o crypto/ccminer-aesb.o -lcurl -ljansson -lpthread -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl -lcrypto -lssl
/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status

Program wont run/start

So when i open it up, it wont run, or it only pops out for couple of seconds. I tried installing CUDA 8, but doesnt seem to be working.

Have a titan Xp and EVGA 1070 ftw.

Says also the block issue of sorts. Im pretty noob at this stuff.

cant compile

autogen.sh complains about libs being in a subdir and doesn't genereate configure file.
configure.sh doesn't work for lack of configure file.
now makefile is generated so i can't compile

On ubuntu 14.04

/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope

Failed at compile time with the following error:

nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code="sm_20,compute_20" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_35,code="sm_35,compute_35" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas warning : Too big maxrregcount value specified 80, will be ignored
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_20'
ptxas info : Used 0 registers
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas warning : Too big maxrregcount value specified 80, will be ignored
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_30'
ptxas info : Used 0 registers
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_35'
ptxas info : Used 0 registers
/usr/include/string.h: In function ‘void* mempcpy_inline(void, const void, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char ) memcpy (__dest, __src, __n) + __n;
^
Makefile:1155: recipe for target 'cryptonight/cryptonight.o' failed
make[2]: *
* [cryptonight/cryptonight.o] Error 1

errors compiling

Hi,

I'm having trouble. I was able to fix a bunch of problems by installing CUDA 8.0 and using gcc/g++ 4.8. Now I get this error when running Make - please help:

make all-recursive
make[1]: Entering directory '/home/dennis/Downloads/ccminer-cryptonight-master'
Making all in compat
make[2]: Entering directory '/home/dennis/Downloads/ccminer-cryptonight-master/compat'
make[3]: Entering directory '/home/dennis/Downloads/ccminer-cryptonight-master/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/dennis/Downloads/ccminer-cryptonight-master/compat'
make[2]: Leaving directory '/home/dennis/Downloads/ccminer-cryptonight-master/compat'
make[2]: Entering directory '/home/dennis/Downloads/ccminer-cryptonight-master'
nvcc -g -O2 -I . --maxrregcount=128 --ptxas-options=-v -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu
ptxas warning : Too big maxrregcount value specified 128, will be ignored
ptxas info : 0 bytes gmem
/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
^
Makefile:1153: recipe for target 'cryptonight/cryptonight.o' failed
make[2]: *** [cryptonight/cryptonight.o] Error 1
make[2]: Leaving directory '/home/dennis/Downloads/ccminer-cryptonight-master'
Makefile:725: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/dennis/Downloads/ccminer-cryptonight-master'
Makefile:395: recipe for target 'all' failed
make: *** [all] Error 2

560ti nonce does not validate on CPU!

Also tried this in Windows (underclocked the card too), with same errors however I thought best to give it a go in Linux:
GeForce GTX 560 Ti (msi twin frozr ii 560 ti, never been overclocked only used to play WoW)
Ubuntu 14.04 x 64 bit
Kernel 3.13.0-32-generic
NVIDIA-Linux-x86_64-340.32 drivers
cuda_6.0.37_linux_64.run
Makefile.Am tweaked to just compile what is relevant as below:
NVCC_GENCODE = -gencode=arch=compute_20,code="sm_20,compute_20"
I've tried sm_21 seems to make no difference. Tried many different -l switches
-l 8x48 -l 6x48 -l 6x32 -l 4x16 etc etc and the default is 8x40
compiled from latest git repository:

[2014-09-21 00:14:27] Using JSON-RPC 2.0
[2014-09-21 00:14:27] 1 miner threads started, using 'cryptonight' algorithm.
[2014-09-21 00:14:27] Starting Stratum on stratum+REMOVED
[2014-09-21 00:14:27] GPU #0: GeForce GTX 560 Ti (8 SMX), using 48 blocks of 8 threads
[2014-09-21 00:14:27] Pool set diff to 1000
[2014-09-21 00:14:27] Stratum detected new block
[2014-09-21 00:14:28] GPU #0: GeForce GTX 560 Ti, 323.56 H/s
[2014-09-21 00:14:32] GPU #0: result for nonce $000003AB does not validate on CPU!
[2014-09-21 00:14:34] GPU #0: GeForce GTX 560 Ti, 268.28 H/s
[2014-09-21 00:14:34] accepted: 1/1 (100.00%), 268.28 H/s (yay!!!)
[2014-09-21 00:14:37] GPU #0: result for nonce $0000084D does not validate on CPU!
[2014-09-21 00:14:38] GPU #0: result for nonce $000009E9 does not validate on CPU!
[2014-09-21 00:14:43] GPU #0: result for nonce $00000FBC does not validate on CPU!

configure: error: OpenSSL library required

When running configure I get this error "configure: error: OpenSSL library required"

I installed open ssl using

sudo apt install libssl-dev

as I'm using Debian GNU/Linux 9 (stretch )

I ran ./autogen.sh and ran ./configure which brings me the same error. Please help. I tried so many things like the posts below

https://superuser.com/questions/371901/openssl-missing-during-configure-how-to-fix

https://bitcoin.stackexchange.com/questions/45741/building-on-ubuntu-16-missing-ssl-during-configure

Nothing works,

Please help.

Stratum Detected New Block

*** ccminer-cryptonight for nVidia GPUs by tsiv ***

based on ccMiner by Christian Buchner and Christian H.
based on cpuminer-multi by LucasJones
based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
BTC donation address: 1JHDKp59t1RhHFXsTw2UQpR3F9BBz3R3cs
DRK donation address: XrHp267JNTVdw5P3dsBpqYfgTpWnzoESPQ
JPC donation address: Jb9hFeBgakCXvM5u27rTZoYR9j13JGmuc2
VTC donation address: VwYsZFPb6KMeWuP4voiS9H1kqxcU9kGbsw
XMR donation address:
(man these are long... single address, split on two lines)
42uasNqYPnSaG3TwRtTeVbQ4aRY3n9jY6VXX3mfgerWt4ohD
QLVaBPv3cYGKDXasTUVuLvhxetcuS16ynt85czQ48mbSrWX

[2017-09-23 10:01:02] Using JSON-RPC 2.0
[2017-09-23 10:01:02] 1 miner threads started, using 'cryptonight' algorithm.
[2017-09-23 10:01:02] GPU #0: GeForce 210 (2 SMX), using 40 blocks of 8 threads
[2017-09-23 10:01:02] Starting Stratum on stratum+tcp://xmr-eu1.nanopool.org:144
44
[2017-09-23 10:01:03] Pool set diff to 120001
[2017-09-23 10:01:03] Stratum detected new block
[2017-09-23 10:01:45] Stratum detected new block
[2017-09-23 10:02:45] Stratum detected new block
[2017-09-23 10:03:40] Stratum detected new block
[2017-09-23 10:03:50] Stratum detected new block
[2017-09-23 10:04:23] Stratum detected new block
[2017-09-23 10:04:41] Stratum detected new block
[2017-09-23 10:05:41] Stratum detected new block
[2017-09-23 10:06:42] Stratum detected new block
[2017-09-23 10:07:42] Stratum detected new block
[2017-09-23 10:08:42] Stratum detected new block
[2017-09-23 10:08:46] Stratum detected new block
[2017-09-23 10:09:46] Stratum detected new block
[2017-09-23 10:10:46] Stratum detected new block
[2017-09-23 10:11:46] Stratum detected new block
[2017-09-23 10:12:38] Stratum detected new block
[2017-09-23 10:12:47] Stratum detected new block
[2017-09-23 10:13:47] Stratum detected new block
[2017-09-23 10:14:47] Stratum detected new block
[2017-09-23 10:15:05] Stratum detected new block
[2017-09-23 10:16:05] Stratum detected new block

Am i mining or what ? New to this stuff.

Problem with start.bat!

I have 2 video cards:
1 gtx 1060 6gb
1 gtx 750ti 2gb

I want to use the 1060:
ccminer.exe -o stratum+tcp://monerol.com:3333 -u MyID -p x -d 0 (slot 0 is the 1060)

[2017-07-12 17:53:49] Using JSON-RPC 2.0
[2017-07-12 17:53:49] 1 miner threads started, using 'cryptonight' algorithm.
[2017-07-12 17:53:49] Starting Stratum on stratum+tcp://monerol.com:3333
[2017-07-12 17:53:49] GPU #0: GeForce GTX 1060 6GB (10 SMX), using 40 blocks of 8 threads
[2017-07-12 17:53:49] Pool set diff to 1000
[2017-07-12 17:53:49] Stratum detected new block
[2017-07-12 17:53:49] GPU #0: FATAL: failed to allocate device memory for long state

This is what appear when i start the file!

nvcc Unsupported gpu architecture 'compute_20'

Hello,

I'm building this on Ubuntu 16.04 xenial x64, with CUDA 9, and Teska K80 GPU.

When I try running make it gives me this error:
user@test-gpu:~/ccminer-cryptonight$ make make all-recursive make[1]: Entering directory '/home/user/ccminer-cryptonight' Making all in compat make[2]: Entering directory '/home/user/ccminer-cryptonight/compat' Making all in jansson make[3]: Entering directory '/home/user/ccminer-cryptonight/compat/jansson' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/user/ccminer-cryptonight/compat/jansson' make[3]: Entering directory '/home/user/ccminer-cryptonight/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/user/ccminer-cryptonight/compat' make[2]: Leaving directory '/home/user/ccminer-cryptonight/compat' make[2]: Entering directory '/home/user/ccminer-cryptonight' nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu nvcc fatal : Unsupported gpu architecture 'compute_20' Makefile:1155: recipe for target 'cryptonight/cryptonight.o' failed make[2]: *** [cryptonight/cryptonight.o] Error 1 make[2]: Leaving directory '/home/user/ccminer-cryptonight' Makefile:729: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/user/ccminer-cryptonight' Makefile:399: recipe for target 'all' failed make: *** [all] Error 2

Please advise on how to proceed with my build. Thank you

Won't start properly

What's going on is it's not starting at all really. The program launches then immediately closes out. I've tried running as admin, but it does it all the same. I have a good sense of what I'm doing but I'm a newish miner. I've slowed it down and from what I see it's just popping up normally then closing with no error message. Is there something obvious that I'm not doing? Is there a simple fix? A simple link to how to fix the issue would suffice. I saw someone else have a similar issue here but the answer provided didn't help me much. I've tried looking elsewhere for a solution, please help!

Edit:
Here's my specs just in case that may be an issue

AMD A10 6800k (4C 4T)
GTX 1060 6GB
16GB DDR3 RAM

Please add new custom algorithm CryptoNight Heavy X

Greetings,
I am from X-Cash team. I would like to kindly ask you if you can add our new custom algorithm to your mining software.
Proof Of Work algorithm was changed from Cryptonight V8 to modified Cryptonight HeavyX, to try to prevent ASICs and or FPGAs from mining on the network. This means as well that we are now nicehash resistant.

Daemon: https://github.com/X-CASH-official/X-CASH/releases/tag/1.5.0

You can reach us through the Discord community if any further information required:
https://discord.gg/sr5G3ch
Thank you for your time.
brg

Lovro
Marketing and Community Manager
X-Cash Team

Do not get any shares

Hi,

Im trying to get my Quadro FX 880M (laptop) to mine some XMR.
CCminer-cryptonight is the only miner i have gotten this far with.

It connects to server and detect blocks, but i do not get any shares.
It shows a hashrate of ~30000 H/s

GPUz reports 0% GPU load.

Do you have any suggestion what i should check?

Regards

stractum_recv_line failed (error)

Hello. Constantly written error "stractum_recv_line failed".

Brief description of the device:

  • Intel Core2Duo E8400
  • 4 Gb RAM
  • nVidia GeForce 9600 GT
  • Windows 8.1 Pro

Running with "--debug" option produces the following result:
[2017-08-15 12:31:05] Ignoring algo switch, this program does only cryptonight n ow.
[2017-08-15 12:31:05] Using JSON-RPC 2.0
[2017-08-15 12:31:05] 1 miner threads started, using 'cryptonight' algorithm.
[2017-08-15 12:31:05] Starting Stratum on stratum+tcp://xmr.pool.minergate.com:4 5560
[2017-08-15 12:31:05] GPU #0: GeForce 9600 GT (8 SMX), using 40 blocks of 8 thre ads
[2017-08-15 12:31:05] GPU #0: GeForce 9600 GT, 8113.51 H/s
[2017-08-15 12:31:15] Auth id: d0d06269-1a5d-40aa-8887-67d1623e70b7
[2017-08-15 12:31:15] Pool set diff to 1063
[2017-08-15 12:31:15] Stratum detected new block
[2017-08-15 12:31:15] GPU #0: GeForce 9600 GT, 45399.72 H/s
[2017-08-15 12:32:15] GPU #0: GeForce 9600 GT, 45365.99 H/s
[2017-08-15 12:33:12] stratum_recv_line failed
[2017-08-15 12:33:12] Stratum connection interrupted
[2017-08-15 12:33:12] GPU #0: GeForce 9600 GT, 45436.01 H/s
[2017-08-15 12:33:35] Auth id: 56535020-9b02-4127-97c6-75a161ba87c0
[2017-08-15 12:33:35] Stratum detected new block
[2017-08-15 12:33:35] GPU #0: GeForce 9600 GT, 45439.45 H/s
[2017-08-15 12:34:36] GPU #0: GeForce 9600 GT, 45296.18 H/s
[2017-08-15 12:34:44] Stratum detected new block
[2017-08-15 12:34:44] GPU #0: GeForce 9600 GT, 45442.19 H/s
[2017-08-15 12:35:29] Stratum detected new block
[2017-08-15 12:35:29] GPU #0: GeForce 9600 GT, 45425.59 H/s
[2017-08-15 12:35:38] stratum_recv_line failed
[2017-08-15 12:35:38] Stratum connection interrupted
[2017-08-15 12:35:38] GPU #0: GeForce 9600 GT, 45489.83 H/s
[2017-08-15 12:36:38] GPU #0: GeForce 9600 GT, 45486.89 H/s
[2017-08-15 12:36:39] stratum_recv_line timed out
[2017-08-15 12:36:39] ...retry after 30 seconds
[2017-08-15 12:37:09] GPU #0: GeForce 9600 GT, 45483.65 H/s
[2017-08-15 12:37:32] Auth id: 2e3c4911-3ecc-4c1a-b6d5-2577cf88cb61
[2017-08-15 12:37:32] Stratum detected new block
[2017-08-15 12:37:32] GPU #0: GeForce 9600 GT, 45478.84 H/s
[2017-08-15 12:38:32] GPU #0: GeForce 9600 GT, 45420.97 H/s

Is it possible to solve this problem programmatically?

nvcc fatal : Unsupported gpu architecture 'compute_20'

I've got no issues in ./autogen.sh and ./configure
Only when I make, I get this error

`nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code="sm_20,compute_20" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_35,code="sm_35,compute_35" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu

nvcc fatal : Unsupported gpu architecture 'compute_20'

Makefile:1155: recipe for target 'cryptonight/cryptonight.o' failed

make[2]: *** [cryptonight/cryptonight.o] Error 1

make[2]: Leaving directory '/home/faraz/Downloads/ccminer-cryptonight-0.17'

Makefile:729: recipe for target 'all-recursive' failed

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory '/home/faraz/Downloads/ccminer-cryptonight-0.17'

Makefile:399: recipe for target 'all' failed

make: *** [all] Error 2
`

Configure error on Ubuntu for --with-cuda

./configure --with-cuda /usr/local/cuda-7.5
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /usr/local/cuda-7.5
checking build system type... /usr/local/cuda-7.5
configure: error: invalid value of canonical build

Execute .bat error

C:\ccminer-cryptonight-master>ccminer -a cryptonight -o stratum+tcp://x -u [email protected] -p x
'ccminer' is not recognized as an internal or external command,
operable program or batch file.

Stack Smashing Detected

Hi,
I'm entry level so please, ask any additional questions. I ran into a compiling problem stated in Issue #32. I edited the Makefile.in and Makefile.am as per instructions. Everything goes well until I #make while installing.

$ sudo make
make all-recursive
make[1]: Entering directory '/home/joe/Downloads/ccminer-cryptonight'
Making all in compat
make[2]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat'
Making all in jansson
make[3]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson'
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -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
ar: u' modifier ignored since D' is the default (see U') ranlib libjansson.a make[3]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson' make[3]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat' make[2]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat' make[2]: Entering directory '/home/joe/Downloads/ccminer-cryptonight' gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-cpu-miner.o -MD -MP -MF .deps/ccminer-cpu-miner.Tpo -c -o ccminer-cpu-miner.o test -f 'cpu-miner.c' || echo './'cpu-miner.c mv -f .deps/ccminer-cpu-miner.Tpo .deps/ccminer-cpu-miner.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o test -f 'util.c' || echo './'util.c mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-sha2.o -MD -MP -MF .deps/ccminer-sha2.Tpo -c -o ccminer-sha2.o test -f 'sha2.c' || echo './'sha2.c mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -D_FORCE_INLINES -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem ptxas info : Compiling entry function '__cuda_dummy_entry__' for 'sm_20' ptxas info : Used 0 registers ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem ptxas info : Compiling entry function '__cuda_dummy_entry__' for 'sm_30' ptxas info : Used 0 registers ptxas warning : 'option -abi=no' might get deprecated in future ptxas info : 0 bytes gmem ptxas info : Compiling entry function '__cuda_dummy_entry__' for 'sm_35' ptxas info : Used 0 registers nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -D_FORCE_INLINES -I./compat/jansson -o cryptonight/cuda_cryptonight_core.o -c cryptonight/cuda_cryptonight_core.cu ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem, 4096 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase2iiiPjP19cryptonight_gpu_ctx' for 'sm_20' ptxas info : Used 37 registers, 4096 bytes smem, 64 bytes cmem[0], 4 bytes cmem[16] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase1iPjP19cryptonight_gpu_ctx' for 'sm_20' ptxas info : Used 60 registers, 4096 bytes smem, 56 bytes cmem[0], 4 bytes cmem[16] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase3iPjP19cryptonight_gpu_ctx' for 'sm_20' ptxas info : Used 61 registers, 4096 bytes smem, 56 bytes cmem[0], 4 bytes cmem[16] ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem, 4096 bytes cmem[3] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase2iiiPjP19cryptonight_gpu_ctx' for 'sm_30' ptxas info : Used 36 registers, 4096 bytes smem, 352 bytes cmem[0], 4 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase1iPjP19cryptonight_gpu_ctx' for 'sm_30' ptxas info : Used 63 registers, 4096 bytes smem, 344 bytes cmem[0], 4 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase3iPjP19cryptonight_gpu_ctx' for 'sm_30' ptxas info : Used 63 registers, 4096 bytes smem, 344 bytes cmem[0], 4 bytes cmem[2] ptxas warning : 'option -abi=no' might get deprecated in future ptxas info : 0 bytes gmem, 4096 bytes cmem[3] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase2iiiPjP19cryptonight_gpu_ctx' for 'sm_35' ptxas info : Used 33 registers, 4096 bytes smem, 352 bytes cmem[0], 4 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase1iPjP19cryptonight_gpu_ctx' for 'sm_35' ptxas info : Used 68 registers, 4096 bytes smem, 344 bytes cmem[0], 4 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_core_gpu_phase3iPjP19cryptonight_gpu_ctx' for 'sm_35' ptxas info : Used 67 registers, 4096 bytes smem, 344 bytes cmem[0], 4 bytes cmem[2] nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -D_FORCE_INLINES -I./compat/jansson -o cryptonight/cuda_cryptonight_extra.o -c cryptonight/cuda_cryptonight_extra.cu ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem, 4640 bytes cmem[2] ptxas info : Compiling entry function '_Z27cryptonight_extra_gpu_finalijPjS_P19cryptonight_gpu_ctx' for 'sm_20' ptxas info : Used 63 registers, 64 bytes cmem[0], 48 bytes cmem[16], 1224 bytes lmem ptxas info : Compiling entry function '_Z29cryptonight_extra_gpu_prepareiPjjP19cryptonight_gpu_ctx' for 'sm_20' ptxas info : Used 63 registers, 64 bytes cmem[0], 40 bytes cmem[16], 828 bytes lmem ptxas warning : 'option -abi=no' might get deprecated in future ptxas warning : Too big maxrregcount value specified 80, will be ignored ptxas info : 0 bytes gmem, 4640 bytes cmem[3] ptxas info : Compiling entry function '_Z27cryptonight_extra_gpu_finalijPjS_P19cryptonight_gpu_ctx' for 'sm_30' ptxas info : Used 63 registers, 352 bytes cmem[0], 48 bytes cmem[2], 1232 bytes lmem ptxas info : Compiling entry function '_Z29cryptonight_extra_gpu_prepareiPjjP19cryptonight_gpu_ctx' for 'sm_30' ptxas info : Used 63 registers, 352 bytes cmem[0], 40 bytes cmem[2], 824 bytes lmem ptxas warning : 'option -abi=no' might get deprecated in future ptxas info : 0 bytes gmem, 4640 bytes cmem[3] ptxas info : Compiling entry function '_Z27cryptonight_extra_gpu_finalijPjS_P19cryptonight_gpu_ctx' for 'sm_35' ptxas info : Used 80 registers, 352 bytes cmem[0], 4 bytes cmem[2], 1064 bytes lmem ptxas info : Compiling entry function '_Z29cryptonight_extra_gpu_prepareiPjjP19cryptonight_gpu_ctx' for 'sm_35' ptxas info : Used 80 registers, 352 bytes cmem[0], 8 bytes cmem[2], 728 bytes lmem gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-cryptonight.o -MD -MP -MF .deps/ccminer-cryptonight.Tpo -c -o ccminer-cryptonight.o test -f 'cryptonight.c' || echo './'cryptonight.c mv -f .deps/ccminer-cryptonight.Tpo .deps/ccminer-cryptonight.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-oaes_lib.o -MD -MP -MF crypto/.deps/ccminer-oaes_lib.Tpo -c -o crypto/ccminer-oaes_lib.o test -f 'crypto/oaes_lib.c' || echo './'crypto/oaes_lib.c mv -f crypto/.deps/ccminer-oaes_lib.Tpo crypto/.deps/ccminer-oaes_lib.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-c_keccak.o -MD -MP -MF crypto/.deps/ccminer-c_keccak.Tpo -c -o crypto/ccminer-c_keccak.o test -f 'crypto/c_keccak.c' || echo './'crypto/c_keccak.c mv -f crypto/.deps/ccminer-c_keccak.Tpo crypto/.deps/ccminer-c_keccak.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-c_groestl.o -MD -MP -MF crypto/.deps/ccminer-c_groestl.Tpo -c -o crypto/ccminer-c_groestl.o test -f 'crypto/c_groestl.c' || echo './'crypto/c_groestl.c mv -f crypto/.deps/ccminer-c_groestl.Tpo crypto/.deps/ccminer-c_groestl.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-c_blake256.o -MD -MP -MF crypto/.deps/ccminer-c_blake256.Tpo -c -o crypto/ccminer-c_blake256.o test -f 'crypto/c_blake256.c' || echo './'crypto/c_blake256.c mv -f crypto/.deps/ccminer-c_blake256.Tpo crypto/.deps/ccminer-c_blake256.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-c_jh.o -MD -MP -MF crypto/.deps/ccminer-c_jh.Tpo -c -o crypto/ccminer-c_jh.o test -f 'crypto/c_jh.c' || echo './'crypto/c_jh.c mv -f crypto/.deps/ccminer-c_jh.Tpo crypto/.deps/ccminer-c_jh.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-c_skein.o -MD -MP -MF crypto/.deps/ccminer-c_skein.Tpo -c -o crypto/ccminer-c_skein.o test -f 'crypto/c_skein.c' || echo './'crypto/c_skein.c mv -f crypto/.deps/ccminer-c_skein.Tpo crypto/.deps/ccminer-c_skein.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT crypto/ccminer-aesb.o -MD -MP -MF crypto/.deps/ccminer-aesb.Tpo -c -o crypto/ccminer-aesb.o test -f 'crypto/aesb.c' || echo './'`crypto/aesb.c
mv -f crypto/.deps/ccminer-aesb.Tpo crypto/.deps/ccminer-aesb.Po
gcc -g -O2 -pthread -L/usr/local/cuda/lib64 -o ccminer ccminer-cpu-miner.o ccminer-util.o ccminer-sha2.o cryptonight/cryptonight.o cryptonight/cuda_cryptonight_core.o cryptonight/cuda_cryptonight_extra.o ccminer-cryptonight.o crypto/ccminer-oaes_lib.o crypto/ccminer-c_keccak.o crypto/ccminer-c_groestl.o crypto/ccminer-c_blake256.o crypto/ccminer-c_jh.o crypto/ccminer-c_skein.o crypto/ccminer-aesb.o -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread -lcudart -static-libstdc++ -fopenmp -lcrypto -lssl -lcrypto -lssl
make[2]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight'
make[1]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight'

Here is my#make install command output
$ sudo make install
Making install in compat
make[1]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat'
Making install in jansson
make[2]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson'
make[3]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson'
make[2]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat/jansson'
make[2]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat'
make[3]: Entering directory '/home/joe/Downloads/ccminer-cryptonight/compat'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat'
make[2]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat'
make[1]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight/compat'
make[1]: Entering directory '/home/joe/Downloads/ccminer-cryptonight'
make[2]: Entering directory '/home/joe/Downloads/ccminer-cryptonight'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c ccminer '/usr/local/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight'
make[1]: Leaving directory '/home/joe/Downloads/ccminer-cryptonight'

When I go to launch ccminer I get this:

$ ccminer
*** ccminer-cryptonight for nVidia GPUs by tsiv ***
based on ccMiner by Christian Buchner and Christian H.
based on cpuminer-multi by LucasJones
based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
BTC donation address: 1JHDKp59t1RhHFXsTw2UQpR3F9BBz3R3cs
DRK donation address: XrHp267JNTVdw5P3dsBpqYfgTpWnzoESPQ
JPC donation address: Jb9hFeBgakCXvM5u27rTZoYR9j13JGmuc2
VTC donation address: VwYsZFPb6KMeWuP4voiS9H1kqxcU9kGbsw
XMR donation address:
(man these are long... single address, split on two lines)
42uasNqYPnSaG3TwRtTeVbQ4aRY3n9jY6VXX3mfgerWt4ohD
QLVaBPv3cYGKDXasTUVuLvhxetcuS16ynt85czQ48mbSrWX

*** stack smashing detected ***: ccminer terminated
Aborted (core dumped)

I'm running Ubuntu 16.04 with CUDA Toolkit 8.0.44-1

Thanks

GPU #0: FATAL: failed to allocate device memory for long state

i am running a evga GTX 750 Ti i keep getting this error, i think it has something to do with the .bat file but not sure, i think i have to set or change the blocks and threads but not sure, can anyone help me.
tsiv-xmr
[2017-11-11 19:33:35] Using JSON-RPC 2.0
[2017-11-11 19:33:35] 1 miner threads started, using 'cryptonight' algorithm.
[2017-11-11 19:33:35] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444
[2017-11-11 19:33:35] GPU #0: GeForce GTX 750 Ti (5 SMX), using 40 blocks of 8 threads
[2017-11-11 19:33:35] GPU #0: FATAL: failed to allocate device memory for long state

Error in autogen.sh OSX 10.10 &.11

All deps installed from home-brew

$ ./autogen.sh 
configure.ac:103: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Debian 9 make error : /usr/bin/ld: final link failed: Nonrepresentable section on output

Attempting to build on Debian 9, ./autogen.sh and ./configure complete successfully, but make fails with:
/usr/bin/ld: cryptonight/cryptonight.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: cryptonight/cuda_cryptonight_core.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: cryptonight/cuda_cryptonight_extra.o: relocation R_X86_64_32S against .bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:529: recipe for target 'ccminer' failed
make[2]: *** [ccminer] Error 1
make[2]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:729: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kev/ccminer-cryptonight'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2
`
Any suggestions on how to get beyond this?

error: ‘memcpy’ was not declared in this scope

i get these errors in linux mint 18.3.

user@linuxmint-desktop ~/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17 $ ./autogen.sh
user@linuxmint-desktop ~/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17 $ ./configure
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
/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/missing: Unknown --is-lightweight' option Try /home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
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... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 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... no
checking for pthread_create in -lpthread... 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.47.0
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 cpuminer-config.h
config.status: executing depfiles commands
user@linuxmint-desktop ~/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17 $ make
make all-recursive
make[1]: Entering directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17'
Making all in compat
make[2]: Entering directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat'
Making all in jansson
make[3]: Entering directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat/jansson'
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c
mv -f .deps/dump.Tpo .deps/dump.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT hashtable.o -MD -MP -MF .deps/hashtable.Tpo -c -o hashtable.o hashtable.c
mv -f .deps/hashtable.Tpo .deps/hashtable.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT load.o -MD -MP -MF .deps/load.Tpo -c -o load.o load.c
mv -f .deps/load.Tpo .deps/load.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT strbuffer.o -MD -MP -MF .deps/strbuffer.Tpo -c -o strbuffer.o strbuffer.c
mv -f .deps/strbuffer.Tpo .deps/strbuffer.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT utf.o -MD -MP -MF .deps/utf.Tpo -c -o utf.o utf.c
mv -f .deps/utf.Tpo .deps/utf.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -g -O2 -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
ar: u' modifier ignored since D' is the default (see U') ranlib libjansson.a make[3]: Leaving directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat/jansson' make[3]: Entering directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat' make[2]: Leaving directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17/compat' make[2]: Entering directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17' gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-cpu-miner.o -MD -MP -MF .deps/ccminer-cpu-miner.Tpo -c -o ccminer-cpu-miner.o test -f 'cpu-miner.c' || echo './'cpu-miner.c mv -f .deps/ccminer-cpu-miner.Tpo .deps/ccminer-cpu-miner.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-util.o -MD -MP -MF .deps/ccminer-util.Tpo -c -o ccminer-util.o test -f 'util.c' || echo './'util.c mv -f .deps/ccminer-util.Tpo .deps/ccminer-util.Po gcc -DHAVE_CONFIG_H -I. -msse2 -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -g -O2 -MT ccminer-sha2.o -MD -MP -MF .deps/ccminer-sha2.Tpo -c -o ccminer-sha2.o test -f 'sha2.c' || echo './'`sha2.c
mv -f .deps/ccminer-sha2.Tpo .deps/ccminer-sha2.Po
nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code="sm_20,compute_20" -gencode=arch=compute_30,code="sm_30,compute_30" -gencode=arch=compute_35,code="sm_35,compute_35" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas warning : Too big maxrregcount value specified 80, will be ignored
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_20'
ptxas info : Used 0 registers
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas warning : Too big maxrregcount value specified 80, will be ignored
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_30'
ptxas info : Used 0 registers
ptxas warning : 'option -abi=no' might get deprecated in future
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function 'cuda_dummy_entry' for 'sm_35'
ptxas info : Used 0 registers
/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
^
Makefile:1155: recipe for target 'cryptonight/cryptonight.o' failed
make[2]: *** [cryptonight/cryptonight.o] Error 1
make[2]: Leaving directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17'
Makefile:729: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2
user@linuxmint-desktop ~/Dropbox/Cryptocurrencies/Monero XMR/ccminer-cryptonight-0.17 $

Configure error

./configure: line 6211: syntax error near unexpected token ,' ./configure: line 6211:LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

Fedora fc20.x86_64

Simple question about threads

i am just curious about one aspect.

You are running 256 threads per block in this CUDA project, right?

If they were just 1 thread per block, would the result of the computation still be correct?
So 256 is just for performance or is also a requirement for ccminer to correctly do its job?

Thanks

Permission denied error on make

I'm trying to build on OSX 10.10

I run:
./autogen.sh
./configure
make

and receive:
make[2]: ./install-sh: Permission denied
make[2]: *** [cryptonight/.dirstamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Running with sudo produces the same error.

Any ideas?

Hashrate skyrockets and stops mining.

I have a GTX 480 and have been getting 260 hash/s with it. Starting today however, that has been skyrocketing after 5-30 minutes and has so far happened twice. The has rate goes up to 7.6 khash/s, which is completely false, and nothing is successfully mined.

No card recognized

Hello, I installed a NVIDIA Geforce 8500 card and installed cuda-5.0 and installed the corresponding driver for that card (nvidia-304) from deb packages. I compilled ccminer-cryptonight and when running, i get the error "[2017-07-22 10:34:40] Unable to query CUDA driver version! Is an nVidia driver installed?"

01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8500 GT] (rev a1)

root@javier-System-Product-Name:/home/javier/proyectos/monero/ccminer-cryptonight# ls -lh /dev/nvidia*
crw-rw-rw- 1 root root 195,   0 jul 22 08:50 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 jul 22 08:42 /dev/nvidiactl
root@javier-System-Product-Name:/home/javier/proyectos/monero/ccminer-cryptonight# export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib64"
root@javier-System-Product-Name:/home/javier/proyectos/monero/ccminer-cryptonight# export CUDA_HOME=/usr/local/cuda
root@javier-System-Product-Name:/home/javier/proyectos/monero/ccminer-cryptonight# ccminer
    *** ccminer-cryptonight for nVidia GPUs by tsiv ***
 based on ccMiner by Christian Buchner and Christian H.
 based on cpuminer-multi by LucasJones
 based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
    BTC donation address: 1JHDKp59t1RhHFXsTw2UQpR3F9BBz3R3cs
    DRK donation address: XrHp267JNTVdw5P3dsBpqYfgTpWnzoESPQ
    JPC donation address: Jb9hFeBgakCXvM5u27rTZoYR9j13JGmuc2
    VTC donation address: VwYsZFPb6KMeWuP4voiS9H1kqxcU9kGbsw
    XMR donation address: 
      (man these are long... single address, split on two lines)
      42uasNqYPnSaG3TwRtTeVbQ4aRY3n9jY6VXX3mfgerWt4ohD
      QLVaBPv3cYGKDXasTUVuLvhxetcuS16ynt85czQ48mbSrWX
-----------------------------------------------------------------
[2017-07-22 10:34:40] Unable to query CUDA driver version! Is an nVidia driver installed?
root@javier-System-Product-Name:/home/javier/proyectos/monero/ccminer-cryptonight#```

Syntax error near unexpected token on configure

I have run ./autogen.sh, and then try to run ./configure which gives a syntax error. (On OSX)

(...)
checking for EVP_DigestFinal_ex in -lcrypto... yes
./configure: line 6187: syntax error near unexpected token `,'
./configure: line 6187: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

gtx 1080 ftw fatal: failed to allocate device memory for long state

[2017-09-21 22:07:43] Using JSON-RPC 2.0
[2017-09-21 22:07:43] 1 miner threads started, using 'cryptonight' algorithm.
[2017-09-21 22:07:43] GPU #0: GeForce GTX 1080 (20 SMX), using 40 blocks of 8 threads
[2017-09-21 22:07:43] GPU #0: FATAL: failed to allocate device memory for long state

new setup, win10x64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.