Ok so i edited the line and removed the MADV_HUGEPAGE and that let it compile but now i get the below...
*** ccminer 2.0 for nVidia GPUs by tpruvot@github ***
Built with the nVidia CUDA Toolkit 8.0 64-bits
Originally based on Christian Buchner and Christian H. project
Include some algos from alexis78, djm34, sp, tsiv and klausT.
BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo (tpruvot)
[2017-03-24 22:39:21] POOL 0: nyc-1.xmrpool.net USER 42uGK1HXuTWbF2hDrXD5WSacU79aM2jax9E94MtHayTCTxT2wioj84y1VCBLSC3icvU26MCtNxPCJMU
PJxJKYo2nDWj3yKH -s 10
[2017-03-24 22:39:21] Using JSON-RPC 2.0
[2017-03-24 22:39:21] Starting on stratum+tcp://nyc-1.xmrpool.net
[2017-03-24 22:39:21] restart_threads
[2017-03-24 22:39:21] CUDA GPU 0 matches NVML GPU 0 by busId 1
[2017-03-24 22:39:21] NVML GPU monitoring enabled.
[2017-03-24 22:39:21] 1 miner thread started, using 'cryptonight' algorithm.
* About to connect() to nyc-1.xmrpool.net port 80 (#0)
* Trying 104.140.201.42... * TCP_NODELAY set
* connected
* Connected to nyc-1.xmrpool.net (104.140.201.42) port 80 (#0)
* Connection #0 to host nyc-1.xmrpool.net left intact
[2017-03-24 22:39:21] > {"method":"login","params":{"login":"42uGK1HXuTWbF2hDrXD5WSacU79aM2jax9E94MtHayTCTxT2wioj84y1VCBLSC3icvU26MCtNxPCJMU
PJxJKYo2nDWj3yKH","pass":"
[email protected]","agent":"ccminer/2.0"},"id":2}
[2017-03-24 22:39:21] < {"id":2,"jsonrpc":"2.0","error":null,"result":{"id":"2b77763a-7394-40f6-8368-090b83dc4d40","job":{"blob":"0405deafd7c60591e00ccd0e8f47d6f7c7df1a13f8a22dd174bc667a118b121d08d59d6f9b04a70
0000000d778f88d3c3812e30e234f0edf4c432b0fbf661f82dfd1b67c5701b82b32ef8306","job_id":"r8LHkcJIeKUBqGGmhy8br0DHF6qq","target":"be5c0900","id":"2b77763a-7394-40f6-8368-090b83dc4d40"},"status":"OK"}}
[2017-03-24 22:39:21] Auth id: 2b77763a-7394-40f6-8368-090b83dc4d40
[2017-03-24 22:39:21] Stratum difficulty set to 7000 (7)
[2017-03-24 22:39:21] Stratum detected new block
[2017-03-24 22:39:21] restart_threads
[2017-03-24 22:39:21] sleeptime: 100 ms
[2017-03-24 22:39:21] job r8LHkcJIeKUBqGGmhy8br0DHF6qq target change: 95cbeffffffff (7.0)
[2017-03-24 22:39:21] GPU #0: start=9c000000 end=9c000fff range=00000fff
[2017-03-24 22:39:22] GPU #0: MSI GT 730, 818 MB available, 2 SMX
[2017-03-24 22:39:22] GPU #0: 64 threads (6) with 8 blocks
[2017-03-24 22:39:22] GPU #0: invalid device function cryptonight_extra_cpu_prepare line 217
Attempted to compile and get the below...
g++ -DHAVE_CONFIG_H -I. -fopenmp -pthread -fno-strict-aliasing -I./compat/jansson -I/usr/local/cuda/include -DUSE_WRAPNVML -O3 -march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16 -MT crypto/ccminer-xmr-rpc.o -MD -MP -MF crypto/.deps/ccminer-xmr-rpc.Tpo -c -o crypto/ccminer-xmr-rpc.o `test -f 'crypto/xmr-rpc.cpp' || echo './'`crypto/xmr-rpc.cpp
crypto/xmr-rpc.cpp: In function ‘void GetScratchpad()’:
crypto/xmr-rpc.cpp:907: error: ‘MADV_HUGEPAGE’ was not declared in this scope
make[2]: *** [crypto/ccminer-xmr-rpc.o] Error 1
Trying TSIV's version of ccminer (ccminer-cryptonight-0.17) with the cryptonight i get the below when trying to compile.....seems i just have no luck with this..... it would be fabulous if i could find an RPM or something for nivida and cuda that would mine monero...... Not sure where to go from here...
gcc -std=gnu99 -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 compat/jansson/libjansson.a -lpthread -lcudart -fopenmp -lcrypto -lssl -lcrypto -lssl
cryptonight/cryptonight.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
cryptonight/cuda_cryptonight_core.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
cryptonight/cuda_cryptonight_extra.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
USE TPRUVOT V-2.0RC OR KLAUST'S CCMINER--
TPruvot finally rolled KlausT's CryptoNight work into his latest release, along with a few other algorithms. --scryptr
the speed is slower though...