Hi Andreas,

ELRepo has 'kmod-mbgclock' built for x86_64:

https://elrepo.org/linux/elrepo/el8/SRPMS/kmod-mbgclock-4.2.10-5.el8_5.elrepo.src.rpm

I wonder if you can just build the aarch64 version by modifying the spec
file. Maybe worth trying. You'd be building a kmod package that is
supposedly kABI-tracking.

The README file says:

Linux kernels 2.6.x, 3.x, 4.x and 5.x up to at least 5.6
- on standard PCs (i386 architecture)
- on Intel/AMD 64 Bit systems (x86_64 architecture)
- on SPARC64 architecture
- partially on IA64 (Itanium) architecture
- partially on ARM architecture

I don't know how "partial" it is on ARM.

Akemi



On Thu, Dec 23, 2021 at 9:52 AM Andreas Reschke <[email protected]> wrote:

> 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 it.
>
> make[2]: *** [Makefile:720: include/config/auto.conf] Fehler 1
> make[1]: *** [/root/mbgtools-lx-4.2.8/mbgclock/…/Makefile:804: modules]
> Fehler 2
> make: *** [Makefile:336: mbgclock] Fehler 2
> [root@raspi4 mbgtools-lx-4.2.8]#
>
> How to solve this error?
> [root@raspi4 mbgtools-lx-4.2.8]# rpm -qa | grep kernel | sort
> kernel-headers-4.18.0-348.7.1.el8_5.aarch64
> kernel-tools-4.18.0-348.7.1.el8_5.aarch64
> kernel-tools-libs-4.18.0-348.7.1.el8_5.aarch64
> raspberrypi2-kernel4-5.10.78-v8.1.el8.aarch64
> raspberrypi2-kernel4-devel-5.10.78-v8.1.el8.aarch64
> [root@raspi4 mbgtools-lx-4.2.8]# cat /etc/almalinux-release
> AlmaLinux release 8.5 (Arctic Sphynx)
> [root@raspi4 mbgtools-lx-4.2.8]#
>
> Thanks
> Andreas
> _______________________________________________
> AlmaLinux Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>

Reply via email to