Yest. thanks. I just resolved this error by installing MPFR, MPC and GMP(by the way, these are not listed<div>as prerequisites in the website.). But other errors come:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
/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&)’:<br>
/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>&)’<br>/home/xxx/llvm/include/llvm/Attributes.h:272:22: note: candidate is: static llvm::AttrListPtr llvm::AttrListPtr::get(const llvm::AttributeWithIndex*, unsigned int)<br>
/home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp: In function ‘llvm::FunctionType* ConvertFunctionType(tree_node*, tree_node*, tree_node*, llvm::CallingConv::ID&, llvm::AttrListPtr&)’:<br>/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>&)’<br>
/home/xxx/llvm/include/llvm/Attributes.h:272:22: note: candidate is: static llvm::AttrListPtr llvm::AttrListPtr::get(const llvm::AttributeWithIndex*, unsigned int)<br>make: *** [TypeConversion.o] Error 1</blockquote><div>
<br></div><div>Seems it cannot find the implementation of  llvm::AttrListPtr::get. </div><div>the layout of my configuration is:</div><div>|-- llvm (SRC_DIR)</div><div>|   |--tools</div><div>|   |    |--dragonegg</div><div>
|   |    |</div><div>|   |</div><div>|-- llvm-build (OBJ_DIR)</div><div><br></div>Thanks very much,</div><div>Ryan<br><div class="gmail_quote">On Fri, Jun 22, 2012 at 1:00 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18:<br>
>> fatal error: mpfr.h: No such file or directory<br>
><br>
> I did some search but found few relevant results.<br>
> Any idea what's going on?<br>
</div>Do you have MPFR installed?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></span></blockquote></div><br></div>