Mining On Linux Issue (gominer)

Discussion in 'Proof-of-work Mining' started by minefields, Feb 23, 2017.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. minefields

    minefields New Member

    Feb 23, 2017
    2
    0
    Female
    AU
    Hi Guys,

    I'm trying to get mining to work on a Linux machine (Mint 18) using a Nvidia 960 card using gominer.
    I have followed the instructions as per this page: https://github.com/decred/gominer

    When i try to make, it fails with below:

    Code:
    ~/.go/src/github.com/decred/gominer $ make
    mkdir obj
    nvcc --lib --optimize=3 -I. decred.cu sph/blake.c -o obj/decred.a
    /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;
                                              ^
    GNUmakefile:37: recipe for target 'obj/decred.a' failed
    make: *** [obj/decred.a] Error 1
    
    Any ideas how to approach this, or if there's any other alternative for gominer?
     
  2. minefields

    minefields New Member

    Feb 23, 2017
    2
    0
    Female
    AU
    Thanks for your reply Jolan, running nvcc -V shows:
    Code:
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2015 NVIDIA Corporation
    Built on Tue_Aug_11_14:27:32_CDT_2015
    Cuda compilation tools, release 7.5, V7.5.17
    Ive downloaded both gominer and ccminer but unsure how to start them :D I tried the install instructions on ccminer but only gets this when I try:
    Code:
    ccminer -n
    No command 'ccminer' found, did you mean:
    Command 'cgminer' from package 'cgminer' (universe)
    ccminer: command not found
    
    Sorry for being a complete noob! What is the best nix to use for mining purpouse?

    Many thanks
     
  3. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    You need to put ccminer/gominer in your PATH or run them with ./ in front, i.e.:

    Code:
    ./ccminer
    ./gominer
    
     

Share This Page