<div dir="ltr"><div>Hello, I've almost compiled Clang for ARM, but i've an error</div><div>in the end:</div><div><br></div>[ 84%] Built target clangRewriteFrontend<br>[ 86%] Built target clangARCMigrate<br>[ 86%] Built target ClangSACheckers<br>
[ 89%] Built target clangStaticAnalyzerCore<br>[ 94%] Built target clangStaticAnalyzerCheckers<br>
[ 95%] Built target clangStaticAnalyzerFrontend<br>[ 95%] Built target clangFrontendTool<br>[ 95%] Built target clangTooling<br>[ 95%] Built target clangFormat<br>[ 97%] Built target libclang<br>[ 98%] Built target libclang_static<br>
Linking CXX executable ../../../../bin/c-index-test<br>/home/asmirnov/arm-toolchain-clang33/bin/arm-linux-androideabi-ld: ../../../../lib/libclang.so.3.3: error: undefined reference to 'dladdr'<br>clang33: error: linker command failed with exit code 1 (use -v to see invocation)<br>
<br>I've found similar question with solution:<br><a href="http://stackoverflow.com/questions/12993460/why-am-i-getting-undefined-reference-to-dladdr-even-with-ldl-for-this-simpl" target="_blank">http://stackoverflow.com/questions/12993460/why-am-i-getting-undefined-reference-to-dladdr-even-with-ldl-for-this-simpl</a><div>
<br></div><div>So i wonder what should i do and is it bug or my dev env issue?</div><div><br></div><div>Anton.<br>
<br></div></div>