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

Compilation Issue #2

Open
oleksiybozhyk opened this issue Dec 17, 2021 · 0 comments
Open

Compilation Issue #2

oleksiybozhyk opened this issue Dec 17, 2021 · 0 comments

Comments

@oleksiybozhyk
Copy link

oleksiybozhyk commented Dec 17, 2021

Ciao Matteo,

Ho trovo il tuo progetto molto interessante anche io sto cercando di fare la stessa cosa. Colgo occasione per farti due domande:

  • Come mai non hai usato wasme ( https://docs.solo.io/ )
  • Riscontro dei errori durante la compilazione della tua soluzione:

Setting environment variables:
PATH = /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain:/home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain/upstream/emscripten:/home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain/node/12.18.1_64bit/bin:/home/olek/.cache/bazelisk/downloads/bazelbuild/bazel-3.5.0-linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
EMSDK = /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain
EM_CONFIG = /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain/.emscripten
EM_CACHE = /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain/upstream/emscripten/cache
EMSDK_NODE = /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/external/emscripten_toolchain/node/12.18.1_64bit/bin/node
/home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/sandbox/linux-sandbox/252/execroot/istio_modsecurity_ext/external/emscripten_toolchain /home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/sandbox/linux-sandbox/252/execroot/istio_modsecurity_ext
/home/olek/.cache/bazel/_bazel_olek/d38dac926f94d595b5de9882f7c31385/sandbox/linux-sandbox/252/execroot/istio_modsecurity_ext
ERROR: /home/olek/Documents/minimal-modsec-istio-ext-wasm/basemodsec/BUILD:3:15: Linking of rule '//:_wasm_basemodsec.wasm' failed (Exit 1) emcc.sh failed: error executing command external/proxy_wasm_cpp_sdk/toolchain/emcc.sh -o bazel-out/wasm32-fastbuild-ST-95c926fad3e2/bin/_wasm_basemodsec.wasm bazel-out/wasm32-fastbuild-ST-95c926fad3e2/bin/_objs/_wasm_basemodsec.wasm/plugin.o ... (remaining 23 argument(s) skipped)

Potresti per cortesia indicare i link ai sorgenti che hai utilizzato di libmodsecurity e di libpcre magari errore è dovuto a versioni diverse?...

Grazie!
Oleksiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant