nicehash / nheqminer

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

Can't compile on Ubuntu 16.10 #300

Open Seriyyy95 opened 7 years ago

Seriyyy95 commented 7 years ago

I use gcc-5 compiler and get this error:

[100%] Linking CXX executable nheqminer /usr/bin/ld: /usr/lib/x86_64-linux-gnu/librt.a(shm_open.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/lib/x86_64-linux-gnu/librt.a(shm_unlink.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Раздел, непредставимый для вывода collect2: error: ld returned 1 exit status CMakeFiles/nheqminer.dir/build.make:502: ошибка выполнения рецепта для цели «nheqminer» make[2]: [nheqminer] Ошибка 1 CMakeFiles/Makefile2:68: ошибка выполнения рецепта для цели «CMakeFiles/nheqminer.dir/all» make[1]: [CMakeFiles/nheqminer.dir/all] Ошибка 2 Makefile:127: ошибка выполнения рецепта для цели «all» make: *** [all] Ошибка 2