<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div><span></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><br></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;"> <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;"> <div id="yui_3_16_0_ym19_1_1460052968985_4926" dir="ltr"> <font id="yui_3_16_0_ym19_1_1460052968985_4995" face="Arial" size="2"> <hr size="1" id="yui_3_16_0_ym19_1_1460052968985_4994"> <b><span style="font-weight:bold;">From:</span></b> Muhammad Umar Janjua <umar_janjua@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Llvm-dev <llvm-dev@lists.llvm.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 5 April 2016, 16:57<br> <b><span style="font-weight: bold;">Subject:</span></b> Building llvm1.6 on ubuntu 14.<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1460052968985_4998"><br><div id="yiv8603200311"><div id="yui_3_16_0_ym19_1_1460052968985_4997"><div id="yui_3_16_0_ym19_1_1460052968985_4996" style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:16px;"><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4379">I just had an old project with llvm1.6.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4381"><br clear="none"></div><div>I tried to compile it on the ubuntu 14..</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4383"><br clear="none"></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4385">First, I copied cfrontend, called ./fixheaders and then did configure.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4462"><br clear="none"></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4389">Everything worked well. It required g++/bison/flex, which I installed.</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4387"><br clear="none"></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4554">Then I tried to use make ( no gmake). It gave these errors...</div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4391"><br clear="none"></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4561">Any wonder..how to fix this.<br clear="none"></div><div id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4464"><br clear="none"></div><div class="yiv8603200311qtdSeparateBR"><br clear="none"><br clear="none"></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;"> <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;">ubuntu@ubuntu:~/build1.6$ make<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4496" clear="none">make[1]: Entering directory `/home/ubuntu/build1.6/lib/System'<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4497" clear="none">llvm[1]: Compiling Path.cpp for Debug build<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4498" clear="none">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">/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"> const char* const c_str() const { return path.c_str(); }<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4501" clear="none"> ^<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4502" clear="none">/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">/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"> if (memcmp(magic,"!<arch>\n",8) == 0)<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4505" clear="none"> ^<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4506" clear="none">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">make[1]: Leaving directory `/home/ubuntu/build1.6/lib/System'<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4508" clear="none">make: *** [all] Error 1<br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4509" clear="none">ubuntu@ubuntu:~/build1.6$ <div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd74175"><br id="yiv8603200311yui_3_16_0_ym19_1_1459900307485_4510" clear="none"><div id="yui_3_16_0_ym19_1_1460052968985_4999" dir="ltr"><br clear="none"></div> </div></div><div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd11083"> </div></div><div class="yiv8603200311yqt8440457022" id="yiv8603200311yqtfd78272"> </div></div></div></div></div><br><br></div> </div> </div> </div></div></body></html>