<div dir="ltr"><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Hi</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">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Ā </div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">"error: llvm/pass.h not found</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><b>#include"llvm/pass.h"</b></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">so i tried installing using the source code and building it my self, <b>make </b>fails at 98% with this error</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><b>collect2: error: ld returned 1 exit status<br>tools/llvm-c-test/CMakeFiles/<wbr>llvm-c-test.dir/build.make:<wbr>525: recipe for target 'bin/llvm-c-test' failed<br>make[2]: *** [bin/llvm-c-test] Error 1<br>CMakeFiles/Makefile2:62792: recipe for target 'tools/llvm-c-test/CMakeFiles/<wbr>llvm-c-test.dir/all' failed<br>make[1]: *** [tools/llvm-c-test/CMakeFiles/<wbr>llvm-c-test.dir/all] Error 2<br>Makefile:149: recipe for target 'all' failed<br>make: *** [all] Error 2<br></b></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">can anyone tell me what i am doing wrong here.</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">Thank you</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div><div class="m_-1332935204981137389gmail-m_-4682862647853830514gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="4" face="times new roman, serif">Best Regards</font></div><div><font size="4" face="times new roman, serif">Muhammad Ehtasham</font></div></div></div></div></div></div>
</div>