I have referred to the posts:
1. Howto install the PEAK Linux driver on a fresh Ubuntu
2. PCAN USB Driver for Beagle Bone Black with Ubuntu
and while the OP in the later post does say he moves to Debian eventually, the steps he mentioned to reach the solution did not work for me.
About my system:
PCAN-USB adapter bought in July-2016.
Beaglebone black with Debian 8.4 released 2016-05-13
uname -a : Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux
Peak linux driver used: 7.4 (from http://www.peak-system.com/fileadmin/me ... /index.htm)
make clean
Code: Select all
root@beaglebone:~/peak-linux-driver-7.4# make clean
make[1]: Entering directory '/root/peak-linux-driver-7.4/driver'
Makefile:94: *** "Can't find /lib/modules/4.4.9-ti-r25/build/include/linux/version.h !". Stop.
make[1]: Leaving directory '/root/peak-linux-driver-7.4/driver'
make[1]: Entering directory '/root/peak-linux-driver-7.4/lib'
rm -f src/*~ src/*.o *~ *.so.*
make[1]: Leaving directory '/root/peak-linux-driver-7.4/lib'
make[1]: Entering directory '/root/peak-linux-driver-7.4/test'
rm -f src/*~ src/*.o *~ receivetest transmitest bitratetest filtertest pcan-settings
make[1]: Leaving directory '/root/peak-linux-driver-7.4/test'
A solution to this on the later link was to install 'kernel headers' from https://eewiki.net/display/linuxonarm/B ... inuxKernel , but I am getting the same error on running
Code: Select all
git checkout origin/am33x-v4.4 -b tmp
Code: Select all
./build_kernel.sh
Thanks