Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] frama-clang build error


  • Subject: [Frama-c-discuss] frama-clang build error
  • From: wlxie2000 at 163.com (谢文龙)
  • Date: Thu, 18 Aug 2016 11:32:34 +0800 (CST)
  • In-reply-to: <mailman.0.1471490791.22129.frama-c-discuss@lists.gforge.inria.fr>
  • References: <mailman.0.1471490791.22129.frama-c-discuss@lists.gforge.inria.fr>

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>