Errors while compiling with sdk-2.6
Hello, I am trying to compile stress-sgx with sdk-2.6. The sdk, psw and driver are compiled/installed with default settings in the Makefile, i.e. to say Makefile has not been modified.
I am using gcc-7.5 on Linux kernel 4.18.0-25-generic and Ubuntu 18.04.
These are the errors that I get while I compile in the root directory of stress-sgx using:
make SGX_DEBUG=0 SGX_PRERELEASE=1 SGX_MODE=HW
... Some error-less compilation ...
make[3]: Leaving directory '~/stress-sgx/sgx/enclave_cpu'
make -C ./linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c++ -f sgx_t_static.mk all; make -C ./linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c -f sgx_t_static.mk all;
make[3]: Entering directory '~/stress-sgx/linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c++'
make[3]: *** No rule to make target 'static_trusted/.edl', needed by 'static_trusted/_t.h'. Stop.
make[3]: Leaving directory '~/stress-sgx/linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c++'
make[3]: Entering directory '~/stress-sgx/linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c'
make[3]: *** No rule to make target 'static_trusted/.edl', needed by 'static_trusted/_t.h'. Stop.
make[3]: Leaving directory '~/stress-sgx/linux-sgx/Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXTrustedStaticLibrary/makefiles/c'
sgx/Makefile:27: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '~/stress-sgx'
Makefile:326: recipe for target 'enclave_cpu.signed.so' failed
make[1]: *** [enclave_cpu.signed.so] Error 2
make[1]: Leaving directory '~/stress-sgx'
Makefile:300: recipe for target 'all_config' failed
make: *** [all_config] Error 2
~ is just the overall path where stress-sgx was cloned.
Can someone please help me in resolving this error?
Thanks