intel / intel/confidential-computing.sgx

error: ‘SGX_QL_RESULT_INVALID_SIGNATURE’ was not declared in this scope

Open
#998 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.