Giter Site home page Giter Site logo

doktorcranium / xmrminer-tk1 Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 6.0 13.72 MB

Experimental fork for xmrMiner for Nvidia Jetson TK1 development board

License: GNU General Public License v3.0

CMake 1.03% Shell 0.02% C++ 14.61% Makefile 1.71% C 80.20% Cuda 2.42%

xmrminer-tk1's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xmrminer-tk1's Issues

failure to compile on tk1, using cuda 6.5. memcpy not declared

root@tegra-ubuntu:# git clone https://github.com/DoktorCranium/xmrMiner-tk1.git
Cloning into 'xmrMiner-tk1'...
remote: Enumerating objects: 128, done.
remote: Total 128 (delta 0), reused 0 (delta 0), pack-reused 128
Receiving objects: 100% (128/128), 12.39 MiB | 2.00 MiB/s, done.
Resolving deltas: 100% (13/13), done.
Checking connectivity... done.
root@tegra-ubuntu:
# cd xmrMiner-tk1
root@tegra-ubuntu:/xmrMiner-tk1# cmake -DCUDA_ARCH=32 .
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-6.5 (found suitable version "6.5", minimum required is "6.0")
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.47.0")
-- Looking for syslog.h
-- Looking for syslog.h - not found
-- Looking for getopt_long
-- Looking for getopt_long - found
-- Looking for include file alloca.h
-- Looking for include file alloca.h - found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for include files stdlib.h, stddef.h
-- Looking for include files stdlib.h, stddef.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file sys/endian.h
-- Looking for include file sys/endian.h - not found
-- Checking prototype be32dec for HAVE_DECL_BE32DEC - False
-- Checking prototype be32enc for HAVE_DECL_BE32ENC - False
-- Checking prototype le32dec for HAVE_DECL_LE32DEC - False
-- Checking prototype le32enc for HAVE_DECL_LE32ENC - False
-- Configuring done
-- Generating done
-- Build files have been written to: /root/xmrMiner-tk1
root@tegra-ubuntu:
/xmrMiner-tk1# make -j
Scanning dependencies of target xmrMinerCrypto
[ 5%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o
[ 11%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o
[ 17%] Building NVCC (Device) object CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o
[ 23%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/c_skein.c.o
[ 35%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/c_blake256.c.o
[ 47%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/c_groestl.c.o
[ 29%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/oaes_lib.c.o
[ 41%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/c_jh.c.o
[ 52%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/aesb.c.o
[ 58%] Building C object CMakeFiles/xmrMinerCrypto.dir/crypto/c_keccak.c.o
/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;
^
[ 64%] Linking C static library libxmrMinerCrypto.a
[ 64%] Built target xmrMinerCrypto
CMake Error at xmrMinerCuda_generated_cryptonight.cu.o.cmake:266 (message):
Error generating file
/root/xmrMiner-tk1/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cryptonight.cu.o

CMakeFiles/xmrMinerCuda.dir/build.make:77: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cryptonight.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/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;
^
CMake Error at xmrMinerCuda_generated_cuda_cryptonight_core.cu.o.cmake:266 (message):
Error generating file
/root/xmrMiner-tk1/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cuda_cryptonight_core.cu.o

CMakeFiles/xmrMinerCuda.dir/build.make:63: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_core.cu.o] Error 1
/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;
^
CMake Error at xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o.cmake:266 (message):
Error generating file
/root/xmrMiner-tk1/CMakeFiles/xmrMinerCuda.dir/cryptonight/./xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o

CMakeFiles/xmrMinerCuda.dir/build.make:70: recipe for target 'CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o' failed
make[2]: *** [CMakeFiles/xmrMinerCuda.dir/cryptonight/xmrMinerCuda_generated_cuda_cryptonight_extra.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/xmrMinerCuda.dir/all' failed
make[1]: *** [CMakeFiles/xmrMinerCuda.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

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.