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

Eli Friedman eli.friedman at gmail.com
Mon Oct 24 16:47:45 PDT 2011


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



More information about the llvm-dev mailing list