- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am a new developer working on intel-sgx-ssl with Intel SGX 1.9.0 in Ubuntu 16.04; I am successfully build the library and now I am following this instruction to link the library:
I am trying to using sgx_edger8r tools as Page 5, No.2 said, however:
/opt/intel/sgxsdk/bin/x64$ ./sgx_edger8r --search-path /home/user/Desktop/intel-sgx-ssl/Linux/sgxssl.1.9.100.99999/include/ sgx_tsgxssl.edl
error: the enclave `sgx_tsgxssl' contains no public root ECALL.
Am I missing some key point to leading this problem: error the enclave sgx_tsgxssl contains no public root ECALL?
Best Wishes,
Klaus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Klaus.
Per the doc you linked, the sgx_tsgxssl.edl file is not meant to be used standalone... it is meant to be included ("from some.edl import *" syntax) into your own applications's .edl file which is required to have at least one public ecall. For more info on EDL, see the "Enclave Definition Language Syntax" section in the SGX Developer reference for Linux: https://01.org/intel-software-guard-extensions/documentation/intel-sgx-sdk-developer-reference
Regards.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Scott R. (Intel) wrote:
Hello, Klaus.
Per the doc you linked, the sgx_tsgxssl.edl file is not meant to be used standalone... it is meant to be included ("from some.edl import *" syntax) into your own applications's .edl file which is required to have at least one public ecall. For more info on EDL, see the "Enclave Definition Language Syntax" section in the SGX Developer reference for Linux: https://01.org/intel-software-guard-extensions/documentation/intel-sgx-s...
Regards.
Scott
HI Scott,
Thanks for your information. I am trying this since from intel-sgx-ssl code example, it has a test_app folder. I am trying to compile the file by using "make" , it will have the error:
error: File not found within search paths: sgx_tsgxssl.edl
sgx_u.mk:127: recipe for target 'app/TestEnclave_u.c' failed
make[1]: *** [app/TestEnclave_u.c] Error 255
That's why I am trying to use edger8r tools to search path with sgx_tsgxssl.edl
Am I missing something that cause this problem ? Since I can not link to the intel-sgx-ssl library by the instruction, is there something wrong I did?
THanks for your time and useful information again!
Best Wishes,
Klaus Li
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Klaus.
To be able to build the test_app, you need to have built and installed the entire sgxssl package. These steps are documented on the GitHub page:
- From the intel-sgx-ssl/Linux folder
- ./build_openssl.sh
- make all test
- sudo make install
- From the intel-sgx-ssl/Linux/sgx/test_app folder
- make
Regards.
Scott

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page