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

having problems running make (using wsl/ubuntu on windows) #75

Open
SebastiaoJeronimo opened this issue Oct 12, 2023 · 0 comments
Open

Comments

@SebastiaoJeronimo
Copy link

after clonning the project and switching to the branch "make-builder-reproducible" and updated the submodules "git submodule update --init --recursive" im having problems running the make rule builder

#14 487.2 make[3]: *** [Makefile:560: disambiguate.lo] Error 1
#14 487.2 make[3]: *** Waiting for unfinished jobs....
#14 632.2 em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=29 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -std=c++17 -fno-exceptions -Wno-deprecated-declarations -DHAVE_CONFIG_H -I./../include -g -O2 -O3 -MT determinize.lo -MD -MP -MF .deps/determinize.Tpo -c -fPIC -DPIC determinize.cc -o determinize.o' failed (received SIGKILL (-9))
#14 634.0 make[3]: *** [Makefile:560: determinize.lo] Error 1
#14 791.9 make[3]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0/src/script'
#14 792.0 make[2]: *** [Makefile:370: install-recursive] Error 1
#14 792.0 make[2]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0/src'
#14 792.0 make[1]: *** [Makefile:426: install-recursive] Error 1
#14 792.0 make[1]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0'
#14 792.0 make: *** [Makefile:66: openfst_compiled] Error 2
#14 792.2 emmake: error: 'make -j 8 "CXXFLAGS=-O3 -r" LDFLAGS=-O3 "OPENFST_CONFIGURE=--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst' failed (returned 2)
#14 ERROR: executor failed running [/bin/sh -c emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst]: exit code: 1
------
 > [ 8/30] RUN emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst:
------
executor failed running [/bin/sh -c emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst]: exit code: 1
make: *** [Makefile:12: builder] Error 1 ``` 

when i run make again now it gives me a error in a different rule:



``` #14 496.8 em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=29 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -std=c++17 -fno-exceptions -Wno-deprecated-declarations -DHAVE_CONFIG_H -I./../include -g -O2 -O3 -MT disambiguate.lo -MD -MP -MF .deps/disambiguate.Tpo -c -fPIC -DPIC disambiguate.cc -o disambiguate.o' failed (received SIGKILL (-9))
#14 505.6 make[3]: *** [Makefile:560: disambiguate.lo] Error 1
#14 505.7 make[3]: *** Waiting for unfinished jobs....
#14 669.2 em++: error: '/emsdk/upstream/bin/clang++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=29 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -std=c++17 -fno-exceptions -Wno-deprecated-declarations -DHAVE_CONFIG_H -I./../include -g -O2 -O3 -MT determinize.lo -MD -MP -MF .deps/determinize.Tpo -c -fPIC -DPIC determinize.cc -o determinize.o' failed (received SIGKILL (-9))
#14 672.4 make[3]: *** [Makefile:560: determinize.lo] Error 1
#14 861.3 make[3]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0/src/script'
#14 861.4 make[2]: *** [Makefile:370: install-recursive] Error 1
#14 861.4 make[2]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0/src'
#14 861.4 make[1]: *** [Makefile:426: install-recursive] Error 1
#14 861.4 make[1]: Leaving directory '/opt/kaldi/tools/openfst-1.8.0'
#14 861.4 make: *** [Makefile:66: openfst_compiled] Error 2
#14 861.5 emmake: error: 'make -j 8 "CXXFLAGS=-O3 -r" LDFLAGS=-O3 "OPENFST_CONFIGURE=--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst' failed (returned 2)
#14 ERROR: executor failed running [/bin/sh -c emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst]: exit code: 1
------
 > [ 8/30] RUN emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst:
------
executor failed running [/bin/sh -c emmake make -j $(nproc) CXXFLAGS="-O3 -r" LDFLAGS=-O3 OPENFST_CONFIGURE="--enable-static --disable-shared --enable-far --enable-ngram-fsts --enable-lookahead-fsts --with-pic" openfst]: exit code: 1
make: *** [Makefile:12: builder] Error 1```

sorry for the inconvenience and thank you for your availability i just want to be able to run a demo of this library please help me
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