<div>Hi,</div><div><br></div><div>I've seen the the following undefined reference error for a while:</div><div><br></div><div>[ 94%] Built target gtest_main</div><div>Linking CXX executable AST/ASTTests</div><div>../../../lib/libclangAST.so: undefined reference to `clang::Lexer::AdvanceToTokenCharacter(clang::SourceLocation, unsigned int, clang::SourceManager const&, clang::LangOptions const&)'</div>
<div>../../../lib/libclangAST.so: undefined reference to `clang::Lexer::LexTokenInternal(clang::Token&)'</div><div>../../../lib/libclangAST.so: undefined reference to `clang::StringLiteralParser::init(clang::Token const*, unsigned int)'</div>
<div>../../../lib/libclangAST.so: undefined reference to `clang::Lexer::getSourceLocation(char const*, unsigned int) const'</div><div>../../../lib/libclangAST.so: undefined reference to `clang::Lexer::Lexer(clang::SourceLocation, clang::LangOptions const&, char const*, char const*, char const*)'</div>
<div>../../../lib/libclangAST.so: undefined reference to `clang::StringLiteralParser::getOffsetOfStringByte(clang::Token const&, unsigned int) const'</div><div>collect2: ld returned 1 exit status</div><div>make[2]: *** [tools/clang/unittests/AST/ASTTests] Error 1</div>
<div>make[1]: *** [tools/clang/unittests/CMakeFiles/ASTTests.dir/all] Error 2</div><div><br></div><div>LLVM_USED_LIBS in clang/lib/AST/CMakeLists.txt may need to be updated?</div><div><br></div><div>Thanks,</div><div><br>
</div><div>Ryuta</div>