Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing emm_private.h in sgx_rsrv_mem.cpp #1043

Open
2-Ritual opened this issue Jul 31, 2024 · 2 comments
Open

missing emm_private.h in sgx_rsrv_mem.cpp #1043

2-Ritual opened this issue Jul 31, 2024 · 2 comments

Comments

@2-Ritual
Copy link

I work on an unsupported operating system OpenEuler22.03 and use it as centOS8. I think the required tools to build the Intel(R) SGX SDK are installed and they are the latest version. When I execute the command 'make sdk', the problem is the missing file 'emm_private.h'. Is the problem that the corresponding tool for my OS is not suitable?

@jbdelcuv
Copy link
Contributor

Have you checked out all the submodules?
I believe that file is provided by the sgx-emm/emm_src submodule.

@olafhering
Copy link

Yes, it is in that submodule. How are the build rules supposed to use external/sgx-emm/emm_src/include/emm_private.h?
This command in your favorite off-the-shelf operating system fails to find the header file:

git clone --recurse-submodules https://github.com/intel/linux-sgx.git x.git
pushd "$_"
bash download_prebuilt.sh
make sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants