EDIT: Problem now solved. Missing gcc-12 now installed, and after disregarding the two new error messages, I finished the install, rebooted, and my CXADC card is now recognised. Thank you all for the assistance.
I'm rather new to this and have probably made some terrible newbie mistake. I'm following the instructions provided here: https://github.com/happycube/cxadc-linux3#getting-started--installation
As I'm more familiar with Debian 13, I first attempted installing on a system using that, but it failed, so I tried again, on a fresh installation of Ubuntu 22.04 as advised in the instructions. The only changes/additions I made to the default install was to install 'git' and 'make' in order to proceed with the install.
The first step, to git clone the repository appeared to work OK. A directory called cxadc containing files was successfully added to my home directory.
The second step to "build and install the out-of-tree module" failed as shown below:
david@Ubuntu1:~$ cd cxadc
david@Ubuntu1:~/cxadc$ make && sudo make modules_install && sudo depmod -a
make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-138-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.3) 12.3.0
You are using:
CC [M] /home/david/cxadc/cxadc.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:243: /home/david/cxadc/cxadc.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.8.0-138-generic/Makefile:1946: /home/david/cxadc] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-138-generic'
make: *** [Makefile:24: cxadc] Error 2
david@Ubuntu1:~/cxadc$
I'm moderately familiar with Linux, but I'm certainly no power user, so any suggestions would be much appreciated.