recovering of build environment
Gents,
I used Debian 2.6.24.7-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. thanks Janos |
Welcome to LQ!
Check if kernel-headers for both kernels are the same,if they're not install kernel-headers on the host to match kernel-headers on the target then rebuild the driver/s. |
Thanks for the fast response !
I copied the config file back from target to host and recompiled the kernel and the modules (may be the headers are relevant). Now I can compile modules, which are also working on the target system. Thanks again. |
All times are GMT -5. The time now is 04:55 PM. |