<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Muhammad,<div class=""><br class=""></div><div class="">Isn't it this one: <a href="http://lists.llvm.org/pipermail/llvm-dev/2016-April/098026.html" class="">http://lists.llvm.org/pipermail/llvm-dev/2016-April/098026.html</a><div class=""><br class=""></div><div class="">— </div><div class="">Mehdi</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 7, 2016, at 11:18 AM, Muhammad Umar Janjua via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 16px;" class=""><div class=""><span class=""></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1460052968985_4930">I have not seen my message posted. Can you let me know what's the issue.<br class=""><br class=""></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1460052968985_4929" style="display: block;"> <div id="yui_3_16_0_ym19_1_1460052968985_4928" style="font-family: verdana, helvetica, sans-serif; font-size: 16px;" class=""> <div id="yui_3_16_0_ym19_1_1460052968985_4927" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" class=""> <div id="yui_3_16_0_ym19_1_1460052968985_4926" dir="ltr" class=""> <font id="yui_3_16_0_ym19_1_1460052968985_4995" face="Arial" size="2" class=""> <hr size="1" id="yui_3_16_0_ym19_1_1460052968985_4994" class=""> <b class=""><span style="font-weight:bold;" class="">From:</span></b> Muhammad Umar Janjua <<a href="mailto:umar_janjua@yahoo.com" class="">umar_janjua@yahoo.com</a>><br class=""> <b class=""><span style="font-weight: bold;" class="">To:</span></b> Llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> <br class=""> <b class=""><span style="font-weight: bold;" class="">Sent:</span></b> Tuesday, 5 April 2016, 16:57<br class=""> <b class=""><span style="font-weight: bold;" class="">Subject:</span></b> Building llvm1.6 on ubuntu 14.<br class=""> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1460052968985_4998"><br class=""><div id="yiv8603200311" class=""><div id="yui_3_16_0_ym19_1_1460052968985_4997" class=""><div id="yui_3_16_0_ym19_1_1460052968985_4996" style="background-color: rgb(255, 255, 255); font-family: verdana, helvetica, sans-serif; font-size: 16px;" class=""><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4379" class="">I just had an old project with llvm1.6.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4381" class=""><br clear="none" class=""></div><div class="">I tried to compile it on the ubuntu 14..</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4383" class=""><br clear="none" class=""></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4385" class="">First, I copied cfrontend, called ./fixheaders and then did configure.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4462" class=""><br clear="none" class=""></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4389" class="">Everything worked well. It required g++/bison/flex, which I installed.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4387" class=""><br clear="none" class=""></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4554" class="">Then I tried to use make ( no gmake). It gave these errors...</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4391" class=""><br clear="none" class=""></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4561" class="">Any wonder..how to fix this.<br clear="none" class=""></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4464" class=""><br clear="none" class=""></div><div class="yiv8603200311qtdSeparateBR"><br clear="none" class=""><br clear="none" class=""></div><div class="yiv8603200311yahoo_quoted" id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4224" style="display: block;"> <div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4223" style="font-family:verdana, helvetica, sans-serif;font-size:16px;" class=""> <div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4222" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;" class="">ubuntu@ubuntu:~/build1.6$ make<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4496" clear="none" class="">make[1]: Entering directory `/home/ubuntu/build1.6/lib/System'<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4497" clear="none" class="">llvm[1]: Compiling Path.cpp for Debug build<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4498" clear="none" class="">In file included from /home/ubuntu/build1.6/../llvm/lib/System/Path.cpp:14:0:<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4499" clear="none" class="">/home/ubuntu/build1.6/../llvm/include/llvm/System/Path.h:250:33: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4500" clear="none" class=""> const char* const c_str() const { return path.c_str(); }<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4501" clear="none" class=""> ^<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4502" clear="none" class="">/home/ubuntu/build1.6/../llvm/lib/System/Path.cpp: In function ‘llvm::sys::LLVMFileType llvm::sys::IdentifyFileType(const char*, unsigned int)’:<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4503" clear="none" class="">/home/ubuntu/build1.6/../llvm/lib/System/Path.cpp:52:39: error: ‘memcmp’ was not declared in this scope<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4504" clear="none" class=""> if (memcmp(magic,"!<arch>\n",8) == 0)<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4505" clear="none" class=""> ^<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4506" clear="none" class="">make[1]: *** [/home/ubuntu/build1.6/lib/System/Debug/Path.o] Error 1<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4507" clear="none" class="">make[1]: Leaving directory `/home/ubuntu/build1.6/lib/System'<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4508" clear="none" class="">make: *** [all] Error 1<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4509" clear="none" class="">ubuntu@ubuntu:~/build1.6$ <div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd74175"><br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4510" clear="none" class=""><div id="yui_3_16_0_ym19_1_1460052968985_4999" dir="ltr" class=""><br clear="none" class=""></div> </div></div><div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd11083"> </div></div><div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd78272"> </div></div></div></div></div><br class=""><br class=""></div> </div> </div> </div></div></div>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>