---------安装DCAP驱动----------
Unpacking Intel SGX Driver … done.
Verifying the integrity of the install package … done.
Installing Intel SGX Driver …
/tmp/sgx-driver-pIl4kn /home/pha/solo-mining-scripts-para
install -d /opt/intel/sgxdriver/package
install -d /opt/intel/sgxdriver/scripts
cp -r package/* /opt/intel/sgxdriver/package
install scripts/* /opt/intel/sgxdriver/scripts
/home/pha/solo-mining-scripts-para
Kernel preparation unnecessary for this kernel. Skipping…
Building module:
cleaning build area…
‘make’ KDIR=/lib/modules/5.11.0-27-generic/build…(bad exit status: 2)
ERROR (dkms apport): binary package for sgx: 1.41 not found
Error! Bad return status for module build on kernel: 5.11.0-27-generic (x86_64)
Consult /var/lib/dkms/sgx/1.41/build/make.log for more information.
Failed to build driver. Please check if the matching kernel headers are installed.
----------安装DCAP驱动失败,请检查驱动安装日志!----------