[llvm-dev] error in building llvm

marwayusuf@feng.bu.edu.eg via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 11 06:33:11 PDT 2015


Here is another strange error:

/home/marwayusuf/llvm-env/llvm/tools/clang/lib/Basic/VirtualFileSystem.cpp:332:10: error: redefinition of ‘struct llvm::DenseMapInfo<llvm::StringRef>’
   struct DenseMapInfo<StringRef> {
          ^
In file included from /home/marwayusuf/llvm-env/llvm/include/llvm/ADT/DenseMap.h:17:0,
                 from /home/marwayusuf/llvm-env/llvm/tools/clang/lib/Basic/VirtualFileSystem.cpp:13:
/home/marwayusuf/llvm-env/llvm/include/llvm/ADT/DenseMapInfo.h:169:20: error: previous definition of ‘struct llvm::DenseMapInfo<llvm::StringRef>’
 template <> struct DenseMapInfo<StringRef> {


Regards,
Marwa Yusuf
Teaching Assistant - Computer Engineering Department
Faculty of Engineering - Benha University
E-JUST PhD Student
Computer Science & Engineering Dept.

________________________________________
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org>
Sent: Tuesday, August 11, 2015 3:10 PM
To: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] error in building llvm

Hi,
If you don't actually need all these extra projects, you can edit the
CMakeCache.txt in the build directory to disable them.  Look for
LLVM_TOOL_XXX_BUILD and set the corresponding ones to OFF, for example:

LLVM_TOOL_LLDB_BUILD:BOOL=ON   // Set this to OFF to disable LLDB

-Krzysztof



On 8/11/2015 7:46 AM, marwayusuf at feng.bu.edu.eg via llvm-dev wrote:
> Dear All
>
> I've made un update to the llvm to the latest. At configuration, I've
> met some new errors to me, like it needs lldb, lld, dragonegg, llgo and
> so. However, I've checked them and configuration went on.
>
> Now I'm stuck at build stage, specifically at dragonegg. First it could
> not find gmp.h, I've solved this by installing libgmp-dev.
>
> Now, it can't  find auto-host.h.
>
> I couldn't solve this.
>
>
> Regards,
> Marwa Yusuf
> Teaching Assistant - Computer Engineering Department
> Faculty of Engineering - Benha University
> E-JUST PhD Student
> Computer Science & Engineering Dept.
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org         http://llvm.cs.uiuc.edu
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org         http://llvm.cs.uiuc.edu
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list