<div dir="ltr">Hi Muhammed,<div><br></div><div>the header is llvm/Pass.h, capital P.</div><div><br></div><div>From the error there is not much to tell, you cut off the actual linker error message. We'll need a bit more context.</div><div><br></div><div>Cheers,</div><div>Philip</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-18 19:24 GMT+02:00 Muhammad Ehtasham via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/l<wbr>lvm-c-test.dir/build.make: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_125776108382311912m_-1332935204981137389gmail-m_-4682862647853830514gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font size="4" face="times new roman, serif">Best Regards</font></div><span class="HOEnZb"><font color="#888888"><div><font size="4" face="times new roman, serif">Muhammad Ehtasham</font></div></font></span></div></div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>