Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.26 KB | None | 0 0
  1. g++ enclave/Enclave_t.o -o enclave/enclave.so -m64 -O2 -Wl,--no-undefined -nostdlib -nodefaultlibs -nostartfiles -L/opt/intel/sgxsdk/lib64 -Wl,--whole-archive -lsgx_trts -lsgx_tservice -Wl,--no-whole-archive -Wl,--start-group -lsgx_tstdc -lsgx_tstdcxx -lsgx_tcrypto  -L./lib -lcompiler-rt-patch -lenclave -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefined -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 -Wl,--gc-sections -Wl,--version-script=enclave/Enclave.lds
  2.  
  3. ./lib/libenclave.a(sgx_tstd-fa4ceeb28a1b1375.sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs.rcgu.o): In function `__rg_alloc':
  4.  
  5. sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs:(.text.__rg_alloc+0x41): undefined reference to `posix_memalign'
  6. ./lib/libenclave.a(sgx_tstd-fa4ceeb28a1b1375.sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs.rcgu.o): In function `__rg_realloc':
  7.  
  8. sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs:(.text.__rg_realloc+0x83): undefined reference to `posix_memalign'
  9. ./lib/libenclave.a(sgx_tstd-fa4ceeb28a1b1375.sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs.rcgu.o): In function `__rg_alloc_zeroed':
  10.  
  11. sgx_tstd15-f4ebfc71012243c07e4dbe82b2669e7b.rs:(.text.__rg_alloc_zeroed+0x45): undefined reference to `posix_memalign'
  12. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement