Comments (1)
Update 1:
I added the following line to both sgx_u.mk and sgx_t.mk at the top
SGX_SDK ?= /opt/intel/sgxsdk
SGX_MODE ?= SIM
SGX_ARCH ?= x64
Then I try to build it like this but it fails, what is wrong I am doing.
roshan@bolt:~/wolfssl/wolfssl-examples/SGX_Linux$ make SGX_MODE=SIM SGX_PRERELEASE=0 SGX_WOLFSSL_LIB=/home/roshan/wolfssl/IDE/LINUX-SGX/ WOLFSSL_ROOT=/home/roshan/wolfssl/wolfssl SGX_DEBUG=0
make -ef sgx_u.mk all
make[1]: Entering directory '/home/roshan/wolfssl/wolfssl-examples/SGX_Linux'
GEN => untrusted/Wolfssl_Enclave_u.c
cc -m64 -O2 -fPIC -Wno-attributes -IInclude -I/home/roshan/wolfssl/wolfssl/ -I/home/roshan/wolfssl/wolfssl/wolfcrypt/ -Iuntrusted -I/opt/intel/sgxsdk/include -DWOLFSSL_SGX -DNDEBUG -UEDEBUG -UDEBUG -c untrusted/Wolfssl_Enclave_u.c -o untrusted/Wolfssl_Enclave_u.o
In file included from untrusted/Wolfssl_Enclave_u.c:1:0:
untrusted/Wolfssl_Enclave_u.h:13:33: fatal error: wolfcrypt/test/test.h: No such file or directory
compilation terminated.
sgx_u.mk:126: recipe for target 'untrusted/Wolfssl_Enclave_u.o' failed
make[1]: *** [untrusted/Wolfssl_Enclave_u.o] Error 1
make[1]: Leaving directory '/home/roshan/wolfssl/wolfssl-examples/SGX_Linux'
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 2
I am on ubuntu 16.04, I resolved the build problem.
from wolfssl-examples.
Related Issues (20)
- ERROR: Failed to connect to wolfSSL HOT 1
- Camellia example HOT 2
- wc_ChaCha_Setkey return -173 despite following example HOT 1
- README.md typo HOT 3
- does wolfssl support tls connection establishment with client-secret-based and server-cert-based authentication? Thx HOT 5
- failed to build tls-sock-client HOT 3
- -lsgx_tstdcxx is deprecated
- wc_AesSetKey len parameter in aes-file-encrypt example HOT 4
- Build error after make command HOT 4
- Error: failed to load certificates HOT 5
- Generation of sphincs certificates HOT 2
- Espressif idf refuses to clean shared VisualGDB build directory
- Some TLS certificates expired HOT 2
- Update Espressif examples to use new "no setup" CMakeFiles.txt
- Unable to verify a certificate chain using certverify.c in certmangaer directory HOT 4
- Problem receiving messages on the dtls threaded server HOT 8
- Unable to run aesgcm-file-encrypt.c file HOT 3
- unable to run crypto/aes/aesgcm-file-encrypt HOT 1
- How to load more than one certificate HOT 4
- [DTLS] Problem processing queued client connections with multi-threaded server HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolfssl-examples.