我试图在我的机器上获得llvm 3.0,但是当我给make -k时,我得到以下错误.
chethan@ubuntu:~/llvm-3.0$ make
make[1]: Entering directory `/home/chethan/llvm-3.0/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release build
In file included from APFloat.cpp:15:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/APFloat.h:104:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/APInt.h:18:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/ArrayRef.h:13:
In file included from /home/chethan/llvm-3.0/include/llvm/ADT/SmallVector.h:17:
/home/chethan/llvm-3.0/include/llvm/Support/type_traits.h:20:10: fatal error: 'utility' file not found
#include <utility>
^
1 error generated.
make[1]: *** [/home/chethan/llvm-3.0/lib/Support/Release/APFloat.o] Error 1
make[1]: Leaving directory `/home/chethan/llvm-3.0/lib/Support'
make: *** [all] Error 1
Run Code Online (Sandbox Code Playgroud)
我按照这些步骤在我的机器上构建llvm.
虽然在这种情况下,我只是给了'make',以便在第一次出错时停止.我在我的机器上安装了llvm-gcc 4.2.
今天早上我在家用机器上执行了相同的步骤,并成功构建了llvm-3.0!知道这里可能缺少什么吗?