On 22.07.2024 16:50, Roger Oberholtzer wrote:
I am trying to build a kernel module out of the kernel source tree. I am trying this on leap 15.6
I am pretty sure that the module in question supports this. I am guessing that I am missing some additional package.
The complaint is as follows:
*** *** Making pcan driver in netdev mode *** *** Host OS Release=openSUSE Leap v15.6 *** Host machine kernel version=6.4.12-1-default ...
I have these related RPMs installed:
patterns-devel-base-devel_kernel-20170319-lp156.3.2.x86_64 kernel-default-devel-6.4.0-150600.23.14.2.x86_64
Either install kernel-default-devel matching your running kernel or install and reboot into kernel-default matching your kernel-default-devel or tell Makefile the kernel version/build directory location manually (whatever this Makefile accepts). It finally depends on for which kernel you are trying to build this driver.