Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make trustzone" error in the docker, how to fix it? #26

Open
foxkee opened this issue Nov 27, 2021 · 1 comment
Open

"make trustzone" error in the docker, how to fix it? #26

foxkee opened this issue Nov 27, 2021 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@foxkee
Copy link

foxkee commented Nov 27, 2021

I use the command "make trustzone" in the docker, but some error had occured, how to fix it?

root@0c57012c76cc:/work/veracruz# make trustzone
make -C sdk
make[1]: Entering directory '/work/veracruz/sdk'
make -C wasm-checker
make[2]: Entering directory '/work/veracruz/sdk/wasm-checker'
mkdir -p bin/
g++ src/main.cc -o bin/wasm-checker -I./wabt/ -I./wabt/build -L ./wabt/build -I./json/include -lwabt
src/main.cc:14:10: fatal error: src/binary-reader-ir.h: No such file or directory
#include <src/binary-reader-ir.h>
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:13: recipe for target 'bin/wasm-checker' failed
make[2]: *** [bin/wasm-checker] Error 1
make[2]: Leaving directory '/work/veracruz/sdk/wasm-checker'
Makefile:77: recipe for target 'wasm-checker' failed
make[1]: *** [wasm-checker] Error 2
make[1]: Leaving directory '/work/veracruz/sdk'
Makefile:36: recipe for target 'sdk' failed
make: *** [sdk] Error 2

@dominic-mulligan-arm
Copy link
Member

Hi @foxkee, thanks for your report!

To double-check, have you first source environment in the rust-optee-sdk directory in the /work/ directory of the Docker container, and also source $CARGO_HOME/.env?

@dominic-mulligan-arm dominic-mulligan-arm added bug Something isn't working question Further information is requested labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants