[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
eli.friedman at gmail.com
Mon Oct 24 17:16:40 PDT 2011
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.
More information about the llvm-dev