While trying to install the Intel SGX driver from the official site, I am getting the following error:
make -C /lib/modules/4.15.0-36-generic/build SUBDIRS=/home/dell/Downloads/linux-sgx-driver-master modules
make: Entering directory '/usr/src/linux-headers-4.15.0-36-generic'
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
Building modules, stage 2.
MODPOST 1 modules
make: Leaving directory '/usr/src/linux-headers-4.15.0-36-generic'
Note that I already have a following directory on my desktop( and I don't know if its related or not):
dell@dell:~/Downloads/linux-sgx-driver-master$ ls /opt/intel/sgxdriver/
Requesting to please help me as to how the issue is to be resolved.