[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
Duncan Sands
baldrick at free.fr
Fri Jun 22 23:59:38 PDT 2012
Hi, this means that your dragonegg and LLVM versions are not in sync.
Ciao, Duncan.
On 22/06/12 19:57, ryan wrote:
> Yest. thanks. I just resolved this error by installing MPFR, MPC and GMP(by the
> way, these are not listed
> as prerequisites in the website.). But other errors come:
>
> /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp: In function
> ‘llvm::FunctionType* ConvertArgListToFnType(tree_node*,
> llvm::ArrayRef<tree_node*>, tree_node*, bool, llvm::CallingConv::ID&,
> llvm::AttrListPtr&)’:
> /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp:731:31: error: no
> matching function for call to
> ‘llvm::AttrListPtr::get(llvm::SmallVector<llvm::AttributeWithIndex, 8u>&)’
> /home/xxx/llvm/include/llvm/Attributes.h:272:22: note: candidate is: static
> llvm::AttrListPtr llvm::AttrListPtr::get(const llvm::AttributeWithIndex*,
> unsigned int)
> /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp: In function
> ‘llvm::FunctionType* ConvertFunctionType(tree_node*, tree_node*, tree_node*,
> llvm::CallingConv::ID&, llvm::AttrListPtr&)’:
> /home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp:906:31: error: no
> matching function for call to
> ‘llvm::AttrListPtr::get(llvm::SmallVector<llvm::AttributeWithIndex, 8u>&)’
> /home/xxx/llvm/include/llvm/Attributes.h:272:22: note: candidate is: static
> llvm::AttrListPtr llvm::AttrListPtr::get(const llvm::AttributeWithIndex*,
> unsigned int)
> make: *** [TypeConversion.o] Error 1
>
>
> Seems it cannot find the implementation of llvm::AttrListPtr::get.
> the layout of my configuration is:
> |-- llvm (SRC_DIR)
> | |--tools
> | | |--dragonegg
> | | |
> | |
> |-- llvm-build (OBJ_DIR)
>
> Thanks very much,
> Ryan
> On Fri, Jun 22, 2012 at 1:00 AM, Anton Korobeynikov <anton at korobeynikov.info
> <mailto:anton at korobeynikov.info>> wrote:
>
> >>
> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18:
> >> fatal error: mpfr.h: No such file or directory
> >
> > I did some search but found few relevant results.
> > Any idea what's going on?
> Do you have MPFR installed?
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
>
>
>
> _______________________________________________
> 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