Open ksy980418 opened 10 months ago
I faced some error while install psw
when I do
make deb_psw_pkg or make deb_local_repo
below error comes out
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
make -C external/dcap_source/QuoteGeneration deb_sgx_dcap_quote_verify_pkg make[1]: Entering directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteGeneration' make -C ../QuoteVerification make[2]: Entering directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteVerification' make -C QvE make[3]: Entering directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteVerification/QvE' Enclave/qve.cpp: In function ‘quote3_error_t status_error_to_quote3_error(Status)’: Enclave/qve.cpp:254:16: error: ‘SGX_QL_RESULT_INVALID_SIGNATURE’ was not declared in this scope; did you mean ‘SGX_QL_QV_RESULT_INVALID_SIGNATURE’? 254 | return SGX_QL_RESULT_INVALID_SIGNATURE; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SGX_QL_QV_RESULT_INVALID_SIGNATURE make[3]: *** [Makefile:194: Enclave/qve.o] Error 1 make[3]: Leaving directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteVerification/QvE' make[2]: *** [Makefile:39: QvE] Error 2 make[2]: Leaving directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteVerification' make[1]: *** [Makefile:75: qve_wrapper] Error 2 make[1]: Leaving directory '/home/ksy980418/linux-sgx/external/dcap_source/QuoteGeneration' make: *** [Makefile:231: deb_sgx_dcap_quote_verify] Error 2
You can git submodule update and build and install a new SGX SDK. SGX_QL_RESULT_INVALID_SIGNATURE is recently added in external/dcap_source submodule.
git submodule update
SGX_QL_RESULT_INVALID_SIGNATURE
external/dcap_source
I faced some error while install psw
when I do
make deb_psw_pkg or make deb_local_repo
below error comes out
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31