Hi everyone,
I am a total newb to ASIC mining, I have some experience in the Linux OS and some (light) experience as a coder and hardware tech. So I think I can follow what is going on in the thread, but I know I have a lot to learn still. 
I managed to build the VH version of cgminer 
on a Raspberry Pi 4 running Ubuntu Server 20.04 LTS 64 bit using the same steps I quote below.I am running 2 x 2Pacs on a powered USB hub at 200mhz.  It's working great with an avg hash rate of 92Gh/s
I would like to re-run this experiment on a Ras.Pi 3b running Pi OS Lite 64 bit.  I did find some libs changed in the Ubuntu release so I kept those changes on the Pi OS. So, I followed the same steps I did on the Ubuntu setup after the OS install but I am getting errors on the compile. 
I am sure others have done this, but I don't know if the more recent OS releases have changed anything. 
The config (I included below) originally added support for icarus, bitmain and gekko. I was trying to run one pi to manage them all, but after reading another thread and playing with overclocking, I pulled the antminer U2 ASICs and S9s out of the mix. So I tried again with just '--enable-gekko' in config and got similar results. (See next post for the output).
Below is what I did, adapted from what I read here and in other threads.
## Run the same on both Ubuntu Miner: (Ubuntu 20.04 LTS 64bit)  or  Raspbian Miner: (Raspbian Pi OS Lite 64bit):
# Install required crap
sudo apt-get install build-essential autoconf autogen automake libtool pkg-config libjansson-dev uthash-dev libcurl4-openssl-dev \
    libcrypt-dev libgcrypt20-dev libusb-1.0-0 libusb-1.0-0-dev libusb-dev libncurses-dev libevent-dev libudev-dev libmicrohttpd-dev libi2c-dev \
    git curl mc tmux
# clone the repo
git clone 
https://github.com/vthoang/cgminer.git ~/source/newpac_miner
cd ~/source/newpac_miner
# build it all
### AUTOGEN -- NO ERRORS I NOTICED ###
./autogen.sh
### CONFIGURE -- NO ERRORS I NOTICED ###
./configure  --enable-gekko
## This is where it craps out, but only on Pi OS
make
I can post the full build output if that helps, but it seems where 'make' starts to crap out is in the 'newpac_miner' folder part of the build:
-- EDIT: See my NEXT message for most recent 'make' output ---
Any help or suggestions are welcome. Thanks for taking the time to read it. 
I'm just a newb trying new stuff.
- UnkulMunki -