GithubHelp home page GithubHelp logo

Failed to build about wolfssl-examples HOT 1 CLOSED

wolfssl avatar wolfssl commented on June 7, 2024
Failed to build

from wolfssl-examples.

Comments (1)

gmatesunny avatar gmatesunny commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.