We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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)
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)
/root/sgx/samplecode/helloworld/enclave/tar get/release/build/sgx_unwind-917f9251756f26e8/build-script-build
Is someone who can help me ?
The text was updated successfully, but these errors were encountered:
Hi, The fast solution for this problem is checkout to commit 19355dc
commit 19355dc (HEAD) Date: Thu Oct 14 20:23:39 2021 +0800
Update sgx_types for dcap 1.12
Sorry, something went wrong.
Hi, I encountered the same problem on windows. This is because the file format in Windows is dos, while in Linux, the file format is unix.
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
No branches or pull requests
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: