LLVM compile fail.

Hi,

I have tried several times to compile llvm along with compiler-rt, clang, and clang-extra-tools

from the git mirrors and each time I get this error towards the end. Every time I made sure the

mirrors were cloned just before compiling.

http://pastebin.com/sfnuC80h

Here is how I am compiling llvm.

http://pastebin.com/XqGpYFRs

Any help would be appreciated! Thanks.

  • Hunter

It looks like the clang-tools-extra source files are picking up the
system's clang headers (/usr/include/clang/*) instead of the ones
you've downloaded. I think this is because you have
.../llvm/tools/extra rather than .../lllvm/tools/clang/tools/extra.

Cheers.

Tim.