You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set up SecretNetwork according to README, but build failed.
I think this may be related to sgx not being installed successfully.
command did not execute successfully: "make" "INCDIR=/home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind" "-j64"
expected success, got: exit status: 2
--- stderr
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force
autoreconf: running: /usr/bin/autoconf --force
configure.ac:40: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:40: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:40: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:18: installing 'config/compile'
configure.ac:11: installing 'config/missing'
src/Makefile.am:371: warning: whitespace following trailing backslash
src/Makefile.am:372: warning: whitespace following trailing backslash
src/Makefile.am: installing 'config/depcomp'
src/Makefile.am:165: warning: variable 'libunwind_dwarf_generic_la_SOURCES' is defined but no program or
src/Makefile.am:165: library has 'libunwind_dwarf_generic_la' as canonical name (possible typo)
src/Makefile.am:619: warning: variable 'libunwind_x86_64_la_SOURCES' is defined but no program or
src/Makefile.am:619: library has 'libunwind_x86_64_la' as canonical name (possible typo)
src/Makefile.am:168: warning: variable 'libunwind_dwarf_generic_la_LIBADD' is defined but no program or
src/Makefile.am:168: library has 'libunwind_dwarf_generic_la' as canonical name (possible typo)
src/Makefile.am:621: warning: variable 'libunwind_x86_64_la_LIBADD' is defined but no program or
src/Makefile.am:621: library has 'libunwind_x86_64_la' as canonical name (possible typo)
src/Makefile.am:620: warning: variable 'libunwind_x86_64_la_LDFLAGS' is defined but no program or
src/Makefile.am:620: library has 'libunwind_x86_64_la' as canonical name (possible typo)
autoreconf: Leaving directory '.'
.......
<command-line>: note: this is the location of the previous definition
make[5]: *** [Makefile:1765: dwarf/Lfind_proc_info-lsb.lo] Error 1
In file included from /home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/include/pthread.h:37,
from /home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/include/dwarf.h:50,
from /home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/include/dwarf_i.h:9,
from /home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Gpe.c:26,
from /home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/src/dwarf/Lpe.c:4:
/home/ubuntu22/blockchain/SecretNetwork/third_party/incubator-teaclave-sgx-sdk/sgx_unwind/../sgx_unwind/libunwind/include/pthread_compat.h:39:10: fatal error: sgx_spinlock.h: No such file or directory
39 | #include "sgx_spinlock.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [Makefile:1765: dwarf/Lpe.lo] Error 1
make[4]: *** [Makefile:1225: all] Error 2
make[3]: *** [Makefile:593: all-recursive] Error 1
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.zcFkLA8Eutdw/Cargo.toml" "--target" "x86_64-unknown-linux-sgx" "-p" "sgx_unwind"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
make[2]: *** [Makefile:132: lib/libenclave.a] Error 1
make[2]: Leaving directory '/home/ubuntu22/blockchain/SecretNetwork/cosmwasm/enclaves/execute'
make[1]: *** [Makefile:81: inner-build-enclave] Error 2
make[1]: Leaving directory '/home/ubuntu22/blockchain/SecretNetwork/go-cosmwasm'
make: *** [Makefile:168: _build-linux] Error 2
I set up SecretNetwork according to README, but build failed.
I think this may be related to sgx not being installed successfully.
My environment:
The text was updated successfully, but these errors were encountered: