<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 11:17 PM, Romain Pechayre <span dir="ltr"><<a href="mailto:rpechayr@gmail.com">rpechayr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I got this one fixed by rebuilding llvm Debug (oups). I had an old version.<div>I now seem to have a classical message:</div><div>version GLIBCXX_3.4.14 not found.</div></blockquote><div><br>It seems that your system is missing the standard c++ library. You should be able to install the above with the package manager of your system.<br>
<br>Rajika <br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><div>I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to this problem indicated in README.LLVM does not help ..</div>


<div><br></div><div>Thanks<br clear="all"><font color="#888888">Romain</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <span dir="ltr"><<a href="mailto:rpechayr@gmail.com" target="_blank">rpechayr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Thanks. It worked for a few more compilation lines. <div>I now get the following linker error:</div><div>undefined reference to llvm::MemoryBuffer::getNewMemBuffer(unsigned long, llvm::StringRef)</div><div><br></div><div>


I am surprised since the linker compile line already links with a whole bunch of llvm libraries ...</div>

<div><br></div><div>Thanks for your help<br clear="all"><font color="#888888">Romain </font><div><div></div><div><br>
<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 4:03 PM, Rajika Kumarasiri <span dir="ltr"><<a href="mailto:rajika@wso2.com" target="_blank">rajika@wso2.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<br><br><div class="gmail_quote"><div>On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <span dir="ltr"><<a href="mailto:rpechayr@gmail.com" target="_blank">rpechayr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





Ok. Thank you for your input. New questions :) :<div>- Is the dev package basically the source code of gcc 4.2 ? Isn't it already fully included in llvm-gcc code base ?</div></blockquote></div><div><br>AFAIR, you need to have the set of headers, gcc-dev.( Some one else may provide you with this information)<br>





 </div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>- How should I include bison+flex when I have installed Do I need to put additional flags to configure script ?</div>





</blockquote><div> </div></div><div>If you have those in PATH, that should be picked by the script. <br><font color="#888888"><br>Rajika<br> </font></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><br></div><div>Cheers,</div><div>Romain<div><div></div><div><br>
<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 3:13 PM, Rajika Kumarasiri <span dir="ltr"><<a href="mailto:rajika@wso2.com" target="_blank">rajika@wso2.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







I need to add, also you'll need bison+flex. <br><font color="#888888"><br>Rajika</font><div><div></div><div><br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <span dir="ltr"><<a href="mailto:rajika@wso2.com" target="_blank">rajika@wso2.com</a>></span> wrote:<br>








<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You'll need to install the dev packages for gcc 4.2. <br><br>Rajika<br><br><div class="gmail_quote">








<div><div></div><div>On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <span dir="ltr"><<a href="mailto:rpechayr@gmail.com" target="_blank">rpechayr@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hello all, <div><br></div><div>I am trying to build the latest version of llvm-gcc on a x86_64 architecture running a Linux distribution. Using the READM.LLVM I have managed to run ./configure using appropriate options, but when I try to build using make, it shows the following error message after a few seconds:</div>











<div> </div><div>../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No such file or directory. </div><div><br></div><div>This happens when trying to build gengtype-lex.c.</div><div><br></div><div>I could indeed not find the file gengtype-yacc.h in neither llvm-gcc nor llvm code base. Is there a dependency I am missing ? A problem with the configure flags I've used ?</div>











<div><br></div><div>Thank you very much in advance for your help !</div><div><br></div><font color="#888888"><div>Romain<br>
</div>
</font><br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div></div><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br>