intel / intel/confidential-computing.sgx.sdk
ENCLAVE_SERVICE_NOT_AVAILABLE’ was not declared in this scope
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I am building the PSW from the source code on ubuntu 18.04 with gcc-7.5.0, but I received the following error:
make[2]: Leaving directory '/home/hz04/linux-sgx/psw/uae_service/linux'
make -C urts/linux/
make[2]: Entering directory '/home/hz04/linux-sgx/psw/urts/linux'
g++ -c -Wnon-virtual-dtor -std=c++11 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -UDEBUG -DNDEBUG -ffunction-sections -fdata-sections -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls -DITT_ARCH_IA64 -DDISABLE_TRACE -fPIC -Werror -g -I/opt/intel/sgxsdk/include -I/home/hz04/linux-sgx/common/inc/internal -I/home/hz04/linux-sgx/common/inc/internal/linux -I/home/hz04/linux-sgx/psw/enclave_common -I/home/hz04/linux-sgx/psw/urts/ -I/home/hz04/linux-sgx/psw/urts/linux -I/home/hz04/linux-sgx/psw/urts/parser -I/home/hz04/linux-sgx/external/vtune/linux/include -I/home/hz04/linux-sgx/external/vtune/linux/sdk/src/ittnotify enclave_creator_hw.cpp -o enclave_creator_hw.o
enclave_creator_hw.cpp: In member function ‘int EnclaveCreatorHW::error_api2urts(uint32_t)’:
enclave_creator_hw.cpp:178:11: error: ‘ENCLAVE_SERVICE_NOT_AVAILABLE’ was not declared in this scope
case ENCLAVE_SERVICE_NOT_AVAILABLE:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enclave_creator_hw.cpp:178:11: note: suggested alternative: ‘ENCLAVE_SERVICE_TIMEOUT’
case ENCLAVE_SERVICE_NOT_AVAILABLE:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ENCLAVE_SERVICE_TIMEOUT
Makefile:154: recipe for target 'enclave_creator_hw.o' failed
Contributor guide
Assessment
This issue has not been assessed yet.