I proceeded with installing the PCIe driver as instructed.
However, an unknown error occurred.
-------------------Terminal------------------
sudo dpkg -i hailort-pcie-driver_4.17.0_all.deb
[sudo] password for orangepi:
Selecting previously unselected package hailort-pcie-driver.
(Reading database … 150360 files and directories currently installed.)
Preparing to unpack hailort-pcie-driver_4.17.0_all.deb …
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
Unpacking hailort-pcie-driver (4.17.0) …
Setting up hailort-pcie-driver (4.17.0) …
WARNING: apt does not have a stable CLI interface. Use caution in scripts.
build-essential/jammy,now 12.9ubuntu3 arm64 [installed]
Do you wish to use DKMS? [Y/n]:
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
dpkg: error processing package hailort-pcie-driver (–install):
installed hailort-pcie-driver package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
hailort-pcie-driver
I checked /var/log/hailort-pcie-drvier.deb.log.
cat /var/log/hailort-pcie-driver.deb.log
######### Tue Jul 2 06:38:19 PM KST 2024 #########
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
######### Tue Jul 2 06:38:19 PM KST 2024 #########
/share/opt/hailo/linux/pcie /
make[1]: *** /lib/modules/5.10.110-rockchip-rk3588//build: No such file or directory. Stop.
make: *** [Makefile:110: clean] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 40
37 }
38
39 function compile_and_install_pcie_driver_with_dkms() {
40 make clean &>> $LOG
41 make install_dkms &>> $LOG || {
42 echo “Failed to install PCIe driver to the DKMS tree. Trying to install PCIe driver without DKMS”
43 compile_and_install_pcie_driver_without_dkms
@omria, Hi! I am trying to install hailort-pcie-driver_4.18.0_all.deb on Orange Pi 5 Plus Armbian Linux v6.1. I get the same error:
######### Чт 08 авг 2024 15:44:03 MSK #########
/share/opt/hailo/linux/pcie /
make[1]: *** /lib/modules/6.1.75-vendor-rk35xx//build: No such file or directory. Stop.
make: *** [Makefile:110: clean] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 48
45 }
46
47 function compile_and_install_pcie_driver_without_dkms() {
48 make clean &>> $LOG
49 make all &>> $LOG
50 make install &>> $LOG
51 }
If you know how to fix it, I would greatly appreciate your help.
This error is because linux-headers is not installed, and there is one under/optHis installation package, you can try to install it using sudo dpkg --install *****.deb