Error when running make all
Lord-Funion opened this issue · 3 comments
i get this error:
touch v86timestamp # makes it "dirty" and forces recompilation
cd v86; make build/libv86.js
make[1]: Entering directory '/home/finnl/anuraOS/v86'
make[1]: 'build/libv86.js' is up to date.
make[1]: Leaving directory '/home/finnl/anuraOS/v86'
cp v86/build/libv86.js build/lib/libv86.js
cd v86; make build/softfloat.o
make[1]: Entering directory '/home/finnl/anuraOS/v86'
mkdir -p build
clang -c -Wall
--target=wasm32 -O3 -flto -nostdlib -fvisibility=hidden -ffunction-sections -fdata-sections
-DSOFTFLOAT_FAST_INT64 -DINLINE_LEVEL=5 -DSOFTFLOAT_FAST_DIV32TO16 -DSOFTFLOAT_FAST_DIV64TO32
-o build/softfloat.o
lib/softfloat/softfloat.c
make[1]: clang: No such file or directory
make[1]: *** [Makefile:206: build/softfloat.o] Error 127
make[1]: Leaving directory '/home/finnl/anuraOS/v86'
make: *** [Makefile:135: v86/build/softfloat.o] Error 2
Please install all the dependencies, you are missing the clang C compiler
I did that, now I got another error:
npx eslint . --fix
uuidgen > build/MILESTONE
mkdir -p build/artifacts
cp config.default.json public/config.json
(find apps/ -type f && cd build/ && find lib/ -type f && cd ../public/ && find . -type f)| grep -v -e node_modules -e python.app -e "/." | jq -Rnc '[inputs]' > build/cache-load.json
bash: line 1: jq: command not found
make: *** [Makefile:69: build/cache-load.json] Error 127
You also need JQ, see: https://github.com/MercuryWorkshop/anuraOS/tree/v2.0?tab=readme-ov-file#dependencies for a list of all the dependencies you need