Browse Source

Moved previous libsgx files to the current_libs folder and then copied service,crypto files from opt intel sgxsdk to here and the updated trts to here. Otherwise, it picks up the trts in opt intel sgxsdk. Made changes to trts. It crashes with symbol lookup error upfront

dettanym 5 years ago
parent
commit
8ea5c5f5fc
3 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile
  2. BIN
      libsgx_tcrypto.a
  3. BIN
      libsgx_tservice.a

+ 1 - 1
Makefile

@@ -46,7 +46,7 @@ crypto.o: crypto.cpp
 
 verifier:  systemMain.o systemSealerWrapper.o SgxSealer.o ProtobufLAInitiator.o SgxProtobufLAInitiator.o SgxProtobufLAInitiator_Transforms.o ProtobufLAMessages.pb.o crypto.o
 #	echo $(system_obj)
-	${CXX} -Wl,--noinhibit-exec systemMain.o crypto.o systemSealerWrapper.o SgxSealer.o  -L${Openssl_Path}/lib -lcrypto -lssl -L$(SGX_LIBRARY_PATH) -l$(Service_Library_Name) -l$(Crypto_Library_Name)  ${LD_FLAGS} -o $@ 
+	${CXX} -Wl,--noinhibit-exec systemMain.o crypto.o systemSealerWrapper.o SgxSealer.o  -L${Openssl_Path}/lib -lcrypto -lssl -L./ -l$(Service_Library_Name) -l$(Crypto_Library_Name) -L/home/m2mazmud/linux-sgx-trts-modified/build/linux  -lsgx_trts ${LD_FLAGS} -o $@ 
 
 #-Wl,-rpath,$(SGX_SDK)/lib64  systemMain.o  ${LD_FLAGS} -o $@
 #systemSealerWrapper.o SgxSealer.o 

BIN
libsgx_tcrypto.a


BIN
libsgx_tservice.a