<div dir="ltr">Hello everyone, <div><br></div><div>I am having trouble trying to build LLVM/Clang.</div><div><br></div><div>Here's the steps I followed:</div><div><br></div><div>mkdir static_analysis</div><div>cd static_analysis</div><div><br></div><div><ul style="padding-left:1.5em;font-family:'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,Helvetica,sans-serif;line-height:19.5px"><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk">http://llvm.org/svn/llvm-project/llvm/trunk</a> llvm</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd llvm/tools</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk">http://llvm.org/svn/llvm-project/cfe/trunk</a> clang</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd ../..</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd llvm/tools/clang/tools</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">svn co <a href="http://llvm.org/svn/llvm-project/clang-tools-extra/trunk">http://llvm.org/svn/llvm-project/clang-tools-extra/trunk</a> extra</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd ../../../..</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd llvm/projects</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">svn co <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk">http://llvm.org/svn/llvm-project/compiler-rt/trunk</a> compiler-rt</tt></li><li style="padding-bottom:0.5em"><tt style="color:rgb(0,0,0)">cd ../..</tt></li></ul><div><font color="#000000" face="monospace"><span style="line-height:19.5px">Now that I am back in top level directory I issued the "make" cmd and this is what I get:</span></font></div></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px"><br></span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">make: *** No targets specified and no makefile found. Stop.</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px"><br></span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">I also tried issuing "make" cmd from llvm directory:</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">$ cd static_analysis/LLVM/</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">$ make</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px"><br></span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">and this is what I get:</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">Makefile:44: Makefile config: No such file or directory</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">Makefile:151: /Makefile.rules: No such file or directory</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:19.5px">make: *** No rule to make target `/Makefile.rules'. Stop.</span></font></div></div>