-
Notifications
You must be signed in to change notification settings - Fork 260
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
samplecode/helloworld #366
Comments
Hi, Execute the following instructions in the linux environment (docker) to convert all file formats in the sgx folder to unix. find . -type f -print0 | xargs -0 dos2unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have problem with compilation a helloworld sample code .
I tried compilation on below docker images:
baiduxlab/sgx-rust:2004-1.1.3
baiduxlab/sgx-rust:1604-1.1.3
baiduxlab/sgx-rust:centos8-1.1.3
But each time, I obtained error:
--- stderr
: not found/sgx_unwind/../sgx_unwind/libunwind/autogen.sh: 2:
: not found/sgx_unwind/../sgx_unwind/libunwind/autogen.sh: 5:
/root/sgx/sgx_unwind/../sgx_unwind/libunwind/autogen.sh: 6: cd: can't cd to /r
oot/sgx/sgx_unwind/../sgx_unwind/libunwind
'.autoreconf: unrecognized option '--install
autoreconf: Try '/usr/bin/autoreconf --help' for more information.
: not found/sgx_unwind/../sgx_unwind/libunwind/autogen.sh: 8: exit
: not found/sgx_unwind/../sgx_unwind/libunwind/autogen.sh: 9:
: bad variable nameind/../sgx_unwind/libunwind/autogen.sh: 13: export: CFLAGS
make[1]: *** [Makefile:36: libenclave.a] Error 101
make[1]: Leaving directory '/root/sgx/samplecode/helloworld/enclave'
make: *** [Makefile:165: enclave] Error 2
I found addition informations
Compiling sgx_unwind v1.1.4 (/root/sgx/sgx_unwind)
error: failed to run custom build command for
sgx_unwind v1.1.4 (/root/sgx/sgx_ unwind)
Caused by:
process didn't exit successfully:
/root/sgx/samplecode/helloworld/enclave/tar get/release/build/sgx_unwind-917f9251756f26e8/build-script-build
(exit status:1)
Is someone who can help me ?
The text was updated successfully, but these errors were encountered: