[LLVMdev] Installations problems CLANG

Nipun Arora nipun2512 at gmail.com
Wed Feb 4 19:18:10 PST 2009


Hi,
I was having a little trouble installing clang.... while llvm installs
properly but clang gives this error on invoking make in Clang

make[2]: Leaving directory
`/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Headers'
make[2]: Entering directory
`/home/na2271/Desktop/llvm-2.3-x/tools/clang/lib/Basic'
llvm[2]: Compiling SourceManager.cpp for Release build
SourceManager.cpp: In member function 'void clang::LineTableInfo::clear()':
SourceManager.cpp:124: error: 'class llvm::StringMap<unsigned int,
llvm::BumpPtrAllocator>' has no member named 'clear'
SourceManager.cpp: In member function 'const clang::SrcMgr::ContentCache*
clang::SourceManager::getOrCreateContentCache(const clang::FileEntry*)':
SourceManager.cpp:367: error: no matching function for call to
'llvm::BumpPtrAllocator::Allocate(int, unsigned int&)'
SourceManager.cpp: In member function 'const clang::SrcMgr::ContentCache*
clang::SourceManager::createMemBufferContentCache(const
llvm::MemoryBuffer*)':
SourceManager.cpp:382: error: no matching function for call to
'llvm::BumpPtrAllocator::Allocate(int, unsigned int&)'
SourceManager.cpp: In function 'void
ComputeLineNumbers(clang::SrcMgr::ContentCache*, llvm::BumpPtrAllocator&)':
SourceManager.cpp:678: error: no matching function for call to
'llvm::BumpPtrAllocator::Allocate(size_t)'


Thanks
Nipun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090204/64ec4d25/attachment.html>


More information about the llvm-dev mailing list