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.
8.15.1 driver make errors on Debian 11
Re: 8.15.1 driver make errors on Debian 11
Hi,
please reboot your system once and install/reinstall the kernel headers again. Build the driver without sudo and see what will be displayed:
make clean
make
sudo make install
sudo modprobe pcan
cat /proc/pcan
regards
Michael
please reboot your system once and install/reinstall the kernel headers again. Build the driver without sudo and see what will be displayed:
make clean
make
sudo make install
sudo modprobe pcan
cat /proc/pcan
regards
Michael
-
- Posts: 8
- Joined: Thu 30. Jun 2022, 23:40
Re: 8.15.1 driver make errors on Debian 11
That worked!! Thank you!!
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 8.15.1 driver make errors on Debian 11
Problem solved - Topic closed
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------