<div dir="ltr">Following this how-to:<div><br></div><div><a href="http://llvm.linuxfoundation.org/index.php/Nexus_7">http://llvm.linuxfoundation.org/index.php/Nexus_7</a><br></div><div><br></div><div style>I get errors like this:</div>
<div style><br></div><div style><div>CMake Error at cmake/modules/AddLLVM.cmake:83 (add_executable):</div><div>  add_executable cannot create target &quot;llvm-symbolizer&quot; because another</div><div>  target with the same name already exists.  The existing target is an</div>
<div>  executable created in source directory</div><div>  &quot;/home/rengolin/devel/android/llvmlinux/toolchain/clang/src/llvm/projects/compiler-rt/utils/llvm-symbolizer&quot;.</div><div>  See documentation for policy CMP0002 for more details.</div>
<div>Call Stack (most recent call first):</div><div>  cmake/modules/AddLLVM.cmake:99 (add_llvm_executable)</div><div>  tools/llvm-symbolizer/CMakeLists.txt:11 (add_llvm_tool)</div><div><br></div><div style>Nevertheless, if I try just to compile the file that is failing for you, using your command line arguments, I found that my vexpress directory (that you use as include path) does not have the &#39;src&#39; dir inside.</div>
<div style><br></div><div style>cheers,</div><div style>--renato</div></div></div>