Thanks for the hint NotFuzzyWarm.
Maybe post 1 could be updated with something that works then
for those who are not familiar with linux commands here's what I used to make it work (again)
thanks to Kano's well documented cgminer's github page.
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev zlib1g-dev git
cd ~
mkdir mining
cd mining
git clone https://github.com/kanoi/cgminer
cd cgminer
./autogen.sh
CFLAGS="-O2 -Wall -march=native -fcommon" ./configure --disable-libcurl --enable-gekko
make
sudo ./cgminer --widescreen
For me it worked with the old Github Repository on Raspberry Pi 5 with latest Pi OS 64bit:
git clone -b r606
https://github.com/vthoang/cgminer.gitand the above listed Build commands
Greetings Olga