Appreciate any insight. Looks like it just can’t find the correct directory below.
Error when installing pcie driver like this:
sudo dpkg -i hailort-pcie-driver_4.21.0_all.deb
Use DKMS = y
Failed. Exited with status 2 see /var/log/hailort-pcie-driver.deb.log
— Here are the contents of the log for this attempt:
######### Sun Apr 13 17:41:48 PDT 2025 #########
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
######### Sun Apr 13 17:41:48 PDT 2025 #########
/share/opt/hailo/linux/pcie /
make[1]: *** /lib/modules/5.15.167.4-microsoft-standard-WSL2//build: No such file or directory. Stop.
make: *** [Makefile:106: clean] Error 2
Failed. Exited with status 2. See /var/log/hailort-pcie-driver.deb.log
Failed at 42
39 }
40
41 function compile_and_install_pcie_driver_with_dkms() {
42 make clean &>> $LOG
43 make install_dkms &>> $LOG || {
44 echo “Failed to install PCIe driver to the DKMS tree. Trying to install PCIe driver without DKMS”
45 compile_and_install_pcie_driver_without_dkms