Post
Topic
Board Mining (Altcoins)
Re: Building Cheap Miners : My "Secret"
by
MinersRus
on 15/07/2019, 17:30:49 UTC
Having some issues installing Turion for some reason and I can't seem to find the solution, any ideas?

Code:
g++ -O2   -MMD -MF obj/x86_64/.Brazos.d -MT obj/x86_64/Brazos.o -c -o obj/x86_64/Brazos.o Brazos.cpp
g++ -O2   -MMD -MF obj/x86_64/.Llano.d -MT obj/x86_64/Llano.o -c -o obj/x86_64/Llano.o Llano.cpp
g++ -O2   -MMD -MF obj/x86_64/.Interlagos.d -MT obj/x86_64/Interlagos.o -c -o obj/x86_64/Interlagos.o Interlagos.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSRObject.d -MT obj/x86_64/MSRObject.o -c -o obj/x86_64/MSRObject.o MSRObject.cpp
g++ -O2   -MMD -MF obj/x86_64/.MSVC_Round.d -MT obj/x86_64/MSVC_Round.o -c -o obj/x86_64/MSVC_Round.o MSVC_Round.cpp
In file included from MSVC_Round.cpp:1:0:
MSVC_Round.h:5:17: error: ‘int round(float)’ conflicts with a previous declaration
 int round (float);
                 ^
In file included from /usr/include/c++/7/math.h:36:0,
                 from MSVC_Round.h:3,
                 from MSVC_Round.cpp:1:
/usr/include/c++/7/cmath:1771:3: note: previous declaration ‘constexpr float std::round(float)’
   round(float __x)
   ^~~~~
Makefile:62: recipe for target 'obj/x86_64/MSVC_Round.o' failed
make: *** [obj/x86_64/MSVC_Round.o] Error 1



I have installed turionpowercontrol on all my R815's (both 6200 & 6300 Series) without issues. I am on Ubuntu 16.04 with all the current updates.

You may want check that you have the latest updates:

sudo apt update
sudo apt upgrade

This is what I do to install turionpowercontrol

Code:
sudo apt install ncurses-dev
sudo apt install build-essential

git clone https://github.com/mh0rst/turionpowercontrol.git
cd turionpowercontrol
make


After it compiles without errors this needs to be done before running it.

Code:
sudo apt install cpuid

sudo modprobe cpuid
sudo modprobe msr