<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1459900307485_4379">I just had an old project with llvm1.6.</div><div id="yui_3_16_0_ym19_1_1459900307485_4381"><br></div><div>I tried to compile it on the ubuntu 14..</div><div id="yui_3_16_0_ym19_1_1459900307485_4383"><br></div><div id="yui_3_16_0_ym19_1_1459900307485_4385">First, I copied cfrontend, called ./fixheaders and then did configure.</div><div id="yui_3_16_0_ym19_1_1459900307485_4462"><br></div><div id="yui_3_16_0_ym19_1_1459900307485_4389">Everything worked well. It required g++/bison/flex, which I installed.</div><div id="yui_3_16_0_ym19_1_1459900307485_4387"><br></div><div id="yui_3_16_0_ym19_1_1459900307485_4554">Then I tried to use make ( no gmake). It gave these errors...</div><div id="yui_3_16_0_ym19_1_1459900307485_4391"><br></div><div id="yui_3_16_0_ym19_1_1459900307485_4561">Any wonder..how to fix this.<br></div><div id="yui_3_16_0_ym19_1_1459900307485_4464"><br></div><div class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_ym19_1_1459900307485_4224" class="yahoo_quoted"> <div id="yui_3_16_0_ym19_1_1459900307485_4223" style="font-family: verdana, helvetica, sans-serif; font-size: 16px;"> <div id="yui_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="yui_3_16_0_ym19_1_1459900307485_4496">make[1]: Entering directory `/home/ubuntu/build1.6/lib/System'<br id="yui_3_16_0_ym19_1_1459900307485_4497">llvm[1]: Compiling Path.cpp for Debug build<br id="yui_3_16_0_ym19_1_1459900307485_4498">In file included from /home/ubuntu/build1.6/../llvm/lib/System/Path.cpp:14:0:<br id="yui_3_16_0_ym19_1_1459900307485_4499">/home/ubuntu/build1.6/../llvm/include/llvm/System/Path.h:250:33: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]<br id="yui_3_16_0_ym19_1_1459900307485_4500"> const char* const c_str() const { return path.c_str(); }<br id="yui_3_16_0_ym19_1_1459900307485_4501"> ^<br id="yui_3_16_0_ym19_1_1459900307485_4502">/home/ubuntu/build1.6/../llvm/lib/System/Path.cpp: In function ‘llvm::sys::LLVMFileType llvm::sys::IdentifyFileType(const char*, unsigned int)’:<br id="yui_3_16_0_ym19_1_1459900307485_4503">/home/ubuntu/build1.6/../llvm/lib/System/Path.cpp:52:39: error: ‘memcmp’ was not declared in this scope<br id="yui_3_16_0_ym19_1_1459900307485_4504"> if (memcmp(magic,"!<arch>\n",8) == 0)<br id="yui_3_16_0_ym19_1_1459900307485_4505"> ^<br id="yui_3_16_0_ym19_1_1459900307485_4506">make[1]: *** [/home/ubuntu/build1.6/lib/System/Debug/Path.o] Error 1<br id="yui_3_16_0_ym19_1_1459900307485_4507">make[1]: Leaving directory `/home/ubuntu/build1.6/lib/System'<br id="yui_3_16_0_ym19_1_1459900307485_4508">make: *** [all] Error 1<br id="yui_3_16_0_ym19_1_1459900307485_4509">ubuntu@ubuntu:~/build1.6$ <br id="yui_3_16_0_ym19_1_1459900307485_4510"><div dir="ltr"><br></div> </div> </div> </div></div></body></html>