[Arm-dev] Help compiling a kernel module
Chris Szilagyi
chris at apex-internet.com
Sat Feb 3 05:37:19 UTC 2018
My apologies... I was running against only the kernel-devel source files
rather than the full kernel source. It is working fine now that I found
the correct kernel src.rpm package for this kernel.
Thank you...
Chris
On 02/02/2018 09:59 PM, Chris Szilagyi wrote:
> Hello:
>
> I am attempting to re-compile a broken kernel module for the
> AltArch/Arm32 release. Currently I'm trying it against the current
> kernel, 4.9.75-204. In using
> "kernel-devel-4.9.75-204.el7.centos.armv7hl", and following the
> instructions for CentOS at :
> https://wiki.centos.org/HowTos/BuildingKernelModules, when I do a
> "make prepare", I am getting the error:
>
> make[1]: *** No rule to make target `arch/arm/tools/gen-mach-types',
> needed by `include/generated/mach-types.h'. Stop.
> make: *** [archprepare] Error 2
>
> I've been searching for a fix for this but not sure what is missing
> here. If you have a solution please let me know. Thanks for your
> help on this.
>
> Chris
> _______________________________________________
> Arm-dev mailing list
> Arm-dev at centos.org
> https://lists.centos.org/mailman/listinfo/arm-dev
More information about the Arm-dev
mailing list