Hi,<div><br></div><div>I was having a little trouble installing clang.... while llvm installs properly but clang gives this error on invoking make in Clang</div><div><br></div><div><div>make[2]: Leaving directory `/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Headers'</div>
<div>make[2]: Entering directory `/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Basic'</div><div>llvm[2]: Compiling SourceManager.cpp for Release build </div><div>SourceManager.cpp: In member function 'void clang::LineTableInfo::clear()':</div>
<div>SourceManager.cpp:124: error: 'class llvm::StringMap<unsigned int, llvm::BumpPtrAllocator>' has no member named 'clear'</div><div>SourceManager.cpp: In member function 'const clang::SrcMgr::ContentCache* clang::SourceManager::getOrCreateContentCache(const clang::FileEntry*)':</div>
<div>SourceManager.cpp:367: error: no matching function for call to 'llvm::BumpPtrAllocator::Allocate(int, unsigned int&)'</div><div>SourceManager.cpp: In member function 'const clang::SrcMgr::ContentCache* clang::SourceManager::createMemBufferContentCache(const llvm::MemoryBuffer*)':</div>
<div>SourceManager.cpp:382: error: no matching function for call to 'llvm::BumpPtrAllocator::Allocate(int, unsigned int&)'</div><div>SourceManager.cpp: In function 'void ComputeLineNumbers(clang::SrcMgr::ContentCache*, llvm::BumpPtrAllocator&)':</div>
<div>SourceManager.cpp:678: error: no matching function for call to 'llvm::BumpPtrAllocator::Allocate(size_t)'</div><div><br></div><div><br></div><div>Thanks</div><div>Nipun</div></div>