--- layout: fc_discuss_archives title: Message 7 from Frama-C-discuss on August 2016 ---
Hi; When I built frama-clang, there were errors during linking make[1]: Entering directory '/home/talos/Downloads/frama-clang' Linking bin/framaCIRGen ./Clang_utils.o: In function `Clang_utils::makeQualifiedName(clang::NamedDecl const&, bool) const': /home/talos/Downloads/frama-clang/Clang_utils.cpp:782: undefined reference to `clang::DeclarationName::getAsString[abi:cxx11]() const' ./Clang_utils.o: In function `Clang_utils::retrieveTypeOfField(clang::Type const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, _term_offset*&, _logic_type*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, clang::ASTContext const*, clang::Sema*, clang::SourceLocation const&, RTTITable const&) const': /home/talos/Downloads/frama-clang/Clang_utils.cpp:2296: undefined reference to `clang::DeclarationName::getAsString[abi:cxx11]() const' ./Clang_utils.o: In function `clang::QualType::getAsString[abi:cxx11](clang::SplitQualType)': /usr/local/include/clang/AST/Type.h:905: undefined reference to `clang::QualType::getAsString[abi:cxx11](clang::Type const*, clang::Qualifiers)' ./Clang_utils.o: In function `clang::NamedDecl::getNameAsString[abi:cxx11]() const': /usr/local/include/clang/AST/Decl.h:184: undefined reference to `clang::DeclarationName::getAsString[abi:cxx11]() const' ./Clang_utils.o: In function `Clang_utils::loc_as_string[abi:cxx11](clang::SourceLocation const&) const': /home/talos/Downloads/frama-clang/Clang_utils.h:723: undefined reference to `clang::SourceLocation::printToString[abi:cxx11](clang::SourceManager const&) const' ./ClangVisitor.o: In function `FramacVisitor::parseFunctionContractComment(AnnotationComment&, _option*&, clang::FunctionDecl const*)': /home/talos/Downloads/frama-clang/ClangVisitor.cpp:5681: undefined reference to `clang::DeclarationNameInfo::getAsString[abi:cxx11]() const' /home/talos/Downloads/frama-clang/ClangVisitor.cpp:5690: undefined reference to `clang::DeclarationNameInfo::getAsString[abi:cxx11]() const' ./ClangVisitor.o: In function `FramacVisitor::insertConstructorPreambleIn(clang::CXXConstructorDecl const&, _list*&, bool*)': /home/talos/Downloads/frama-clang/ClangVisitor.cpp:6286: undefined reference to `clang::DeclarationName::getAsString[abi:cxx11]() const' ./ClangVisitor.o: In function `FramacVisitor::localLexicalVisitNamespaceDecl(clang::NamespaceDecl*)': /home/talos/Downloads/frama-clang/ClangVisitor.cpp:7409: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' ./ClangVisitor.o: In function `FramacVisitor::VisitNamespaceDecl(clang::NamespaceDecl*)': /home/talos/Downloads/frama-clang/ClangVisitor.cpp:7459: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' ./ClangVisitor.o: In function `FramacVisitor::VisitTypedefNameDecl(clang::TypedefNameDecl*)': /home/talos/Downloads/frama-clang/ClangVisitor.cpp:8605: undefined reference to `clang::NamedDecl::getQualifiedNameAsString[abi:cxx11]() const' collect2: error: ld returned 1 exit status Makefile.clang:75: recipe for target 'bin/framaCIRGen' failed make[1]: *** [bin/framaCIRGen] Error 1 make[1]: Leaving directory '/home/talos/Downloads/frama-clang' Makefile:81: recipe for target 'all' failed make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20160818/80f47d41/attachment.html>