<div dir="ltr"><div><div><div><div>Hello everybody,<br><br></div>I am very new to llvm and I am struggling to install it on my 15.10 Xubuntu with kernel 4.2.0-34-generic #39-Ubuntu SMP x86_64 GNU/Linux.<br><br></div>I essentially intend to use the clang static analyzer, but it seems that I have to build it on top of llvm and clang.<br><br></div>Unfortunately I run into the following problem. <br></div><div><div><div>CXX shared library ../../../lib/libc++.so<br></div><div>at around 52% of the procedure (while building target gtest_main)<br></div><div>followed by a handful of undefined references<br></div><div><div><div><br>the last lines consist of the following messages:<br>collect2: error: ld returned 1 exit status<br>projects/libcxx/lib/CMakeFiles/cxx.dir/build.make:735: recipe for target 'lib/libc++.so.1.0' failed<br>make[2]: *** [lib/libc++.so.1.0] Error 1<br>CMakeFiles/Makefile2:11552: recipe for target 'projects/libcxx/lib/CMakeFiles/cxx.dir/all' failed<br>make[1]: *** [projects/libcxx/lib/CMakeFiles/cxx.dir/all] Error 2<br>Makefile:136: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div><div>Can someone please help me go further?<br><br></div><div><br></div></div></div></div></div></div>