8.15.1 driver make errors on Debian 11
Posted: Thu 13. Oct 2022, 19:47
I easily installed 8.15.1 on my Vecow running Ubuntu 18.4, and have happily been executing my software since then. No problems moving CAN data about the system.
We are changing hardware to Kontron xeon D1559 processor running Debian 11. The kernel is 5.10.0-15-amd64. All our other software works well...but I can't make the PEAK 8.15.1 drivers. I verified that the path in $KERNEL_LOCATION is correct. I get this error message:
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$ echo $KERNEL_LOCATION
/boot
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$ sudo make
make[1]: Entering directory '/home/rtkuser/peak-linux-driver-8.15.1/driver'Makefile:131: *** "Unable to automatically find the Kernel headers. These are mandatory to build the pcan driver. Please set the KERNEL_LOCATION variable to the root directory of your own built Kernel.". Stop.
make[1]: Leaving directory '/home/rtkuser/peak-linux-driver-8.15.1/driver'
make: *** [Makefile:84: all] Error 2
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$
Can you please advise me how to proceed? Thank you.
We are changing hardware to Kontron xeon D1559 processor running Debian 11. The kernel is 5.10.0-15-amd64. All our other software works well...but I can't make the PEAK 8.15.1 drivers. I verified that the path in $KERNEL_LOCATION is correct. I get this error message:
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$ echo $KERNEL_LOCATION
/boot
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$ sudo make
make[1]: Entering directory '/home/rtkuser/peak-linux-driver-8.15.1/driver'Makefile:131: *** "Unable to automatically find the Kernel headers. These are mandatory to build the pcan driver. Please set the KERNEL_LOCATION variable to the root directory of your own built Kernel.". Stop.
make[1]: Leaving directory '/home/rtkuser/peak-linux-driver-8.15.1/driver'
make: *** [Makefile:84: all] Error 2
rtkuser@rtk-os-dev-amt:~/peak-linux-driver-8.15.1$
Can you please advise me how to proceed? Thank you.