[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
canarbekmatay at yahoo.com
Mon Oct 24 17:54:31 PDT 2011
The patch does inseret unistd.h as below. However, I am still getting exactly same error when I do make.if you have any suggestions please let me know.
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, 5:16 PM
On Mon, Oct 24, 2011 at 5:10 PM, janarbek <canarbekmatay at yahoo.com> wrote:
> I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
> janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
> patching file lib/Support/Unix/Path.inc
That means it was applied.
In that case, I have no idea how you could run into the error you're
seeing; unlink should be defined in unistd.h.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev