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

【Docker/SGX】fatal error: inc/stat.h: No such file or directory #2790

Closed
jiyuay opened this issue Mar 12, 2019 · 3 comments · Fixed by #2878
Closed

【Docker/SGX】fatal error: inc/stat.h: No such file or directory #2790

jiyuay opened this issue Mar 12, 2019 · 3 comments · Fixed by #2878

Comments

@jiyuay
Copy link

jiyuay commented Mar 12, 2019

When I followed the instruction(https://github.com/dmlc/tvm/tree/master/apps/sgx) to run the SGX demo with docker, I successfully pulled the docker image and entered the container, but when I use the make -j4 command, I got a fatal error:
fatal error: inc/stat.h: No such file or directory
This makes me very confused, what should I do? @tqchen @nhynes
Thank you!

@tqchen
Copy link
Member

tqchen commented Mar 12, 2019

Please open a new thread at https://discuss.tvm.ai/

@tqchen tqchen closed this as completed Mar 12, 2019
@nhynes
Copy link
Member

nhynes commented Mar 12, 2019

(although discuss.tvm.ai is the correct place for such questions, I'll post the following just in case anyone else looks)

It seems like the include path isn't being set. Are you sure you used the included cmake invocation exactly? It should Just Work™. You might have an old version of ci-cpu in your docker cache. Try clearing it and then copy+pasting in the commands. If that doesn't work, please do post on the forums :)

@jiyuay
Copy link
Author

jiyuay commented Mar 12, 2019

I have cleaned the cache, but It didn't work, it was still the same error. Moreover, I don't understand what you mean by " included cmake invocation exactly", I have posted my question on https://discuss.tvm.ai/
Thank you so much! @nhynes

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

Successfully merging a pull request may close this issue.

3 participants