recovering of build environment
I used Debian 18.104.22.168-rt21 on host to cross compile kernel and driver modules for an embedded pc (same kernel and patch version)
unfortunately the host system with the source files and configuration is damaged. I have downloaded and patched the source again
I compiled a new driver module on the host, but it doesn't work on the target system. error message:
disagrees about version of struct_module
I can't rebuild the kernel+drivers on the target system because of the limited resources. How can I set-up a build environment on host again, which is compatible with the target? (What can cause the incompatibility?)
I must be very careful with the target system also, because I have only a network connection to this.