[llvm-dev] LLVM Installation failing

Muhammad Ehtasham via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 18 10:24:06 PDT 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171018/d5b7901d/attachment.html>


More information about the llvm-dev mailing list