[llvm-dev] LLVM Installation failing

Philip Pfaffe via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 19 12:55:05 PDT 2017


Hi Muhammed,

the header is llvm/Pass.h, capital P.

>From the error there is not much to tell, you cut off the actual linker
error message. We'll need a bit more context.

Cheers,
Philip

2017-10-18 19:24 GMT+02:00 Muhammad Ehtasham via llvm-dev <
llvm-dev at lists.llvm.org>:

> Hi
>
> I am trying to install llvm and clang on ubuntu 16.04, I tried installing
> them using apt command but while running the pass it gives me error
> "error: llvm/pass.h not found
> *#include"llvm/pass.h"*
> so i tried installing using the source code and building it my self, *make
> *fails at 98% with this error
>
>
>
>
>
>
>
>
> *collect2: error: ld returned 1 exit
> statustools/llvm-c-test/CMakeFiles/llvm-c-test.dir/build.make:525: recipe
> for target 'bin/llvm-c-test' failedmake[2]: *** [bin/llvm-c-test] Error
> 1CMakeFiles/Makefile2:62792: recipe for target
> 'tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/all' failedmake[1]: ***
> [tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/all] Error 2Makefile:149:
> recipe for target 'all' failedmake: *** [all] Error 2*
>
> can anyone tell me what i am doing wrong here.
>
> Thank you
>
> Best Regards
> Muhammad Ehtasham
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171019/23da24d6/attachment.html>


More information about the llvm-dev mailing list