nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

Makefile:137: recipe for target 'nheqminer' failed #293

Closed Eegxeta closed 7 years ago

Eegxeta commented 7 years ago

I'm trying to install nheqminer on some linux machines with ssh and when I execute make -j $(nproc) I get this error.

g++ -m64 -Wl,-O1 -o nheqminer -L/usr/X11R6/lib64 -lrt -lQt5Gui -lQt5Core -lGL -lpthread /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function _start': (.text+0x20): undefined reference tomain' collect2: error: ld returned 1 exit status Makefile:137: recipe for target 'nheqminer' failed make: *** [nheqminer] Error 1

I found the answer to fasm not having permissions. I got pass nheqminer.pro missing. Now I'm being stonewalled by this.

Here is my cat /etc/os-release:

NAME="Linux Mint" VERSION="18.1 (Serena)" ID=linuxmint ID_LIKE=ubuntu PRETTY_NAME="Linux Mint 18.1" VERSION_ID="18.1" HOME_URL="http://www.linuxmint.com/" SUPPORT_URL="http://forums.linuxmint.com/" BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/" VERSION_CODENAME=serena UBUNTU_CODENAME=xenial

The libraries I installed with apt-get: git build-essential cmake gcc libboost-all-dev cuda.toolkit qt5-default

The commands I used in terminal to get where I got:

git clone https://github.com/nicehash/nheqminer.git cd nheqminer/cpu_xenoncat/asm_linux/ chmod +x fasm sh assemble.sh cd ../../../ mkdir build && cd build LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/local/cuda-8.0/lib64/stubs" export CUDA_CUDART_LIBRARY="/usr/local/cuda/lib64/libcudart.so" cmake -DCUDA_CUDART_LIBRARY=CUDA_CUDART_LIBRARY ../nheqminer echo "LIBS += -lrt" >> ../nheqminer/nheqminer.pro qmake ../nheqminer/nheqminer.pro make -j $(nproc)

And I get the above error.

Eegxeta commented 7 years ago

While trying to get other miners to work I found that do to the age of the hardware I was having trouble getting drivers for it. I'm guessing that is what caused the error.