Please excuse my lack of knowledge. Im not the best with programming and things like the raspi. I currently have a running pi with three gekkos using raspbian(pixel) and running cgminer-gekko (4.9.2).
I ran the first part of this thread:-
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev
it looks like you did not run the correct code for pi.
Look closer:
you need to run the one that says Debian (a longer list of dependencies) and mentions pi few lines down:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential git libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev
mkdir -p git/vthoang; cd git/vthoang
git clone https://github.com/vthoang/cgminer.git
cd cgminer
CFLAGS="-O2" ./autogen.sh --enable-gekko
make -j 2
After this:
sudo reboot
cd ~/git/vthoang/cgminer/
sudo usermod -G plugdev -a `whoami` #whoami=pi if you did not change it
sudo cp 01-cgminer.rules /etc/udev/rules.d/
sudo reboot
then
cd ~/git/vthoang/cgminer/
./cgminer -o stratum+tcp://solo.ckpool.org:3333 -u 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr.yourworkername -p x --suggest-diff 32
I made the updates and upgrades per the instructions, but I received a configuration error when executing the 'CFLAGS' command. It did not create the executables so './cgminer' file or command not found.