Am 23.12.21 um 22:36 schrieb Cody Robertson:
Hi there, I want tu use my Raspberry Pi 4 as a timeserver. I have a USB Clock from Meinberg and want to compile mbgtools-lx-4.2.8. While compiling with make: Calling kernel build system to make “modules”
ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing. Run ‘make oldconfig && make prepare’ on kernel src to fix
I'd attempt to install the `kernel-devel` package and trying to compile it again.
It also looks like the latest version (4.2.12) may rectify this as per their website which references this error on newer kernels: https://kb.meinbergglobal.com/kb/driver_software/driver_software_for_linux/l...
I'd suggest snagging the latest version of the driver & install the aforementioned `kernel-devel` package and I believe it should compile cleanly.
Hello Cody, thanks for the info about newer driver software. Even with the latest version mbgtools-lx-4.2.18.tar.gz I always get the same error. raspberrypi2-kernel4-devel-5.10.78-v8.1.el8.aarch64 is installed. I got it work: just reinstall raspberrypi2-kernel4-devel-5.10.78-v8.1.el8.aarch64, then make, make install without make clean. Now I can switch from my old timeserver based on CentOS 7 (32bit) to update AlmaLinux on Raspberry PI 4 Mit freundlichen Grüßen Andreas Reschke Dr. Bierologis causa