[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope

janarbek canarbekmatay at yahoo.com
Mon Oct 24 16:58:58 PDT 2011


I apply patch, it says patch is applied. Does the directory which I run patch matters ?


   ===========================================  
Phone : 82-42-860-1838
Fax : 82-42-860-6790  Cell Phone: 82-10-7599-1981  ===========================================

--- On Mon, 10/24/11, Eli Friedman <eli.friedman at gmail.com> wrote:

From: Eli Friedman <eli.friedman at gmail.com>
Subject: Re: [LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
To: "janarbek" <canarbekmatay at yahoo.com>
Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Date: Monday, October 24, 2011, 4:47 PM

On Mon, Oct 24, 2011 at 4:41 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I am not sure if I applied correctly.I did following and it seems failed.
>
> janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
> patching file Path.inc
> Hunk #1 FAILED at 51.
> 1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej

Try "patch -p0 < unistd.txt".

-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111024/f6bd04cb/attachment.html>


More information about the llvm-dev mailing list