<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Or can you update the code in svn ? I will re check out it. <br><br>Or where, I mean in which file shall I include unistd.h ?<br><br><br><br><div><font color="#00007f"></font> </div>  <div><font color="#00007f">===========================================</font></div>  <div><br><font color="#00007f">Phone : 82-42-860-1838<br>Fax : 82-42-860-6790</font></div>  <div><font color="#00007f">Cell Phone: 82-10-7599-1981</font></div>  <div><font color="#00007f">===========================================</font></div><br><br>--- On <b>Mon, 10/24/11, Eli Friedman <i><eli.friedman@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Eli Friedman <eli.friedman@gmail.com><br>Subject: Re: [LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared
 in this scope<br>To: "janarbek" <canarbekmatay@yahoo.com><br>Cc: "LLVM Developers Mailing List" <llvmdev@cs.uiuc.edu><br>Date: Monday, October 24, 2011, 5:16 PM<br><br><div class="plainMail">On Mon, Oct 24, 2011 at 5:10 PM, janarbek <<a ymailto="mailto:canarbekmatay@yahoo.com" href="/mc/compose?to=canarbekmatay@yahoo.com">canarbekmatay@yahoo.com</a>> wrote:<br>><br>> Yes,<br>><br>> I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.<br>><br>> janarbek@ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt<br>> patching file lib/Support/Unix/Path.inc<br><br>That means it was applied.<br><br>In that case, I have no idea how you could run into the error you're<br>seeing; unlink should be defined in unistd.h.<br><br>-Eli<br></div></blockquote></td></tr></table>