Page 1 of 1
Error during make install
Posted: Mon 3. Jun 2019, 22:02
by jhollowell
Trying to install peak-linux-driver-8.8.0 on Ubuntu 16.04 desktop system. I can run make clean, make -C driver NET=NETDEV_SUPPORT, but when I run sudo make install it fails with an error:
cp cannot stat 'lib/*': no such file or directory
Any thoughts on how I can get past this and get the driver installed?
Re: Error during make install
Posted: Mon 3. Jun 2019, 22:41
by jhollowell
Fixed the install issue by using:
make clean
make NET=NETDEV_SUPPORT
sudo make install
However, I cannot use ip link set can0 type can up bitrate 500000 to get my card running.
Re: Error during make install
Posted: Tue 4. Jun 2019, 10:16
by M.Maidhof
Hi,
which PCAN hardware do you use? Which kernel version is used? Please post output of uname -a and cat /proc/pcan
regards
Michael
Re: Error during make install
Posted: Wed 5. Jun 2019, 21:46
by jhollowell
The card is PCAN-miniPCIe FD single channel.
uname -a
Linux olli-xx 4.13.0-36-generic #40-16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
cat /proc/pcan
no such file or directory
I find it strange that /proc/pcan does not exist since I did all the make, and make install
Re: Error during make install
Posted: Thu 6. Jun 2019, 09:11
by M.Maidhof
Hi,
after "sudo make install" you have to call "sudo modprobe pcan" or reboot your system once, so that the driver will be loaded.
regards
Michael
Re: Error during make install
Posted: Fri 7. Jun 2019, 23:36
by jhollowell
Ok, got everything installed, however when I cat /proc/pcan it does show any devices. Any thoughts?
Re: Error during make install
Posted: Tue 11. Jun 2019, 10:13
by M.Maidhof
Hi,
please check that your mainboard supports PCIe on the miniPCIe slots. There are systems which only supports the USB on those miniPCIe slots. Our PCAN-miniPCIe card uses the PCIe.
Check with lspci that the card is detected by Linux.
regards
Michael