hi,
i tried to compile the linux driver (module) for the peak can usb device on my raspberry pi B+ on Raspbian 4.9.41+. I'm not sure if this is even necessary on kernel 4.9.41+, if not could you please tell me how to activate an existing driver?
anyway, following these instructions: http://www.peak-system.com/forum/viewto ... 3&start=10
since the link provided in the tutorial on the peak site to download the kernel headers is not working, i installed the kernel headers using
apt-get install raspberrypi-kernel-headers (following these instructions: https://www.raspberrypi.org/documentati ... headers.md)
and i even set up a full source tree following this tutorial: https://raspberrypi.stackexchange.com/a/37011
i downloaded the driver from http://www.peak-system.com/fileadmin/media/linux/files/ (the 7.8 version) and extracted the archive.
make clean
and when i try to
make NET=NO PCI=NO PAR=NO ISA=NO PCC=NO DNG=NO
it fails saying "linkage.h fatal error: asm/linkage.h: no such file or directory"
any help on this would be very much appreciated.
regards
Lukas
problem compiling usb driver for raspbian
Re: problem compiling usb driver for raspbian
Hi,
please use rpi-source to get the latest kernel source for your PI
see: http://www.peak-system.com/forum/viewto ... t=90#p5327
regards
Michael
please use rpi-source to get the latest kernel source for your PI
see: http://www.peak-system.com/forum/viewto ... t=90#p5327
regards
Michael
Re: problem compiling usb driver for raspbian
Thank you very much, it's working!