Golevka / emacs-clang-complete-async

An emacs plugin to complete C and C++ code using libclang
360 stars 71 forks source link

Make error #1

Closed youyoulee closed 12 years ago

youyoulee commented 12 years ago

First of all: my english is bad, sorry! My environment: mingw32, gcc version 4.7.0, clang 3.1 I try to make, but i got some errors: LINE_MAX wasn't define, so i try to add "#define LINE_MAX 4096", this time i still got errors: C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1bb): undefined reference to llvm::sys::MutexImpl::~MutexImpl()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x212): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x25c): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x4ae): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x4cf): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5d8): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x60c): more undefined references to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' follow C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x61e): undefined reference toclang::SourceManager::getMacroArgExpandedLocation(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x68f): undefined reference to clang::ASTUnit::Save(llvm::StringRef)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x92b): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9e5): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xa84): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb21): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc76): undefined reference toclang::Stmt::getLocStart() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xcfc): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd43): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdad): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdfc): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xeef): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf36): more undefined references toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' follow C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12a5): undefined reference to llvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl<char>&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12b8): undefined reference toclang::DeclarationName::printName(llvm::raw_ostream&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12c0): undefined reference to llvm::raw_svector_ostream::str()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12e4): undefined reference tollvm::raw_svector_ostream::~raw_svector_ostream()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1325): undefined reference to clang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1346): undefined reference toclang::Selector::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1377): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x145d): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_Mdestroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15bc): undefined reference to clang::Stmt::getSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15ee): undefined reference toclang::Stmt::getSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1738): undefined reference to clang::ASTUnit::mapLocationFromPreamble(clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1746): undefined reference toclang::ASTUnit::mapLocationFromPreamble(clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1891): undefined reference to clang::SourceManager::getFileIDSize(clang::FileID) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1a44): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1a60): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1b0d): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1b9c): undefined reference toclang::Lexer::MeasureTokenLength(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1be3): undefined reference toclang::SourceManager::isMacroArgExpansion(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1bf7): undefined reference toclang::SourceManager::getExpansionRange(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1c0c): undefined reference toclang::SourceManager::getSpellingLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1e19): undefined reference toclang::TypeLoc::getBeginLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1e43): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1e80): undefined reference toclang::TypeLoc::getBeginLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1eab): undefined reference tollvm::llvm_unreachable_internal(char const, char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1f96): undefined reference tollvm::DisablePrettyStackTrace' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1f9c): undefined reference tollvm::CrashRecoveryContext::Enable()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1fa8): undefined reference tollvm::sys::MutexImpl::acquire()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1fbd): undefined reference tollvm::sys::MutexImpl::release()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1fc9): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1fe0): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1fe7): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2041): undefined reference tollvm::install_fatal_error_handler(void ()(void, std::basic_string<char, std::char_traits, std::allocator > const&), void)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2046): undefined reference tollvm::llvm_start_multithreaded()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x207b): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2089): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2093): undefined reference tooperator delete(void)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x20c5): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x20ed): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x218a): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x219a): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::assign(std::basic_string<char, std::char_traits, std::allocator > const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x21bd): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const_, std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x21f5): undefined reference toclang::ASTUnit::LoadFromASTFile(std::basic_string<char, std::char_traits, std::allocator > const&, llvm::IntrusiveRefCntPtrclang::DiagnosticsEngine, clang::FileSystemOptions const&, bool, std::pair<std::basic_string<char, std::chartraits, std::allocator >, llvm::PointerUnion<char const, llvm::MemoryBuffer const> >, unsigned int, bool, bool)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2202): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2229): undefined reference toclang::DiagnosticsEngine::~DiagnosticsEngine()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2231): undefined reference to operator delete(void*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x224a): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x228a): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x22b9): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2392): undefined reference to clang::ASTUnit::getOriginalSourceFileName()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x248f): undefined reference toclang::FileManager::getFile(llvm::StringRef, bool, bool)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x24da): undefined reference to clang::HeaderSearch::isFileMultipleIncludeGuarded(clang::FileEntry const*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x26d0): undefined reference toclang::LabelStmt::getName() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x277c): undefined reference to clang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x27a7): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x27e3): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2810): undefined reference toclang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x283b): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x288c): undefined reference toclang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x28b7): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x28fa): undefined reference toclang::LabelStmt::getName() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x29a3): undefined reference to clang::QualType::getAsString(clang::Type const*, clang::Qualifiers)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x29ce): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2a5c): undefined reference to clang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2a87): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2aea): undefined reference to clang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2b16): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::~basic_string()'

:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2b5d): undefined reference to clang::QualType::getAsString(clang::Type const*, clang::Qualifiers)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2b88): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2d78): undefined reference to clang::ASTContext::getTypeDeclTypeSlow(clang::TypeDecl const*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2dec): undefined reference toclang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2e17): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2e76): undefined reference toclang::DeclarationName::getAsString() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x2ea1): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x31a3): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::basic_string(std::basic_string<char, std::char_traits, std::allocator > const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x31bc): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x31d5): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::basic_string(std::basic_string<char, std::char_traits, std::allocator > const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3329): undefined reference to llvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl<char>&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x333c): undefined reference toclang::DeclarationName::printName(llvm::raw_ostream&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3344): undefined reference to clang::FunctionDecl::getPrimaryTemplate() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x339a): undefined reference toclang::FunctionDecl::getNumParams() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x33bc): undefined reference to clang::FunctionDecl::getNumParams() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x33d5): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3408): undefined reference to clang::QualType::getAsStringInternal(clang::Type const*, clang::Qualifiers, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, clang::PrintingPolicy const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3426): undefined reference tollvm::rawostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3436): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x34b8): undefined reference tollvm::rawostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x34c5): undefined reference to clang::FunctionDecl::isVariadic() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x34fb): undefined reference tollvm::raw_svector_ostream::str()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3523): undefined reference to llvm::raw_svector_ostream::~raw_svector_ostream()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3555): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x356b): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3581): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x35c0): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x35fe): undefined reference tollvm::rawostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3631): undefined reference to llvm::raw_ostream::write(char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3684): undefined reference tollvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3697): undefined reference toclang::DeclarationName::printName(llvm::raw_ostream&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x380b): undefined reference tollvm::raw_ostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x383d): undefined reference tollvm::raw_svector_ostream::str()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3865): undefined reference tollvm::raw_svector_ostream::~raw_svector_ostream()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3938): undefined reference tollvm::raw_ostream::write(char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3959): undefined reference tollvm::rawostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3966): undefined reference to clang::FunctionDecl::getNumParams() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x39b2): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x39f1): undefined reference to `clang::QualType::getAsStringInternal(clang::Type const, clang::Qualifiers, std::basic_string<char, std::char_traits, std::allocator >&, clang::PrintingPolicy const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3a0f): undefined reference tollvm::raw_ostream::write(char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3a1f): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3a56): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3aaa): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_repstorage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3ae8): undefined reference to`clang::QualType::getAsStringInternal(clang::Type const, clang::Qualifiers, std::basic_string<char, std::char_traits, std::allocator >&, clang::PrintingPolicy const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3b16): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3b55): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3b7e): undefined reference to llvm::raw_ostream::write(char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3b9f): undefined reference tollvm::rawostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3bc0): undefined reference to llvm::raw_ostream::write(char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3c1c): undefined reference tollvm::raw_ostream::write(char const, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3c69): undefined reference tollvm::raw_svector_ostream::raw_svector_ostream(llvm::SmallVectorImpl<char>&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3c7c): undefined reference toclang::DeclarationName::printName(llvm::rawostream&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3caa): undefined reference to`clang::TemplateSpecializationType::PrintTemplateArgumentList(clang::TemplateArgument const, unsigned int, clang::PrintingPolicy const&, bool)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3ccb): undefined reference to llvm::raw_ostream::write(char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3cdb): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3ced): undefined reference tollvm::raw_svector_ostream::str()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3d15): undefined reference tollvm::raw_svector_ostream::~raw_svector_ostream()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3d83): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3e05): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3e47): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3eaf): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x3ef6): undefined reference tollvm::llvm_unreachable_internal(char const_, char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x501e): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x52c8): undefined reference toclang::Stmt::getLocStart() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5375): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5488): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x54f5): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5562): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x55fc): undefined reference toclang::TypeLoc::getBeginLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x56a9): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5716): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5829): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5b31): undefined reference toclang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5b4f): undefined reference toclang::Selector::getNumArgs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5c04): undefined reference toclang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5c37): undefined reference to`clang::getStandardSelectorLoc(unsigned int, clang::Selector, bool, llvm::ArrayRefclang::ParmVarDecl, clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5fbc): undefined reference to clang::ObjCMessageExpr::getSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x5fe1): undefined reference toclang::Selector::getNumArgs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6089): undefined reference to clang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x60ae): undefined reference toclang::Selector::getNumArgs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x60fd): undefined reference to clang::ObjCMessageExpr::getSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6122): undefined reference toclang::Selector::getNumArgs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6171): undefined reference to clang::ObjCMessageExpr::getSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x61a5): undefined reference toclang::getStandardSelectorLoc(unsigned int, clang::Selector, bool, llvm::ArrayRefclang::Expr, clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x61c0): undefined reference to clang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x61e5): undefined reference toclang::Selector::getNumArgs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6243): undefined reference to clang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6277): undefined reference toclang::getStandardSelectorLoc(unsigned int, clang::Selector, bool, llvm::ArrayRefclang::ParmVarDecl, clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6d9f): undefined reference to clang::UsingDirectiveDecl::getNominatedNamespace()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6e0b): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6e17): undefined reference to clang::VarDecl::getDefinition(clang::ASTContext&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6e34): undefined reference toclang::TagDecl::getDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6e6b): undefined reference to clang::FunctionDecl::getBody(clang::FunctionDecl const*&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6f46): undefined reference toclang::FunctionDecl::getBody(clang::FunctionDecl const&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6fce): undefined reference to clang::ObjCInterfaceDecl::getImplementation() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x6ffe): undefined reference toclang::DeclarationName::getObjCSelector() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7012): undefined reference to clang::ObjCContainerDecl::getMethod(clang::Selector, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7082): undefined reference toclang::ObjCCategoryDecl::getImplementation() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7249): undefined reference to clang::ObjCInterfaceDecl::getImplementation() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x74c7): undefined reference toclang::ObjCCategoryImplDecl::getCategoryDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x78bb): undefined reference to clang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x78d8): undefined reference toclang::SourceManager::getCharacterData(clang::SourceLocation, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x78f5): undefined reference to clang::SourceManager::getCharacterData(clang::SourceLocation, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7912): undefined reference toclang::SourceManager::getSpellingLineNumber(clang::SourceLocation, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x792f): undefined reference to `clang::SourceManager::getSpellingColumnNumber(clang::SourceLocation, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x794c): undefined reference to clang::SourceManager::getSpellingLineNumber(clang::SourceLocation, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7969): undefined reference toclang::SourceManager::getSpellingColumnNumber(clang::SourceLocation, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7ab4): undefined reference to clang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7b18): undefined reference toclang::SourceManager::getBufferData(clang::FileID, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7cb8): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7cd1): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7cec): undefined reference to `clang::SourceManager::getDecomposedSpellingLocSlowCase(clang::SrcMgr::SLocEntry const, unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7d46): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7f11): undefined reference toclang::NamedDecl::getLinkage() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x7fbd): undefined reference to clang::Decl::getAvailability(std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x81a7): undefined reference toclang::Decl::castFromDeclContext(clang::DeclContext const)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x82b2): undefined reference to `clang::Decl::castFromDeclContext(clang::DeclContext const)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8419): undefined reference to operator new[](unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x85f6): undefined reference toclang::CXXMethodDecl::begin_overridden_methods() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8600): undefined reference to clang::CXXMethodDecl::end_overridden_methods() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8766): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8853): undefined reference to clang::ASTUnit::ConcurrencyState::start()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x88ba): undefined reference tollvm::CrashRecoveryContext::~CrashRecoveryContext()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x88c2): undefined reference to clang::ASTUnit::ConcurrencyState::finish()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8a27): undefined reference toclang::getClangFullVersion()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8a56): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x8a92): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x93b0): undefined reference to clang::Stmt::children()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9459): undefined reference toclang::StmtIteratorBase::NextVA()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9474): undefined reference to clang::StmtIteratorBase::GetDeclExpr() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x94c0): undefined reference toclang::StmtIteratorBase::NextDecl(bool)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9556): undefined reference to llvm::llvm_unreachable_internal(char const_, char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x959e): undefined reference toclang::CXXDependentScopeMemberExpr::isImplicitAccess() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x95aa): undefined reference toclang::CXXDependentScopeMemberExpr::isImplicitAccess() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9610): undefined reference toclang::WhileStmt::getConditionVariable() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x963c): undefined reference toclang::SwitchStmt::getConditionVariable() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x978c): undefined reference toclang::IfStmt::getConditionVariable() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x98ae): undefined reference toclang::ForStmt::getConditionVariable() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9b20): undefined reference toclang::UnresolvedMemberExpr::isImplicitAccess() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9b30): undefined reference toclang::UnresolvedMemberExpr::isImplicitAccess() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9e0b): undefined reference toclang::Expr::isImplicitCXXThis() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9e4b): undefined reference toclang::LambdaExpr::getBody() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x9fc4): undefined reference toclang::Stmt::children()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xa093): undefined reference toclang::DesignatedInitExpr::getArrayRangeEnd(clang::DesignatedInitExpr::Designator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xa0a8): undefined reference toclang::DesignatedInitExpr::getArrayRangeStart(clang::DesignatedInitExpr::Designator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xa7bd): undefined reference toclang::DesignatedInitExpr::getArrayIndex(clang::DesignatedInitExpr::Designator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xab37): undefined reference toclang::StmtIteratorBase::GetDeclExpr() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb23c): undefined reference tollvm::SmallVectorBase::grow_pod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb25c): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb2a7): undefined reference tollvm::SmallVectorBase::grow_pod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb4eb): undefined reference tollvm::llvm_unreachableinternal(char const, char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb696): undefined reference to clang::ASTUnit::RealizeTopLevelDeclsFromPreamble()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xb6b9): undefined reference toclang::ASTUnit::RealizeTopLevelDeclsFromPreamble()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xba22): undefined reference to llvm::llvm_unreachable_internal(char const_, char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xbcfc): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xbfc9): undefined reference to llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc044): undefined reference toclang::Decl::getAttrs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc058): undefined reference to clang::Decl::getAttrs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc129): undefined reference toclang::InjectedClassNameType::getDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc4c9): undefined reference to clang::TagType::getDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc4ff): undefined reference toclang::TagType::getDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc5a4): undefined reference to clang::TagType::getDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc814): undefined reference toclang::ASTContext::getObjCIdDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc8c8): undefined reference to clang::ASTContext::getTypeDeclTypeSlow(clang::TypeDecl const*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc8d5): undefined reference toclang::ASTContext::getObjCSelDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc904): undefined reference to clang::ASTContext::getObjCClassDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc98b): undefined reference toclang::TemplateName::getKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xc9ac): undefined reference to llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xcabe): undefined reference toclang::TemplateName::getAsTemplateDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xcd76): undefined reference to llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd1f2): undefined reference tooperator delete' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd230): undefined reference to llvm::APInt::initSlowCase(llvm::APInt const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd634): undefined reference toclang::DeclarationName::getNameKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd655): undefined reference to llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd685): undefined reference toclang::DeclarationName::getNameKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd692): undefined reference to clang::DeclarationName::getNameKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xd69f): undefined reference toclang::DeclarationName::getNameKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdd18): undefined reference to clang::NestedNameSpecifier::getKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdd31): undefined reference toclang::NestedNameSpecifierLoc::getTypeLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdd5d): undefined reference to clang::NestedNameSpecifierLoc::getLocalSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdd69): undefined reference toclang::NestedNameSpecifier::getAsNamespaceAlias() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xdde6): undefined reference to clang::NestedNameSpecifierLoc::getLocalSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xddf2): undefined reference toclang::NestedNameSpecifier::getAsNamespace() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xe0c6): undefined reference to operator delete[](void*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xe102): undefined reference tollvm::APInt::initSlowCase(llvm::APInt const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xe758): undefined reference to llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xeda3): undefined reference toclang::LambdaExpr::explicit_capture_begin() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xedb1): undefined reference to clang::LambdaExpr::explicit_capture_end() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xee51): undefined reference toclang::LambdaExpr::getCallOperator() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf1ee): undefined reference to clang::NestedNameSpecifier::getKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf287): undefined reference toclang::NestedNameSpecifier::getAsNamespaceAlias() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf2e9): undefined reference to clang::NestedNameSpecifier::getAsNamespace() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf3b0): undefined reference toclang::TagType::getDecl() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xf769): undefined reference to clang::ObjCPropertyDecl::findPropertyDecl(clang::DeclContext const*, clang::IdentifierInfo*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0xff6b): undefined reference tollvm::SmallVectorBase::grow_pod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10229): undefined reference to clang::TypeLoc::IgnoreParensImpl(clang::TypeLoc)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10463): undefined reference toclang::DeclContext::decls_begin() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1046f): undefined reference to clang::DeclContext::decls_end() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10740): undefined reference toclang::DeclContext::decls_begin() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1074a): undefined reference to clang::DeclContext::decls_end() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x107b5): undefined reference tollvm::SmallVectorBase::grow_pod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x109a2): undefined reference to clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10a9c): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10b08): undefined reference to llvm::SmallVectorBase::grow_pod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10b2d): undefined reference tollvm::SmallVectorBase::growpod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10dfa): undefined reference to clang::ObjCInterfaceDecl::LoadExternalDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10e24): undefined reference toclang::ObjCInterfaceDecl::LoadExternalDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10e3c): undefined reference to clang::ObjCInterfaceDecl::LoadExternalDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10e58): undefined reference toclang::ObjCInterfaceDecl::LoadExternalDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x10e74): undefined reference to clang::ObjCInterfaceDecl::LoadExternalDefinition() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11169): undefined reference toclang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x111de): undefined reference to clang::Decl::getASTContext() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11643): undefined reference tooperator delete' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11680): undefined reference to llvm::APInt::initSlowCase(llvm::APInt const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x117f6): undefined reference toclang::PreprocessingRecord::getPreprocessedEntitiesInRange(clang::SourceRange)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1194f): undefined reference to clang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1196f): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11a5c): undefined reference to clang::SourceManager::getFileLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11a7c): undefined reference toclang::SourceManager::getFileLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11b81): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11ba0): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11bb9): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11bd4): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11c72): undefined reference toclang::ASTUnit::mapLocationToPreamble(clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11c86): undefined reference toclang::ASTUnit::mapLocationToPreamble(clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11c97): undefined reference toclang::ASTUnit::isInPreambleFileID(clang::SourceLocation)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11cbc): undefined reference toclang::ASTUnit::getEndOfPreambleFileID()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11d8c): undefined reference toclang::ASTUnit::getStartOfMainFileID()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11e27): undefined reference toclang::ASTUnit::findFileRegionDecls(clang::FileID, unsigned int, unsigned int, llvm::SmallVectorImpl<clang::Decl>&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11e3c): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x11ea4): undefined reference toclang::ASTUnit::findFileRegionDecls(clang::FileID, unsigned int, unsigned int, llvm::SmallVectorImpl<clang::Decl>&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1205a): undefined reference toclang::Decl::castFromDeclContext(clang::DeclContext const_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1207c): undefined reference toclang::DeclContext::classof(clang::Decl const_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12216): undefined reference to `clang::Decl::castFromDeclContext(clang::DeclContext const)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12378): undefined reference toclang::SourceManager::getDecomposedExpansionLocSlowCase(clang::SrcMgr::SLocEntry const_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x123f0): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12410): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12434): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12444): undefined reference to clang::DeclContext::classof(clang::Decl const_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12454): undefined reference toclang::Decl::castToDeclContext(clang::Decl const)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x124c5): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1277c): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x127cc): undefined reference toclang::SourceManager::getFileIDSize(clang::FileID) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12860): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12a08): undefined reference toclang::SourceManager::getFileLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12a23): undefined reference toclang::SourceManager::getFileLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12b32): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12b50): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12b70): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12b90): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12ba9): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12bc2): more undefined references toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' follow C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12c65): undefined reference to clang::Lexer::GetBeginningOfToken(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12cf9): undefined reference toclang::SourceManager::isMacroArgExpansion(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12dfb): undefined reference to operator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x12e90): undefined reference toclang::ASTUnit::ConcurrencyState::start()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x132f7): undefined reference toclang::ASTUnit::ConcurrencyState::finish()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x135d4): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13668): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1381c): undefined reference tooperator delete(void)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13b1b): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13b6a): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13bf8): undefined reference to `clang::SourceManager::getBufferData(clang::FileID, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13c8c): undefined reference toclang::Lexer::Lexer(clang::SourceLocation, clang::LangOptions const&, char const_, char const_, char const_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x13d22): undefined reference toclang::Lexer::LexTokenInternal(clang::Token&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14094): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14103): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1411c): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14135): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14206): undefined reference to clang::Lexer::LexTokenInternal(clang::Token&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14257): undefined reference tollvm::SmallVectorBase::growpod(unsigned int, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x143b3): undefined reference to operator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14505): undefined reference tooperator delete(void)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14718): undefined reference to operator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14860): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14bf9): undefined reference to `clang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14c12): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x14d6c): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15011): undefined reference to clang::DeclarationName::getNameKind() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1533d): undefined reference toclang::NestedNameSpecifierLoc::getSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x154d6): undefined reference to clang::NestedNameSpecifierLoc::getSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x155f2): undefined reference toclang::NestedNameSpecifierLoc::getSourceRange() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15836): undefined reference to clang::ASTUnit::ConcurrencyState::start()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15842): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1585d): undefined reference to llvm::CrashRecoveryContext::GetCurrent()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1587b): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1589b): undefined reference to llvm::CrashRecoveryContext::registerCleanup(llvm::CrashRecoveryContextCleanup*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15915): undefined reference tollvm::MemoryBuffer::getMemBufferCopy(llvm::StringRef, llvm::StringRef)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15935): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15972): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::basic_string(std::basic_string<char, std::char_traits, std::allocator > const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1598f): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x159d0): undefined reference toclang::ASTUnit::Reparse(std::pair<std::basic_string<char, std::chartraits, std::allocator >, llvm::PointerUnion<char const, llvm::MemoryBuffer const> >, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x159fa): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15a15): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15a1d): undefined reference to operator delete(void*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15a29): undefined reference toclang::ASTUnit::ConcurrencyState::finish()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15a6b): undefined reference to llvm::CrashRecoveryContext::unregisterCleanup(llvm::CrashRecoveryContextCleanup*)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15aae): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15afa): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15bc5): undefined reference toclang::ASTUnit::ConcurrencyState::start()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15c73): undefined reference to clang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15d17): undefined reference toclang::SourceManager::getFileIDSlow(unsigned int) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15db6): undefined reference to clang::ASTUnit::ConcurrencyState::finish()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15df9): undefined reference toclang::ASTUnit::ConcurrencyState::finish()' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15f2b): undefined reference to clang::SourceManager::getBufferData(clang::FileID, bool*) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x15fc9): undefined reference toclang::Lexer::Lexer(clang::SourceLocation, clang::LangOptions const&, char const, char const, char const_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x160aa): undefined reference to clang::Lexer::LexTokenInternal(clang::Token&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x163b2): undefined reference tovtable for clang::Lexer' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x163bb): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x163d1): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x163e7): undefined reference to std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16406): undefined reference tovtable for clang::PreprocessorLexer' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16430): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16450): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16470): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16490): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16526): undefined reference to clang::Preprocessor::LookUpIdentifierInfo(clang::Token&) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x165ad): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x165c8): undefined reference to clang::SourceManager::loadSLocEntry(unsigned int, bool_) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x165e3): undefined reference toclang::SourceManager::loadSLocEntry(unsigned int, bool) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16689): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x166bb): undefined reference tostd::basic_string<char, std::char_traits, std::allocator >::_Rep::_M_destroy(std::allocator const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x166ed): undefined reference tostd::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy(std::allocator<char> const&)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16890): undefined reference toclang::Decl::getAttrs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x169da): undefined reference tollvm::llvm_unreachable_internal(char const_, char const_, unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16e11): undefined reference toclang::Stmt::getLocStart() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16e30): undefined reference toclang::Stmt::getLocStart() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16e59): undefined reference toclang::Stmt::getLocStart() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16f06): undefined reference toclang::TypeLoc::getBeginLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16f32): undefined reference toclang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation, clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x16f56): undefined reference toclang::SourceManager::getSpellingLocSlowCase(clang::SourceLocation) const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17016): undefined reference toclang::Decl::getAttrs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1704f): undefined reference toclang::Decl::getAttrs() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x170f1): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17247): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17367): undefined reference toclang::TypeLoc::getBeginLoc() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17436): undefined reference tooperator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17589): undefined reference tooperator delete(void_)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x176c6): undefined reference to operator new(unsigned int)' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x176f1): undefined reference tollvm::BumpPtrAllocator::getTotalMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17736): undefined reference to llvm::BumpPtrAllocator::getTotalMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17778): undefined reference toclang::SelectorTable::getTotalMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x177b4): undefined reference to clang::ASTContext::getSideTableAllocatedMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x1781e): undefined reference tollvm::BumpPtrAllocator::getTotalMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x17863): undefined reference to llvm::BumpPtrAllocator::getTotalMemory() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.cpp:(.text+0x178a6): undefined reference toclang::SourceManager::getMemoryBufferSizes() const' C:/MinGW/lib/libclang.a(CIndex.o):CIndex.c

Golevka commented 12 years ago

Sorry, it was not tested on Windows/MinGW, I'm travelling now and suffering from poor internet connection, maybe I'll fix that someday.

youyoulee commented 12 years ago

thank you!

youyoulee commented 12 years ago

Recently, i try it on kubuntu_x64, but it failed, can you fix it?

At 2012-07-13 17:57:26,Golevka reply@reply.github.com wrote:

Sorry, it was not tested on Windows/MinGW and I'm travelling now and suffering from poor internet connection, maybe I'll fix that someday.


Reply to this email directly or view it on GitHub: https://github.com/Golevka/emacs-clang-complete-async/issues/1#issuecomment-6959082

Golevka commented 12 years ago

bodil forked this repo and committed a patch to make it compile on plain Ubuntu 12.04, maybe this will help: https://github.com/bodil/emacs-clang-complete-async/commit/8cc9113bcbb9df02c6a80702ba325bd3f82caea6.

LLVM/Clang setup on different sites varies so the default makefile might not work on some configurations, there's another issue about problems compiling it on gentoo linux, maybe here's some way out there to make it work everywhere and I just haven't found it.