I think you are missing the reference to the untrusted library (since all 
references start with `u`). See 
https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linking-against-libsgx-tprotected-fs-a-fails/td-p/1175945
 for more details.

Another issue you might run into is missing the link to the `sgx_tcxx` library. 
Have a look at the makefile here: 
https://github.com/apache/incubator-teaclave-sgx-sdk/blob/master/samplecode/static-data-distribution/Makefile#L102.

another useful makefile (from the first link I sent) is available here, have a 
look at all the linked libraries there 
https://github.com/light1021/SGX-protected-fs-demo/blob/4d0e3b2426be4b77e9a13f76d6ed8c4a5f2208f3/makefile#L100

Ran into your issue since I had similar issues, so hope some of this helps.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/305#issuecomment-751763645

Reply via email to