私はウェブアセンブリの指示(http://webassembly.org/getting-started/developers-guide/)に従ってemsdkをインストールしようとしています。それはすべてOSX上で正常にコンパイルが、私はUbuntuの16.04でそれを構築しようとしているとき、私は次のようなエラーに実行しているよ:Ubuntuでemsdkをビルドしようとしたときにエラーが発生しました16.04
[ 94%] Built target llvm-lto2
[ 94%] Built target llvm-diff
[ 94%] Linking CXX executable ../../bin/llvm-c-test
collect2: error: ld returned 1 exit status
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/build.make:425: recipe for target 'bin/llvm-c-test' failed
make[2]: *** [bin/llvm-c-test] Error 1
CMakeFiles/Makefile2:15474: recipe for target 'tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/all' failed
make[1]: *** [tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Build failed due to exception!
Working directory: /opt/emsdk/clang/fastcomp/build_incoming_64
Command '['make', '-j1']' returned non-zero exit status 2
Installation failed!
誰もが何が起こっているか知っていますか?
ありがとうございます!それは完全な説明です! :)私はウェブアセンブリの人に直接助けを求めることでこれを解決することもできました:https://github.com/WebAssembly/website/issues/103 –