[LLVMdev] Installations problems CLANG
Ted Kremenek
kremenek at apple.com
Wed Feb 4 19:27:27 PST 2009
Hi Nipun,
You need to use top-of-tree LLVM (LLVM from SVN). There is no
revision of Clang right now that is tied to a specific LLVM release.
Ted
On Feb 4, 2009, at 7:18 PM, Nipun Arora wrote:
> 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
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list